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
Binary file added public/linkedInIcon.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Roboto } from "next/font/google";
import { ReactQueryClientProvider } from "@/utils/react-query";
import { AuthProvider } from "@/contexts/AuthContext";
import NavBar from "@/components/NavBar";
import Footer from "@/components/Footer";

const roboto = Roboto({
subsets: ["latin"],
Expand All @@ -26,6 +27,7 @@ export default function RootLayout({ children }: LayoutProps) {
<AuthProvider>
<NavBar />
<ReactQueryClientProvider>{children}</ReactQueryClientProvider>
<Footer />
</AuthProvider>
</body>
</html>
Expand Down
28 changes: 28 additions & 0 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import Link from "next/link";
import Image from "next/image";
import chefHatIcon from "@/public/chefHatIcon.webp";
import linkedInIcon from "@/public/linkedInIcon.webp";

const Footer = () => {
return (
<div className="flow-row bg-cookcraft-white border-cookcraft-olive flex items-center justify-between border-t-3">
<div className="text-cookcraft-olive flex items-center p-5 text-lg">
<Image src={chefHatIcon} alt="Chef Hat Icon" className="mr-4" />
2025 CookCraft ©
</div>

<div>
<Link href="https://linktr.ee/yubinzhen" target="_blank">
<Image
src={linkedInIcon}
alt="LinkedIn Icon"
width={60}
className="mr-3"
/>
</Link>
</div>
</div>
);
};

export default Footer;
24 changes: 24 additions & 0 deletions src/data/RecipeList.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
export interface recipes {
name: string;
ingrediants: string;
}

const recipes: recipes[] = [
{
name: "Chicken Bowl",
ingrediants:
"- 8oz Ground Chicken \n- 4oz Lettuce \n- 1tbsp Garlic Powder \n- ...",
},
{
name: "Chicken Bowl",
ingrediants:
"- 8oz Ground Chicken \n- 4oz Lettuce \n- 1tbsp Garlic Powder \n- ...",
},
{
name: "Chicken Bowl",
ingrediants:
"- 8oz Ground Chicken \n- 4oz Lettuce \n- 1tbsp Garlic Powder \n- ...",
},
];

export default recipes;
Loading