Skip to content

Commit 57c33d8

Browse files
committed
feat: add cook page template
1 parent 533ba77 commit 57c33d8

21 files changed

Lines changed: 423 additions & 26 deletions

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ Built with React, Vite, TailwindCSS, and ShadcnUI.
44

55
Routing: react-router-dom@7
66
Icons: lucide-react & react-icons
7+
8+
TODO: need responsive design for mobile - cook page
1.79 MB
Loading
1.42 MB
Loading
1.87 MB
Loading
1.86 MB
Loading
1.21 MB
Loading
1.69 MB
Loading
1.87 MB
Loading

src/components/NameCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function NameCard({
1010
description,
1111
}: NameCardProps) {
1212
return (
13-
<div className="flex flex-col items-start gap-2">
13+
<div className="flex flex-col items-start gap-2 text-left">
1414
<h1 className="text-5xl font-bold">{header}</h1>
1515
{subHeader && <h2 className="text-xl font-semibold">{subHeader}</h2>}
1616
{description && (

src/components/PageLayout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default function PageLayout({
2424
{true && (
2525
<div
2626
className="fixed max-w-screen-xl mx-auto w-full
27-
bg-background z-10 h-10 md:h-20 pr-[232px]
27+
bg-background z-10 h-12 md:h-20 pr-8 md:pr-[232px]
2828
flex flex-row justify-end"
2929
>
3030
<PageNavigator selectedPage={selectedPage} />
@@ -34,7 +34,7 @@ export default function PageLayout({
3434
<AnimatePresence mode="wait">
3535
<motion.aside
3636
className="md:fixed md:top-0 w-full md:w-1/5 md:h-screen
37-
py-10 md:py-20
37+
py-10 md:py-20 mt-10 md:mt-0
3838
flex flex-row md:flex-col px-8 md:px-0 justify-between"
3939
initial={{ opacity: 0, x: -25 }} // Start invisible and slightly left
4040
animate={{ opacity: 1, x: 0 }} // Fade in and slide to position

0 commit comments

Comments
 (0)