generated from nhcarrigan/template
Compare commits
3 Commits
24218f53e6
...
v1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 2de1f4e36e | |||
| 297948fb46 | |||
| 0dd715f9a1 |
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "announcements",
|
"name": "blog",
|
||||||
"version": "0.1.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev -p 3003",
|
"dev": "next dev -p 3003",
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "OpenDyslexic", monospace;
|
font-family: "Vampyr", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
|||||||
+1
-1
@@ -24,7 +24,7 @@ const Home = (): JSX.Element => {
|
|||||||
<h2><a className="underline" href={`/post/${post.slug}`}>{post.data.title}</a></h2>
|
<h2><a className="underline" href={`/post/${post.slug}`}>{post.data.title}</a></h2>
|
||||||
<p className="italic text-center">{post.data.date.toLocaleDateString("en-GB", { day: "numeric", month: "long", year: "numeric" })}</p>
|
<p className="italic text-center">{post.data.date.toLocaleDateString("en-GB", { day: "numeric", month: "long", year: "numeric" })}</p>
|
||||||
<p className="text-center">{post.data.summary}</p>
|
<p className="text-center">{post.data.summary}</p>
|
||||||
<p className="text-center">{`A ${post.data.readtime} read.`}</p>
|
<p className="text-center">{`A ${post.data.readtime}.`}</p>
|
||||||
</div>;
|
</div>;
|
||||||
})}
|
})}
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ const Page = async({
|
|||||||
{ day: "numeric", month: "long", weekday: "long", year: "numeric" },
|
{ day: "numeric", month: "long", weekday: "long", year: "numeric" },
|
||||||
)}`}</p>
|
)}`}</p>
|
||||||
<h2 className="text-center">{post.data.summary}</h2>
|
<h2 className="text-center">{post.data.summary}</h2>
|
||||||
<p className="text-center">{`A ${post.data.readtime} read.`}</p>
|
<p className="text-center">{`A ${post.data.readtime}.`}</p>
|
||||||
<Rule />
|
<Rule />
|
||||||
<Markdown rehypePlugins={[ rehypeRaw ]} remarkPlugins={[ remarkGfm ]}>
|
<Markdown rehypePlugins={[ rehypeRaw ]} remarkPlugins={[ remarkGfm ]}>
|
||||||
{post.content}
|
{post.content}
|
||||||
|
|||||||
Reference in New Issue
Block a user