diff --git a/app/recipes/[id]/page.tsx b/app/recipes/[id]/page.tsx index d4818c2..10752bb 100644 --- a/app/recipes/[id]/page.tsx +++ b/app/recipes/[id]/page.tsx @@ -2,6 +2,7 @@ import { useState, useEffect } from "react"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; +import { Navbar } from "@/components/Navbar"; import { Badge } from "@/components/ui/badge"; import { Table, @@ -11,6 +12,7 @@ import { TableHeader, TableRow, } from "@/components/ui/table"; +import { Logo } from "@/components/Logo"; export default function RecipePage({ params }: { params: { id: string } }) { const [recipe, setRecipe] = useState(null); @@ -54,13 +56,17 @@ export default function RecipePage({ params }: { params: { id: string } }) { if (!recipe) { return (
-

Recipe not found

+
+ +

Recipe not found

+
); } return ( -
+
+ {recipe.name} diff --git a/app/recipes/page.tsx b/app/recipes/page.tsx index a52eaed..9a42545 100644 --- a/app/recipes/page.tsx +++ b/app/recipes/page.tsx @@ -1,6 +1,7 @@ import { RecipesList } from "@/components/RecipesList"; import connectDB from "@/lib/connectToDatabase"; import Recipe, { RecipeType } from "@/models/Recipe"; +import { Navbar } from "@/components/Navbar"; type RecipesPageProps = { recipes: RecipeType[]; @@ -13,8 +14,11 @@ const RecipesPage = async () => { .lean(); return ( -
-

Recipes List

+
+ +

+ Recipes List +

); diff --git a/app/user/signin/page.tsx b/app/user/signin/page.tsx index 230d8cf..3cd33a6 100644 --- a/app/user/signin/page.tsx +++ b/app/user/signin/page.tsx @@ -62,7 +62,7 @@ export default function Home() {
{/* Title and description section */}
- +

Welcome to Kanapka AI - your intelligent assistant. Sign in, to start using our unique features. diff --git a/app/user/signup/page.tsx b/app/user/signup/page.tsx index e8e8746..131eb4c 100644 --- a/app/user/signup/page.tsx +++ b/app/user/signup/page.tsx @@ -104,7 +104,7 @@ export default function Home() {

{/* Title - Kanapka AI */}
- +
{/* Form */} diff --git a/app/user/status/page.tsx b/app/user/status/page.tsx index 9767461..a24d9bb 100644 --- a/app/user/status/page.tsx +++ b/app/user/status/page.tsx @@ -18,7 +18,7 @@ export default function Home() { return (
- +
{/* Session Status */} diff --git a/components/Logo.tsx b/components/Logo.tsx index 5f4fed7..915bdb2 100644 --- a/components/Logo.tsx +++ b/components/Logo.tsx @@ -1,16 +1,12 @@ interface LogoProps { - mobileFontSize: string; - desktopFontSize: string; + className: string; } -export const Logo: React.FC = ({ - mobileFontSize, - desktopFontSize, -}) => { +export const Logo: React.FC = ({ className }) => { return ( Kanapka AI diff --git a/components/Navbar.tsx b/components/Navbar.tsx index fbecf19..e5ded1f 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -16,7 +16,7 @@ export const Navbar = () => { return (