File tree Expand file tree Collapse file tree 7 files changed +28
-20
lines changed
Expand file tree Collapse file tree 7 files changed +28
-20
lines changed Original file line number Diff line number Diff line change 33}
44
55.spanStyle {
6- font-family : 'Orbitron' ;
6+ font-family : var ( --font-orbitron ) ;
77 font-weight : 800 ;
88}
Original file line number Diff line number Diff line change 1+ import { Orbitron } from 'next/font/google' ;
2+
3+ export const orbitron = Orbitron ( {
4+ display : 'swap' ,
5+ subsets : [ 'latin' ] ,
6+ weight : [ '400' , '900' ] ,
7+ } ) ;
Original file line number Diff line number Diff line change 22/// <reference types="next/image-types/global" />
33
44// NOTE: This file should not be edited
5- // see https://nextjs.org/docs/basic-features /typescript for more information.
5+ // see https://nextjs.org/docs/pages/building-your-application/configuring /typescript for more information.
Original file line number Diff line number Diff line change 88 "build" : " bun next build"
99 },
1010 "dependencies" : {
11- "next" : " ^13.5.4" ,
11+ "@next/third-parties" : " 14.2.20" ,
12+ "next" : " 14.2.20" ,
1213 "nextra" : " ^2.13.2" ,
1314 "nextra-theme-docs" : " ^2.13.2" ,
1415 "react" : " ^18.2.0" ,
1819 "devDependencies" : {
1920 "bun-types" : " latest"
2021 }
21- }
22+ }
Original file line number Diff line number Diff line change 1+ import {orbitron } from ' ../font' ;
2+
3+ export default function Nextra({Component , pageProps }) {
4+ return (
5+ <>
6+ <style jsx global >{ `
7+ :root {
8+ --font-orbitron: ${orbitron .style .fontFamily };
9+ }
10+ ` } </style >
11+ <Component { ... pageProps } />
12+ </>
13+ );
14+ }
Original file line number Diff line number Diff line change 11import React from 'react' ;
2+ import { GoogleAnalytics } from '@next/third-parties/google' ;
23
34export default {
45 head : (
@@ -26,27 +27,12 @@ export default {
2627 content = "https://docs.thewidlarzgroup.com/react-native-video/thumbnail.jpg"
2728 />
2829 < meta name = "twitter:image:alt" content = "React Native Video" />
29- < link rel = "preconnect" href = "https://fonts.googleapis.com" />
30- < link rel = "preconnect" href = "https://fonts.gstatic.com" crossOrigin />
31- < link
32- href = "https://fonts.googleapis.com/css2?family=Orbitron:[email protected] & display = swap " 33- rel = "stylesheet"
34- />
3530 < link
3631 rel = "icon"
3732 type = "image/png"
3833 href = "https://docs.thewidlarzgroup.com/react-native-video/favicon.png"
3934 />
40- < script
41- async
42- src = "https://www.googletagmanager.com/gtag/js?id=G-PM2TQQQMDN"
43- />
44- < script >
45- { `window.dataLayer = window.dataLayer || [];
46- function gtag(){dataLayer.push(arguments);}
47- gtag('js', new Date());
48- gtag('config', 'G-PM2TQQQMDN');` }
49- </ script >
35+ < GoogleAnalytics gaId = "G-4YEWQH5ZHS" />
5036 </ >
5137 ) ,
5238 logo : (
You can’t perform that action at this time.
0 commit comments