Skip to content

Commit 2c3c598

Browse files
committed
chore: fix asset path again attempt #3
1 parent 99ee316 commit 2c3c598

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/layout/footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import Link from 'next/link';
22
import Image from 'next/image';
33

4-
// Import the logo as a static asset for GitHub Pages compatibility
5-
import logoImage from '@/images/mdg.png';
4+
// Import logo from public directory for GitHub Pages compatibility
5+
import logoImage from '../../../public/mdg.png';
66

77
export function Footer() {
88
return (

src/components/layout/header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { ThemeToggle } from '@/components/ui/theme-toggle';
77
import { AccessibilityMenu } from '@/components/ui/accessibility-menu';
88
import { GitHubStats } from '@/components/ui/github-stats';
99

10-
// Import the logo as a static asset for GitHub Pages compatibility
11-
import logoImage from '@/images/mdg.png';
10+
// Import logo from public directory for GitHub Pages compatibility
11+
import logoImage from '../../../public/mdg.png';
1212

1313
const navigation = [
1414
{ name: 'Generator', href: '/' },

0 commit comments

Comments
 (0)