Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/layouts/firstdate/StaffWithNavbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const { title, description } = Astro.props;
</head>
<body class="min-h-screen min-w-screen bg-slate-500">
<div
class="mx-auto flex min-h-screen max-w-[440px] flex-col bg-[url(/firstdate/main-bg.png)] bg-cover bg-center bg-no-repeat text-white"
class="mx-auto flex min-h-screen max-w-[440px] flex-col bg-[url(/images/background/firstdate/bg-firstdate-landing.webp)] bg-cover bg-center bg-no-repeat text-white"
>
<NavbarStaff />
<main class="flex-grow px-3">
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/firstdate/WithNavbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const { title, description } = Astro.props;
</head>
<body class="min-h-screen min-w-screen bg-slate-500">
<div
class="mx-auto flex min-h-screen max-w-[440px] flex-col bg-[url(/firstdate/main-bg.png)] bg-cover bg-center bg-no-repeat text-white"
class="mx-auto flex min-h-screen max-w-[440px] flex-col bg-[url(/images/background/firstdate/bg-firstdate-main.webp)] bg-cover bg-center bg-no-repeat text-white"
>
<Navbar />
<main class="flex-grow px-3">
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/firstdate/WithoutNavbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const { title, description } = Astro.props;
</head>
<body class="min-h-screen min-w-screen bg-slate-500">
<div
class="mx-auto flex min-h-screen max-w-[440px] flex-col bg-[url(/firstdate/main-bg.png)] bg-cover bg-center bg-no-repeat text-white"
class="mx-auto flex min-h-screen max-w-[440px] flex-col bg-[url(/images/background/firstdate/bg-firstdate-main.webp)] bg-cover bg-center bg-no-repeat text-white"
>
<main class="flex-grow px-3">
<slot />
Expand Down
23 changes: 14 additions & 9 deletions src/pages/staff/home/index.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
import ButtonFd from "@/components/common/ButtonFd.astro";
import StaffWithNavbar from "@/layouts/firstdate/StaffWithNavbar.astro";
---

Expand All @@ -23,19 +24,23 @@ import StaffWithNavbar from "@/layouts/firstdate/StaffWithNavbar.astro";
>
</div>

<div class="flex flex-col items-center">
<button
class="mb-4 w-full max-w-sm rounded-md bg-white px-10 py-3 text-xl font-medium text-black transition duration-200"
onclick="window.location.href='/staff/event'"
<div class="flex flex-col items-center gap-8">
<ButtonFd
variant="fill"
color="white"
href="/staff/event/"
class="w-full"
>
ลงทะเบียนน้องเข้างาน
</button>
<button
class="mb-4 w-full max-w-sm rounded-md bg-white px-10 py-3 text-xl font-medium text-black transition duration-200"
onclick="window.location.href='/staff/profile'"
</ButtonFd>
<ButtonFd
variant="fill"
color="white"
href="/staff/profile/"
class="w-full"
>
หน้าโปรไฟล์
</button>
</ButtonFd>
</div>
</div>
</div>
Expand Down
Loading