correct ui
This commit is contained in:
parent
d5be543421
commit
3e85733f4a
@ -99,7 +99,7 @@ export function LoginForm({
|
|||||||
</div>
|
</div>
|
||||||
<div className="text-center text-sm">
|
<div className="text-center text-sm">
|
||||||
Vous n'avez pas de compte ?{" "}
|
Vous n'avez pas de compte ?{" "}
|
||||||
<a href="/register" className="underline underline-offset-4">
|
<a href="/auth/register" className="underline underline-offset-4">
|
||||||
S'inscrire
|
S'inscrire
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -113,7 +113,7 @@ export function RegisterForm({
|
|||||||
</div>
|
</div>
|
||||||
<div className="text-center text-sm">
|
<div className="text-center text-sm">
|
||||||
Don't have an account?{" "}
|
Don't have an account?{" "}
|
||||||
<a href="/login" className="underline underline-offset-4">
|
<a href="/auth/login" className="underline underline-offset-4">
|
||||||
Se connecter
|
Se connecter
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,10 +1,11 @@
|
|||||||
import { GalleryVerticalEnd } from "lucide-react"
|
import { GalleryVerticalEnd } from "lucide-react"
|
||||||
import { RegisterForm } from "@/components/register-form"
|
import { RegisterForm } from "@/components/register-form"
|
||||||
|
import PastaVongole from "@/assets/pasta-alla-vongole-home.jpeg"
|
||||||
|
|
||||||
export default function Register() {
|
export default function Register() {
|
||||||
return (
|
return (
|
||||||
<div className="grid min-h-svh lg:grid-cols-2">
|
<div className="grid min-h-svh lg:grid-cols-2">
|
||||||
<div className="flex flex-col gap-4 p-6 md:p-10">
|
<div className="flex flex-col gap-4 p-6 md:p-10 bg-gradient-to-b from-amber-50 to-orange-50 dark:from-slate-950 dark:to-slate-900">
|
||||||
<div className="flex justify-center gap-2 md:justify-start">
|
<div className="flex justify-center gap-2 md:justify-start">
|
||||||
<a href="#" className="flex items-center gap-2 font-medium">
|
<a href="#" className="flex items-center gap-2 font-medium">
|
||||||
<div className="flex h-6 w-6 items-center justify-center rounded-md bg-primary text-primary-foreground">
|
<div className="flex h-6 w-6 items-center justify-center rounded-md bg-primary text-primary-foreground">
|
||||||
@ -21,7 +22,7 @@ export default function Register() {
|
|||||||
</div>
|
</div>
|
||||||
<div className="relative hidden bg-muted lg:block">
|
<div className="relative hidden bg-muted lg:block">
|
||||||
<img
|
<img
|
||||||
src="/placeholder.svg"
|
src={PastaVongole}
|
||||||
alt="Image"
|
alt="Image"
|
||||||
className="absolute inset-0 h-full w-full object-cover dark:brightness-[0.2] dark:grayscale"
|
className="absolute inset-0 h-full w-full object-cover dark:brightness-[0.2] dark:grayscale"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -416,7 +416,7 @@ export default function RecipeDetail() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Admin Actions */}
|
{/* Admin Actions */}
|
||||||
<div className="mt-8 flex justify-end gap-2 print:hidden">
|
{/* <div className="mt-8 flex justify-end gap-2 print:hidden">
|
||||||
<Button variant="outline" onClick={() => navigate(`/recipes/edit/${id}`)}>
|
<Button variant="outline" onClick={() => navigate(`/recipes/edit/${id}`)}>
|
||||||
<Edit className="mr-2 h-4 w-4" />
|
<Edit className="mr-2 h-4 w-4" />
|
||||||
Modifier
|
Modifier
|
||||||
@ -426,7 +426,7 @@ export default function RecipeDetail() {
|
|||||||
<Trash2 className="mr-2 h-4 w-4" />
|
<Trash2 className="mr-2 h-4 w-4" />
|
||||||
Supprimer
|
Supprimer
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div> */}
|
||||||
</motion.div>
|
</motion.div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|||||||
@ -6,11 +6,9 @@ import { useState, useEffect } from "react"
|
|||||||
import { useNavigate } from "react-router-dom"
|
import { useNavigate } from "react-router-dom"
|
||||||
import { recipeService, type Recipe } from "@/api/recipe"
|
import { recipeService, type Recipe } from "@/api/recipe"
|
||||||
import { Button } from "@/components/ui/button"
|
import { Button } from "@/components/ui/button"
|
||||||
import { Input } from "@/components/ui/input"
|
import { Plus, Clock, Utensils, Heart, Share2, ArrowUpRight } from "lucide-react"
|
||||||
import { Search, Plus, Clock, Utensils, Heart, Share2, ArrowUpRight } from "lucide-react"
|
|
||||||
import { motion } from "framer-motion"
|
import { motion } from "framer-motion"
|
||||||
import { CookingLoader } from "@/components/illustrations/CookingLoader"
|
import { CookingLoader } from "@/components/illustrations/CookingLoader"
|
||||||
import { KitchenIllustration } from "@/components/illustrations/KitchenIllustration"
|
|
||||||
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs"
|
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs"
|
||||||
import { Badge } from "@/components/ui/badge"
|
import { Badge } from "@/components/ui/badge"
|
||||||
import { Card, CardContent, CardFooter } from "@/components/ui/card"
|
import { Card, CardContent, CardFooter } from "@/components/ui/card"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user