Update
This commit is contained in:
18
resources/js/pages/home/partials/BrandLogo.jsx
Normal file
18
resources/js/pages/home/partials/BrandLogo.jsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import { cn } from '@/lib/utils';
|
||||
import { Link } from '@inertiajs/react';
|
||||
import { route } from 'ziggy-js';
|
||||
|
||||
const BrandLogo = ({ className = '', onNavClick = () => {}, isNavActive = false }) => {
|
||||
return (
|
||||
<Link href={route('home')} className={cn('flex w-full items-center justify-center gap-2 hover:opacity-80 transition-opacity', className)}>
|
||||
<img alt="MEMEFA.ST LOGO" className="h-10 w-10" src="/logo/memefast-logo-144.png"></img>
|
||||
|
||||
<div className="font-display ml-0 text-lg tracking-wide md:ml-3 md:text-xl">
|
||||
<span className="text-foreground">MEME</span>
|
||||
<span className="text-[#00DD00] dark:text-[#00FF00]">FAST</span>
|
||||
</div>
|
||||
</Link>
|
||||
);
|
||||
};
|
||||
|
||||
export default BrandLogo;
|
||||
@@ -1,6 +1,7 @@
|
||||
import { Switch } from '@/components/ui/switch';
|
||||
import { useTheme } from '@/hooks/useTheme';
|
||||
import { Moon, Sun } from 'lucide-react';
|
||||
import { route } from 'ziggy-js';
|
||||
|
||||
const Footer = () => {
|
||||
const currentYear = new Date().getFullYear();
|
||||
@@ -28,13 +29,16 @@ const Footer = () => {
|
||||
|
||||
{/* Navigation Links */}
|
||||
<div className="flex space-x-6">
|
||||
<a href="/" className="text-muted-foreground hover:text-foreground text-sm transition-colors">
|
||||
<a href={route('home')} className="text-muted-foreground hover:text-foreground text-sm transition-colors">
|
||||
Home
|
||||
</a>
|
||||
<a href="/terms" className="text-muted-foreground hover:text-foreground text-sm transition-colors">
|
||||
<a href={route('memes.index')} className="text-muted-foreground hover:text-foreground text-sm transition-colors">
|
||||
Meme Library
|
||||
</a>
|
||||
<a href={route('terms')} className="text-muted-foreground hover:text-foreground text-sm transition-colors">
|
||||
Terms
|
||||
</a>
|
||||
<a href="/privacy" className="text-muted-foreground hover:text-foreground text-sm transition-colors">
|
||||
<a href={route('privacy')} className="text-muted-foreground hover:text-foreground text-sm transition-colors">
|
||||
Privacy
|
||||
</a>
|
||||
{import.meta.env.VITE_DISCORD_LINK && (
|
||||
|
||||
Reference in New Issue
Block a user