Skip to content

Commit b00c2ae

Browse files
update the _app.tsx
1 parent 7a604ed commit b00c2ae

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

src/pages/_app.tsx

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
11
import '@picocss/pico'
2+
3+
/*
4+
5+
Enable custom theme
6+
7+
import '../style/custom.css';
8+
import '../../poco.css';
9+
10+
*/
11+
12+
import '../style/style.css';
13+
214
import type { AppProps } from 'next/app'
315
import Header from 'components/Header';
4-
import '../style/style.css';
516
import Footer from 'components/Footer';
617
import Script from 'next/script';
18+
719
export default function App({ Component, pageProps }: AppProps) {
820
return <>
9-
<Header />
10-
<Component {...pageProps} />
11-
<Footer/>
12-
<Script src='/theme.js'/>
13-
</>
21+
<Header />
22+
<Component {...pageProps} />
23+
<Footer/>
24+
<Script src='/theme.js'/>
25+
</>
1426

1527

1628
}

0 commit comments

Comments
 (0)