Skip to content

Commit

Permalink
now: add now page
Browse files Browse the repository at this point in the history
  • Loading branch information
manila committed Mar 21, 2024
1 parent 0c3d364 commit f3cb515
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ const config = {
blogSidebarCount: 0,
},
],
/*
[
'@docusaurus/plugin-content-pages',
{
Expand All @@ -98,7 +97,6 @@ const config = {
routeBasePath: '/',
},
],
*/
],

themeConfig:
Expand Down
35 changes: 35 additions & 0 deletions pages/now/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import React from 'react';
import clsx from 'clsx';
import Heading from '@theme/Heading';
import Layout from '@theme/Layout';
import { useBlogPost } from '@docusaurus/theme-common/internal';

function Space() {
return (<><p dangerouslySetInnerHTML={{__html: '&nbsp;'}} /></>);
}
export default function Now() {
console.log(useBlogPost())
return (
<Layout>
<main className={clsx('container margin-vert--xl')}>
<div className="row">
<div className="col col--6 col--offset-3">
<Heading as="h1" className="hero__title">Manuel Nila</Heading>
<Heading as="h2">/now</Heading>
<Space />
<Heading as="h3">Profession:</Heading>
<p>Engineering @ BuzzFeed</p>
<Space />
<Heading as="h3">Specialty:</Heading>
<p>Cloud Engineering (Kubernetes & GCP)</p>
<Space />
<Heading as="h3">Links:</Heading>
<p><a href="https://manic.so/projects">manic.so/projects</a></p>
<p><a href="https://github.com/manila">github.com/manila</a></p>
<p><a href="https://glitch.com/@manila">glitch.com/@manila</a></p>
</div>
</div>
</main>
</Layout>
);
}

0 comments on commit f3cb515

Please sign in to comment.