Skip to content

Commit

Permalink
fix: website layout updates to roadmap and markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Jan 24, 2024
1 parent 4dbb448 commit 40df7ab
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 30 deletions.
5 changes: 5 additions & 0 deletions .changeset/stale-ties-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'website': minor
---

The roadmap page layout has been updated.
5 changes: 5 additions & 0 deletions .changeset/tricky-brooms-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'website': minor
---

Header spacing has been updated for markdown based content.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
.next
2 changes: 1 addition & 1 deletion apps/website/config/mdx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const components = {
</SectionHeading>
),
h2: ({ children }) => (
<SectionHeading size="24" className="pb-4 pt-6">
<SectionHeading size="24" className="pb-4 pt-20">
{children}
</SectionHeading>
),
Expand Down
23 changes: 2 additions & 21 deletions apps/website/pages/roadmap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { getMinutesInSeconds } from '../../lib/time'
import { SectionSolid } from '../../components/SectionSolid'
import { MDXRemote } from 'next-mdx-remote'
import { components } from '../../config/mdx'
import { TableOfContents } from '../../components/TableOfContents'
import { getPrs } from '../../content/prs'
import { GitHubActivity } from '../../components/GitHubActivity'
import { backgrounds, previews } from '../../content/assets'
Expand All @@ -34,31 +33,13 @@ export default function Roadmap({ date, source, prs }: Props) {
description={description}
path={routes.roadmap.index}
heading={
<SectionTransparent className="pt-24 md:pt-40 pb-6">
<SectionTransparent className="pt-24 md:pt-40 pb-20 md:pb-40">
<SiteHeading
title={title}
description={description}
size="64"
anchorLink={false}
>
<TableOfContents
className="mt-10"
items={[
{
href: '#current',
title: 'Current',
},
{
href: '#future',
title: 'Future',
},
{
href: '#activity',
title: 'Activity',
},
]}
/>
</SiteHeading>
/>
</SectionTransparent>
}
backgroundImage={backgrounds.nateTrickle}
Expand Down
9 changes: 1 addition & 8 deletions apps/website/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,7 @@
"defaultConfiguration": "production",
"options": {
"outputPath": "dist/apps/website",
"postcssConfig": "apps/website/postcss.config.js",
"assets": [
{
"glob": "**/*",
"input": "libs/design-system/src/public/",
"output": "/"
}
]
"postcssConfig": "apps/website/postcss.config.js"
},
"configurations": {
"development": {},
Expand Down

0 comments on commit 40df7ab

Please sign in to comment.