correct ui
This commit is contained in:
parent
d5be543421
commit
3e85733f4a
@ -99,7 +99,7 @@ export function LoginForm({
|
||||
</div>
|
||||
<div className="text-center text-sm">
|
||||
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
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@ -113,7 +113,7 @@ export function RegisterForm({
|
||||
</div>
|
||||
<div className="text-center text-sm">
|
||||
Don't have an account?{" "}
|
||||
<a href="/login" className="underline underline-offset-4">
|
||||
<a href="/auth/login" className="underline underline-offset-4">
|
||||
Se connecter
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
import { GalleryVerticalEnd } from "lucide-react"
|
||||
import { RegisterForm } from "@/components/register-form"
|
||||
import PastaVongole from "@/assets/pasta-alla-vongole-home.jpeg"
|
||||
|
||||
export default function Register() {
|
||||
return (
|
||||
<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">
|
||||
<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">
|
||||
@ -21,7 +22,7 @@ export default function Register() {
|
||||
</div>
|
||||
<div className="relative hidden bg-muted lg:block">
|
||||
<img
|
||||
src="/placeholder.svg"
|
||||
src={PastaVongole}
|
||||
alt="Image"
|
||||
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>
|
||||
|
||||
{/* 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}`)}>
|
||||
<Edit className="mr-2 h-4 w-4" />
|
||||
Modifier
|
||||
@ -426,7 +426,7 @@ export default function RecipeDetail() {
|
||||
<Trash2 className="mr-2 h-4 w-4" />
|
||||
Supprimer
|
||||
</Button>
|
||||
</div>
|
||||
</div> */}
|
||||
</motion.div>
|
||||
</main>
|
||||
|
||||
|
||||
@ -6,11 +6,9 @@ import { useState, useEffect } from "react"
|
||||
import { useNavigate } from "react-router-dom"
|
||||
import { recipeService, type Recipe } from "@/api/recipe"
|
||||
import { Button } from "@/components/ui/button"
|
||||
import { Input } from "@/components/ui/input"
|
||||
import { Search, Plus, Clock, Utensils, Heart, Share2, ArrowUpRight } from "lucide-react"
|
||||
import { Plus, Clock, Utensils, Heart, Share2, ArrowUpRight } from "lucide-react"
|
||||
import { motion } from "framer-motion"
|
||||
import { CookingLoader } from "@/components/illustrations/CookingLoader"
|
||||
import { KitchenIllustration } from "@/components/illustrations/KitchenIllustration"
|
||||
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs"
|
||||
import { Badge } from "@/components/ui/badge"
|
||||
import { Card, CardContent, CardFooter } from "@/components/ui/card"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user