File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 1
1
import { ChakraProvider , Box } from '@chakra-ui/react'
2
2
import type { AppProps } from 'next/app'
3
+ import Head from 'next/head'
3
4
import { WalletProvider } from '../components/WalletProvider'
4
5
import { theme } from '../theme'
5
6
import Header from '../components/Header'
@@ -10,6 +11,11 @@ import { DefaultSeo } from 'next-seo'
10
11
function MyApp ( { Component, pageProps } : AppProps ) {
11
12
return (
12
13
< ChakraProvider theme = { theme } >
14
+ < Head >
15
+ < title > D_D Academy</ title >
16
+ < meta name = "description" content = "Generated by create next app" />
17
+ < link rel = "icon" href = "/favicon.ico" />
18
+ </ Head >
13
19
< WalletProvider >
14
20
< DefaultSeo
15
21
openGraph = { {
Original file line number Diff line number Diff line change 1
- import Head from 'next/head'
2
1
import NextLink from 'next/link'
3
2
import {
4
3
Heading ,
@@ -34,11 +33,6 @@ const GettingStarted: React.FC<LessonProps> = ({ lessons }) => {
34
33
35
34
return (
36
35
< >
37
- < Head >
38
- < title > D_D Academy</ title >
39
- < meta name = "description" content = "Generated by create next app" />
40
- < link rel = "icon" href = "/favicon.ico" />
41
- </ Head >
42
36
< Flex
43
37
as = "main"
44
38
py = { 5 }
Original file line number Diff line number Diff line change 1
- import Head from 'next/head'
2
1
import { Flex , Stack , Heading } from '@chakra-ui/react'
3
2
import fs from 'fs'
4
3
import path from 'path'
@@ -23,11 +22,6 @@ const Lessons: React.FC<LessonProps> = ({ lessons }) => {
23
22
24
23
return (
25
24
< >
26
- < Head >
27
- < title > D_D Academy</ title >
28
- < meta name = "description" content = "Generated by create next app" />
29
- < link rel = "icon" href = "/favicon.ico" />
30
- </ Head >
31
25
< Flex as = "main" py = { 5 } px = { [ 4 , 10 , 16 ] } direction = "column" minH = "90vh" >
32
26
< Stack spacing = { 5 } direction = "column" >
33
27
< >
You can’t perform that action at this time.
0 commit comments