Browse Source

fix ts errors

drawing-pad
Stephanie Gredell 1 month ago
parent
commit
465ce27e2a
  1. 4
      frontend/src/components/Navbar/Navbar.tsx
  2. 6
      frontend/src/pages/LandingPage.tsx

4
frontend/src/components/Navbar/Navbar.tsx

@ -79,7 +79,7 @@ export function Navbar() {
width="48" width="48"
height="48" height="48"
loading="eager" loading="eager"
fetchpriority="high" fetchPriority="high"
/> />
<h1 className="text-3xl md:text-4xl font-bold text-foreground" style={{ fontFamily: "'Butterfly Kids', cursive" }}>Rainbows, Cupcakes & Unicorns</h1> <h1 className="text-3xl md:text-4xl font-bold text-foreground" style={{ fontFamily: "'Butterfly Kids', cursive" }}>Rainbows, Cupcakes & Unicorns</h1>
<img <img
@ -89,7 +89,7 @@ export function Navbar() {
width="48" width="48"
height="48" height="48"
loading="eager" loading="eager"
fetchpriority="high" fetchPriority="high"
/> />
</Link> </Link>

6
frontend/src/pages/LandingPage.tsx

@ -56,7 +56,7 @@ export function LandingPage() {
width="80" width="80"
height="80" height="80"
loading="eager" loading="eager"
fetchpriority={app.id === 'videos' ? 'high' : 'auto'} fetchPriority={app.id === 'videos' ? 'high' : 'auto'}
/> />
) : app.id === 'speechsounds' ? ( ) : app.id === 'speechsounds' ? (
<img <img
@ -66,7 +66,7 @@ export function LandingPage() {
width="80" width="80"
height="80" height="80"
loading="eager" loading="eager"
fetchpriority="auto" fetchPriority="auto"
/> />
) : app.id === 'tictactoe' ? ( ) : app.id === 'tictactoe' ? (
<img <img
@ -76,7 +76,7 @@ export function LandingPage() {
width="80" width="80"
height="80" height="80"
loading="eager" loading="eager"
fetchpriority="auto" fetchPriority="auto"
/> />
) : ( ) : (
<span className="text-5xl">{emoji}</span> <span className="text-5xl">{emoji}</span>

Loading…
Cancel
Save