-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docs): bump
next.js
version & fix meta warnings (#4327)
* chore(docs): bump `next` version * docs: fix meta warnings
- Loading branch information
1 parent
1033c9d
commit 7b4bd9a
Showing
7 changed files
with
28 additions
and
20 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
} | ||
|
||
.spanStyle { | ||
font-family: 'Orbitron'; | ||
font-family: var(--font-orbitron); | ||
font-weight: 800; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import {Orbitron} from 'next/font/google'; | ||
|
||
export const orbitron = Orbitron({ | ||
display: 'swap', | ||
subsets: ['latin'], | ||
weight: ['400', '900'], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import {orbitron} from '../font'; | ||
|
||
export default function Nextra({Component, pageProps}) { | ||
return ( | ||
<> | ||
<style jsx global>{` | ||
:root { | ||
--font-orbitron: ${orbitron.style.fontFamily}; | ||
} | ||
`}</style> | ||
<Component {...pageProps} /> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import React from 'react'; | ||
import {GoogleAnalytics} from '@next/third-parties/google'; | ||
|
||
export default { | ||
head: ( | ||
|
@@ -26,27 +27,12 @@ export default { | |
content="https://docs.thewidlarzgroup.com/react-native-video/thumbnail.jpg" | ||
/> | ||
<meta name="twitter:image:alt" content="React Native Video" /> | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin /> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Orbitron:[email protected]&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<link | ||
rel="icon" | ||
type="image/png" | ||
href="https://docs.thewidlarzgroup.com/react-native-video/favicon.png" | ||
/> | ||
<script | ||
async | ||
src="https://www.googletagmanager.com/gtag/js?id=G-PM2TQQQMDN" | ||
/> | ||
<script> | ||
{`window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', 'G-PM2TQQQMDN');`} | ||
</script> | ||
<GoogleAnalytics gaId="G-4YEWQH5ZHS" /> | ||
</> | ||
), | ||
logo: ( | ||
|