-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from mst-mkt/feat/top-page_#23
feat: add top page
- Loading branch information
Showing
10 changed files
with
440 additions
and
36 deletions.
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
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
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
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
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
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
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { IconBrandGithubFilled } from '@tabler/icons-react' | ||
import { Link, createFileRoute } from '@tanstack/react-router' | ||
import { IllustBreakfast } from '../components/illust/Breakfast' | ||
|
||
export const Route = createFileRoute('/')({ | ||
component: () => <Home />, | ||
}) | ||
|
||
const Home = () => ( | ||
<> | ||
<div className="flex h-screen flex-col items-center justify-center text-center text-black"> | ||
<div className="animate-fadeIn text-center"> | ||
<h1 className="animate-slideInDown font-bold text-5xl text-gray-900">ChefCam.</h1> | ||
<p className="mt-4 animate-fadeIn text-gray-700 text-lg delay-500"> | ||
毎日レシピに悩む、あなたへ | ||
</p> | ||
</div> | ||
<IllustBreakfast height={400} width={450} className="max-h-[90vw] max-w-[90vw]" /> | ||
<Link | ||
to="/upload" | ||
className="hover:-translate-y-1 py- mb-5 transform animate-fadeIn rounded-full bg-[#6c8] px-8 py-3 text-lg text-white shadow-lg transition hover:bg-[#5b7] " | ||
> | ||
始める | ||
</Link> | ||
</div> | ||
<a | ||
href="https://github.com/mst-mkt/monthly-vol7" | ||
className="absolute right-4 bottom-4 w-fit rounded-md p-2 transition-colors hover:bg-gray-200" | ||
> | ||
<IconBrandGithubFilled size={20} /> | ||
</a> | ||
</> | ||
) |
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