logo
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
import { useState, useEffect } from 'react'
|
import { useState, useEffect } from 'react'
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
|
import Image from 'next/image'
|
||||||
import { Menu, X } from 'lucide-react'
|
import { Menu, X } from 'lucide-react'
|
||||||
import type { NavigationContent } from '@/content/schemas/manifesto'
|
import type { NavigationContent } from '@/content/schemas/manifesto'
|
||||||
|
|
||||||
@@ -51,8 +52,8 @@ export function MinimalNav({ content }: MinimalNavProps) {
|
|||||||
: 'bg-slate-900/80 backdrop-blur-sm md:bg-white/80 md:backdrop-blur-sm'
|
: 'bg-slate-900/80 backdrop-blur-sm md:bg-white/80 md:backdrop-blur-sm'
|
||||||
|
|
||||||
const logoClasses = isScrolled
|
const logoClasses = isScrolled
|
||||||
? 'text-slate-900'
|
? 'text-teal-600'
|
||||||
: 'text-white md:mix-blend-difference md:text-white'
|
: 'text-white md:text-teal-600'
|
||||||
|
|
||||||
const linkClasses = isScrolled
|
const linkClasses = isScrolled
|
||||||
? 'text-slate-900 hover:text-slate-700'
|
? 'text-slate-900 hover:text-slate-700'
|
||||||
@@ -70,13 +71,20 @@ export function MinimalNav({ content }: MinimalNavProps) {
|
|||||||
>
|
>
|
||||||
<div className="max-w-7xl mx-auto px-4 md:px-8 py-4 flex justify-between items-center h-16">
|
<div className="max-w-7xl mx-auto px-4 md:px-8 py-4 flex justify-between items-center h-16">
|
||||||
{/* Logo */}
|
{/* Logo */}
|
||||||
<Link
|
<Link
|
||||||
href="/"
|
href="/"
|
||||||
className={`font-black text-xl uppercase font-sans tracking-tight leading-none transition-colors hover:opacity-90 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:rounded ${logoClasses}`}
|
className={`flex items-center gap-2 font-black text-xl uppercase font-sans tracking-tight leading-none transition-colors hover:opacity-90 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:rounded ${logoClasses}`}
|
||||||
aria-label="AI Speedrun Home"
|
aria-label="AI Speedrun Home"
|
||||||
onClick={() => setIsMenuOpen(false)}
|
onClick={() => setIsMenuOpen(false)}
|
||||||
>
|
>
|
||||||
{content.logo}
|
{content.logo}
|
||||||
|
<Image
|
||||||
|
src="/images/aispeedrun-logo.webp"
|
||||||
|
alt=""
|
||||||
|
width={40}
|
||||||
|
height={40}
|
||||||
|
className="rounded-md"
|
||||||
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
{/* Desktop Navigation Links */}
|
{/* Desktop Navigation Links */}
|
||||||
|
|||||||
BIN
app/favicon.ico
BIN
app/favicon.ico
Binary file not shown.
|
Before Width: | Height: | Size: 25 KiB |
@@ -93,6 +93,12 @@ export const metadata: Metadata = {
|
|||||||
authors: [{ name: 'Colin van der Heijden', url: 'https://ikbenlit.nl' }],
|
authors: [{ name: 'Colin van der Heijden', url: 'https://ikbenlit.nl' }],
|
||||||
creator: 'Colin van der Heijden',
|
creator: 'Colin van der Heijden',
|
||||||
publisher: 'AI Speedrun',
|
publisher: 'AI Speedrun',
|
||||||
|
icons: {
|
||||||
|
icon: [
|
||||||
|
{ url: '/images/aispeedrun-logo.webp', type: 'image/webp' },
|
||||||
|
],
|
||||||
|
apple: '/images/aispeedrun-logo.webp',
|
||||||
|
},
|
||||||
formatDetection: {
|
formatDetection: {
|
||||||
email: false,
|
email: false,
|
||||||
address: false,
|
address: false,
|
||||||
|
|||||||
BIN
public/images/aispeedrun-logo.png
Normal file
BIN
public/images/aispeedrun-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
BIN
public/images/aispeedrun-logo.webp
Normal file
BIN
public/images/aispeedrun-logo.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.6 KiB |
Reference in New Issue
Block a user