-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sun/fdr-37-emegency-contact
- Loading branch information
Showing
19 changed files
with
5,496 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import Image from 'next/image'; | ||
import Border from '@/components/Border'; | ||
import Back_To_Menu from '@/components/comingsoon/back_to_menu'; | ||
import Welcome from '@/components/Welcome'; | ||
import comingsoon from '../../../public/comingsoon.svg'; | ||
|
||
export default function Home() { | ||
return ( | ||
<main className="w-full h-screen flex justify-center items-center flex-col"> | ||
<Border | ||
variant="transparent" | ||
className="flex flex-col" | ||
> | ||
{' '} | ||
<Welcome /> | ||
<h1 className="text-2xl text-center font-semibold text-project-light-gray mb-7"> | ||
รับเพื่อนก้าวใหม่ 2024 | ||
</h1> | ||
<Image | ||
src={comingsoon} | ||
alt="Coming Soon" | ||
className="w-64 h-14 mb-6" | ||
/> | ||
<h1 className="text-xl text-center font-semibold text-project-light-gray mb-10"> | ||
พร้อมให้ลงทะเบียน | ||
<br /> | ||
ในวันที่ 18 กรกฎาคม 2567 | ||
</h1> | ||
<Back_To_Menu /> | ||
</Border> | ||
</main> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import React from 'react'; | ||
import { cn } from '../lib/utils'; | ||
|
||
interface WelcomeProps { | ||
containerClassName?: string; // Optional string prop | ||
welcomeClassName?: string; | ||
cuClassName?: string; | ||
} | ||
|
||
export default function Welcome({ | ||
containerClassName, | ||
welcomeClassName, | ||
cuClassName, | ||
}: WelcomeProps) { | ||
return ( | ||
<div | ||
className={cn( | ||
'text-center font-season italic mt-8 mb-28', | ||
containerClassName | ||
)} | ||
> | ||
<h1 className={cn('text-4xl mb-1', welcomeClassName)}>Welcome,</h1> | ||
<h1 | ||
className={cn( | ||
'text-3xl bg-gradient-to-t bg-clip-text text-transparent from-project-fuchsia from-30% via-80% to-95% to-project-cream', | ||
cuClassName | ||
)} | ||
> | ||
CU108 | ||
</h1> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
import Link from 'next/link'; | ||
export default function Back_To_Menu() { | ||
return ( | ||
<div className="flex text-center justify-center "> | ||
<Link | ||
href="/" | ||
className="bg-project-fuchsia text-xl text-white py-2 px-2 w-60 h-12 rounded-md" | ||
> | ||
กลับสู่หน้าหลัก | ||
</Link> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { ClassValue, clsx } from 'clsx'; | ||
import { twMerge } from 'tailwind-merge'; | ||
|
||
export function cn(...inputs: ClassValue[]) { | ||
return twMerge(clsx(inputs)); | ||
} |