Skip to content

Commit

Permalink
couldn't get preload to work. Commented out,
Browse files Browse the repository at this point in the history
  • Loading branch information
Harold-Anderson committed Nov 2, 2024
1 parent 7678219 commit 50a1ff4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Metadata from '~/components/common/Metadata.astro';
import SiteVerification from '~/components/common/SiteVerification.astro';
import Analytics from '~/components/common/Analytics.astro';
import BasicScripts from '~/components/common/BasicScripts.astro';
import heroImage from '~/assets/images/asian_blue_jacket-16x9.png';
// import heroImage from '~/assets/images/asian_blue_jacket-16x9.png';
// Comment the line below to disable View Transitions
import { ViewTransitions } from 'astro:transitions';
Expand Down Expand Up @@ -39,8 +39,8 @@ const { language, textDirection } = I18N;
<link rel="sitemap" href="/sitemap-index.xml" />
<!-- Comment the line below to disable View Transitions -->
<ViewTransitions fallback="swap" />
<link rel="preload" href={heroImage.src} as="image"
type="image/png" fetchpriority="high" />
<!-- <link rel="preload" href={heroImage.src} as="image"
type="image/png" fetchpriority="high" /> -->
</head>

<body class="antialiased text-default bg-page tracking-tight">
Expand Down

0 comments on commit 50a1ff4

Please sign in to comment.