Skip to content

Commit 4108ec7

Browse files
committed
chore: hide tracks from navigation
1 parent 1ec146a commit 4108ec7

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

components/NavBar.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function NavBar() {
8484
GET STARTED
8585
</Link>
8686
</MenuItem>
87-
<MenuItem>
87+
{/* <MenuItem>
8888
<Link
8989
as={NextLink}
9090
href="/lessons"
@@ -97,7 +97,7 @@ function NavBar() {
9797
>
9898
Tracks
9999
</Link>
100-
</MenuItem>
100+
</MenuItem> */}
101101
</MenuList>
102102
</Menu>
103103
</Flex>
@@ -136,7 +136,7 @@ function NavBar() {
136136
Get Started
137137
</Link>
138138

139-
<Link
139+
{/* <Link
140140
as={NextLink}
141141
href="/lessons"
142142
passHref
@@ -147,7 +147,7 @@ function NavBar() {
147147
}
148148
>
149149
Tracks
150-
</Link>
150+
</Link> */}
151151

152152
{/* <Button colorScheme="gray" variant="solid">
153153
<ConnectButton chainStatus="icon" showBalance={false} />

components/PageSeoLayout.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ const PageSeoLayout = ({
1414
return (
1515
<>
1616
<NextSeo
17+
title={`Developer DAO Academy | ${title}`}
18+
description={description}
1719
openGraph={{
1820
type: 'website',
1921
locale: 'en_US',
2022
url: `https://${process.env.NEXT_PUBLIC_VERCEL_URL}/landing-page-screenshot.png`,
21-
site_name: 'Developer DAO Academy',
23+
site_name: `Developer DAO Academy`,
2224
title: `Developer DAO Academy | ${title}`,
2325
description: `${description}`,
2426
images: [

pages/getting-started/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ const GettingStarted: NextPage<LessonProps> = ({ lessons }) => {
3737

3838
return (
3939
<React.Fragment>
40-
<PageSeoLayout title="Getting Started" description="Getting Started">
40+
<PageSeoLayout
41+
title="Getting Started"
42+
description="D_D Academy is an open-source education platform created by the Developer DAO."
43+
>
4144
<Flex
4245
as="main"
4346
py={5}

0 commit comments

Comments
 (0)