Skip to content

Commit

Permalink
fix No Stylesheets In Head Component
Browse files Browse the repository at this point in the history
  • Loading branch information
depapp committed May 3, 2024
1 parent 05f42a3 commit 573f3fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 0 additions & 6 deletions src/components/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ const Layout = (props) => {
<>
<Head>
<title>#PamerAjaDulu</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
integrity="sha512-NhSC1YmyruXifcj/KFRWoC561YpHpc5Jtzgvbuzx5VozKpWvQ+4nXhPdFgmx8xqexRcpAglTj9sIBWINXa8x5w=="
crossOrigin="anonymous"
/>
</Head>
<Header />
<main>{props.children}</main>
Expand Down
9 changes: 8 additions & 1 deletion src/pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ import { Html, Head, Main, NextScript } from "next/document";
export default function Document() {
return (
<Html lang="en">
<Head />
<Head>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
integrity="sha512-NhSC1YmyruXifcj/KFRWoC561YpHpc5Jtzgvbuzx5VozKpWvQ+4nXhPdFgmx8xqexRcpAglTj9sIBWINXa8x5w=="
crossOrigin="anonymous"
/>
</Head>
<body>
<Main />
<NextScript />
Expand Down

0 comments on commit 573f3fa

Please sign in to comment.