File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,4 @@ import(`@fontsource/source-sans-pro/${theme.fontWeight.black}.css`)
1010import ( `@fontsource/source-code-pro/${ theme . fontWeight . regular } .css` )
1111import ( `@fontsource/source-code-pro/${ theme . fontWeight . semiBold } .css` )
1212
13- import 'prismjs'
14-
15- import 'prismjs/themes/prism.css'
1613import 'prismjs/themes/prism-okaidia.css'
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ const IndexPage: React.FC = () => {
1010 < MainLayout >
1111 < SEO title = "Home" />
1212 < TextBlock >
13- < code >
14- < pre >
13+ < pre className = "language-javascript" >
14+ < code className = "language-javascript" >
1515 // TODO: Complete website...
1616 < br />
1717 // I'm currently fighting a cancer again. This is the second time.
1818 < br />
1919 // I created a blog about it, which I'm migrating{ ' ' }
2020 < Link to = "/lymphoma" > here</ Link > .
21- </ pre >
22- </ code >
21+ </ code >
22+ </ pre >
2323 </ TextBlock >
2424 </ MainLayout >
2525 )
Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ export const CodePostsListView: React.FC<CodePostsListViewProps> = ({
2121} ) => {
2222 return (
2323 < MainLayout { ...more } >
24- < S . Title > Recent posts about code</ S . Title >
24+ < S . Title >
25+ Recent posts about
26+ < br />
27+ code
28+ </ S . Title >
2529 < S . PostCardList >
2630 { posts . map ( ( post ) => (
2731 < S . PostCardListItem key = { post . id } >
You can’t perform that action at this time.
0 commit comments