+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/routes/web.php b/routes/web.php
index 9b8bc47..6ffbe38 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -8,6 +8,7 @@ use Toby\Infrastructure\Http\Controllers\HolidayController;
use Toby\Infrastructure\Http\Controllers\LogoutController;
use Toby\Infrastructure\Http\Controllers\SelectYearPeriodController;
use Toby\Infrastructure\Http\Controllers\UserController;
+use Toby\Infrastructure\Http\Controllers\VacationCalendarController;
use Toby\Infrastructure\Http\Controllers\VacationLimitController;
use Toby\Infrastructure\Http\Controllers\VacationRequestController;
@@ -23,7 +24,8 @@ Route::middleware("auth")->group(function (): void {
Route::get("/vacation-limits", [VacationLimitController::class, "edit"])
->name("vacation.limits");
- Route::get("/calendar", [HolidayController::class,"showCalendar"]);
+ Route::get("/vacation-calendar", [VacationCalendarController::class, "index"])
+ ->name("vacation.calendar");
Route::get("/vacation-limits", [VacationLimitController::class, "edit"])->name("vacation.limits");
Route::put("/vacation-limits", [VacationLimitController::class, "update"]);
diff --git a/tailwind.config.js b/tailwind.config.js
index 99b5aeb..3129755 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -1,37 +1,34 @@
-const defaultTheme = require('tailwindcss/defaultTheme');
+const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
- content: [
- './resources/**/*.vue',
- ],
- theme: {
- extend: {
- fontFamily: {
- sans: ['Inter var', ...defaultTheme.fontFamily.sans],
- },
- colors: {
- 'blumilk': {
- '25': '#F4F8FD',
- '50': '#D5DFEE',
- '100': '#C7D4E9',
- '200': '#AABDDD',
- '300': '#8CA7D1',
- '400': '#6F90C6',
- '500': '#527ABA',
- '600': '#3C5F97',
- '700': '#2C466F',
- '800': '#1C2D47',
- '900': '#0C141F'
- },
- },
- gridTemplateColumns: {
- '38': 'repeat(38, minmax(0, 1fr))',
- }
+ content: [
+ './resources/**/*.vue',
+ ],
+ theme: {
+ extend: {
+ fontFamily: {
+ sans: ['Inter var', ...defaultTheme.fontFamily.sans],
+ },
+ colors: {
+ 'blumilk': {
+ '25': '#F4F8FD',
+ '50': '#D5DFEE',
+ '100': '#C7D4E9',
+ '200': '#AABDDD',
+ '300': '#8CA7D1',
+ '400': '#6F90C6',
+ '500': '#527ABA',
+ '600': '#3C5F97',
+ '700': '#2C466F',
+ '800': '#1C2D47',
+ '900': '#0C141F',
},
+ },
},
- plugins: [
- require('@tailwindcss/forms'),
- require('@tailwindcss/typography'),
- require('@tailwindcss/line-clamp')
- ],
-};
+ },
+ plugins: [
+ require('@tailwindcss/forms'),
+ require('@tailwindcss/typography'),
+ require('@tailwindcss/line-clamp'),
+ ],
+}