diff --git a/apps/web/public/apple-touch-icon.png b/apps/web/public/apple-touch-icon.png index e8a2035..4cbb755 100644 Binary files a/apps/web/public/apple-touch-icon.png and b/apps/web/public/apple-touch-icon.png differ diff --git a/apps/web/public/favicon.svg b/apps/web/public/favicon.svg index 2d8dd1e..49596ae 100644 --- a/apps/web/public/favicon.svg +++ b/apps/web/public/favicon.svg @@ -1,14 +1,6 @@ - - - SL + + + + + diff --git a/apps/web/public/maskable-512x512.png b/apps/web/public/maskable-512x512.png index 3c23c6a..a7add64 100644 Binary files a/apps/web/public/maskable-512x512.png and b/apps/web/public/maskable-512x512.png differ diff --git a/apps/web/public/maskable.svg b/apps/web/public/maskable.svg index e4fbf8b..f8bd9e6 100644 --- a/apps/web/public/maskable.svg +++ b/apps/web/public/maskable.svg @@ -1,14 +1,8 @@ - - SL + + + + + + diff --git a/apps/web/public/pwa-192x192.png b/apps/web/public/pwa-192x192.png index 8f2fe5c..9c481cf 100644 Binary files a/apps/web/public/pwa-192x192.png and b/apps/web/public/pwa-192x192.png differ diff --git a/apps/web/public/pwa-512x512.png b/apps/web/public/pwa-512x512.png index be8576b..70ec991 100644 Binary files a/apps/web/public/pwa-512x512.png and b/apps/web/public/pwa-512x512.png differ diff --git a/apps/web/src/components/app-logo.tsx b/apps/web/src/components/app-logo.tsx new file mode 100644 index 0000000..d2d3014 --- /dev/null +++ b/apps/web/src/components/app-logo.tsx @@ -0,0 +1,50 @@ +import { cn } from '@/lib/utils' + +/** + * Superlist's mark: a shopping bag with a check, on the app's green. It is the same + * drawing as `public/favicon.svg` and the PWA icons, so keep them in sync. + */ +export function AppLogo({ className }: { className?: string }) { + return ( + + + + + + + ) +} + +/** The mark next to the "Superlist" name, for the sign-in and sign-up pages. */ +export function AppBrand({ className }: { className?: string }) { + return ( +
+ + Superlist +
+ ) +} diff --git a/apps/web/src/components/layout/app-sidebar.tsx b/apps/web/src/components/layout/app-sidebar.tsx index f5b3370..8fc79f1 100644 --- a/apps/web/src/components/layout/app-sidebar.tsx +++ b/apps/web/src/components/layout/app-sidebar.tsx @@ -1,4 +1,5 @@ import { Link, useRouterState } from '@tanstack/react-router' +import { AppLogo } from '@/components/app-logo' import { focusNewItemInput } from '@/components/items/create-item-form' import { isNavItemActive, NAV_ITEMS } from '@/components/layout/nav-items' import { NavUser } from '@/components/layout/nav-user' @@ -25,9 +26,7 @@ export function AppSidebar() { focusNewItemInput(pathname)}> -
- SL -
+
Superlist Listas compartidas diff --git a/apps/web/src/routes/(auth)/sign-in.tsx b/apps/web/src/routes/(auth)/sign-in.tsx index f63f16e..fe911f0 100644 --- a/apps/web/src/routes/(auth)/sign-in.tsx +++ b/apps/web/src/routes/(auth)/sign-in.tsx @@ -4,6 +4,7 @@ import { useState } from 'react' import { useForm } from 'react-hook-form' import { z } from 'zod' +import { AppBrand } from '@/components/app-logo' import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert' import { Button } from '@/components/ui/button' import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card' @@ -54,7 +55,8 @@ function SignInPage() { }) return ( -
+
+ Iniciar sesión diff --git a/apps/web/src/routes/(auth)/sign-up.tsx b/apps/web/src/routes/(auth)/sign-up.tsx index 6341302..3f572eb 100644 --- a/apps/web/src/routes/(auth)/sign-up.tsx +++ b/apps/web/src/routes/(auth)/sign-up.tsx @@ -4,6 +4,7 @@ import { useState } from 'react' import { useForm } from 'react-hook-form' import { z } from 'zod' +import { AppBrand } from '@/components/app-logo' import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert' import { Button } from '@/components/ui/button' import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card' @@ -55,7 +56,8 @@ function SignUpPage() { }) return ( -
+
+ Crear cuenta