Skip to content

Commit

Permalink
put tag in document (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Walker-GM authored Aug 22, 2024
1 parent a81bb71 commit 4a8d989
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions web/src/Document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,32 @@ export const Document: React.FC<DocumentProps> = ({ children, css, meta }) => {
<Css css={css} />
<Meta tags={meta} />

{/* Plausible */}
<script
src="https://plausible.io/js/script.outbound-links.tagged-events.js"
data-domain="redwoodjs.com"
defer
></script>

{/* preload hints for css */}
<link rel="preload" href="https://use.typekit.net/sjm8rub.css" as="style" />
<link rel="preload" href="https://p.typekit.net/p.css?s=1&k=sjm8rub&ht=tk&f=38944&a=8145&app=typekit&e=css" as="style" />
<link
rel="preload"
href="https://use.typekit.net/sjm8rub.css"
as="style"
/>
<link
rel="preload"
href="https://p.typekit.net/p.css?s=1&k=sjm8rub&ht=tk&f=38944&a=8145&app=typekit&e=css"
as="style"
/>

{/* preload hints for images */}
<link rel="preload" fetchPriority="high" href="/images/hero.avif" as="image" />
<link
rel="preload"
fetchPriority="high"
href="/images/hero.avif"
as="image"
/>
</head>
<body>
<div id="redwood-app">{children}</div>
Expand Down

0 comments on commit 4a8d989

Please sign in to comment.