Browse Source

Add public inbox links

restructure
Garrit Franke 3 years ago
parent
commit
71532a80ab
  1. 3
      components/Meta.js
  2. 2
      components/Profile.js
  3. 6
      pages/api/hello.js
  4. 1
      pages/posts/[post].js

3
components/Meta.js

@ -229,7 +229,8 @@ export default function Meta(props) {
// FIXME: I could not get this to work inside the post component,
// but here it apparently works. Maybe an overriding selector?
.blog__body a {
.blog__body a,
.blog__footer a {
text-decoration: underline;
}
`}

2
components/Profile.js

@ -6,6 +6,8 @@ export default function Profile(props) {
<img src="/me.jpg"></img>
<h2>Garrit Franke</h2>
<p>Random tips, tricks and thoughts about software</p>
<Link href="https://lists.sr.ht/~garritfra/public-inbox">Public Inbox</Link>
<br />
<Link href="https://garrit.xyz">Website</Link>
<br />
<Link href="https://github.com/garritfra">Github</Link>

6
pages/api/hello.js

@ -1,6 +0,0 @@
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
export default (req, res) => {
res.statusCode = 200
res.json({ name: 'John Doe' })
}

1
pages/posts/[post].js

@ -26,6 +26,7 @@ export default function BlogTemplate(props) {
</div>
<div className="blog__body">
<ReactMarkdown source={props.markdownBody} />
<p>Comments? Drop a mail in my <a href="https://lists.sr.ht/~garritfra/public-inbox">public inbox.</a></p>
</div>
<div className="blog__footer">
<h2>Written By: Garrit Franke</h2>

Loading…
Cancel
Save