Skip to content

Commit

Permalink
chore: update footer and add basic syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
ericrallen committed Mar 5, 2024
1 parent 5d05fc4 commit 8e7d6a4
Show file tree
Hide file tree
Showing 8 changed files with 255 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dead Villager Dead Adventurer Games

This is the repository that hosts the blog for DVDA Games.
This is the repository that hosts the [DVDA Games Blog](https://blog.dvdagames.com/)

It uses Next.js's `blog-starter` template as a base.
218 changes: 217 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@
"next": "14.1.0",
"react": "^18",
"react-dom": "^18",
"rehype-highlight": "^7.0.0",
"rehype-remark": "^10.0.0",
"remark": "^15.0.1",
"remark-gfm": "^4.0.0",
"remark-html": "^16.0.1"
"remark-html": "^16.0.1",
"remark-rehype": "^11.1.0"
},
"devDependencies": {
"@types/node": "^20",
Expand Down
23 changes: 15 additions & 8 deletions src/app/_components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,21 @@ export function Footer() {
<footer className="bg-neutral-50 border-t border-neutral-200">
<Container>
<div className="py-28 flex flex-col lg:flex-row items-center">
<h3 className="text-4xl lg:text-[2.5rem] font-bold tracking-tighter leading-tight text-center lg:text-left mb-10 lg:mb-0 lg:pr-4 lg:w-1/2">
Mostly silly game stuff.
</h3>
<div className="flex flex-col lg:flex-row justify-center items-center lg:pl-4 lg:w-1/2">
hello [at] dvdagames.com
<a href={`https://github.com/dvdagames/`} className="mx-3 font-bold hover:underline">
GitHub
</a>
<div className="flex flex-col lg:w-1/2">
<h3 className="text-4xl lg:text-[2.5rem] font-bold tracking-tighter leading-tight text-center lg:text-left mb-10 lg:mb-0 lg:pr-4">
Get in Touch
</h3>
<div className="">hello [at] dvdagames.com</div>
</div>
<div className="flex flex-col lg:w-1/2 items-end">
<ul className="flex flex-row">
<li className="mr-3">
<a href={`https://github.com/dvdagames/`}>GitHub</a>
</li>
<li>
<a href={`https://twitter.com/dvdagames`}>Twitter</a>
</li>
</ul>
</div>
</div>
</Container>
Expand Down
4 changes: 2 additions & 2 deletions src/app/_components/markdown-styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
@apply border-l-4 border-gray-300 pl-4;
}

.markdown a {
@apply text-blue-500 underline;
.markdown code {
@apply bg-gray-100 px-2 py-1 rounded;
}
6 changes: 5 additions & 1 deletion src/app/globals.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind utilities;

a {
@apply text-blue-500 underline;
}
1 change: 1 addition & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default function RootLayout({
<meta name="msapplication-config" content="/favicon/browserconfig.xml" />
<meta name="theme-color" content="#000" />
<link rel="alternate" type="application/rss+xml" href="/feed.xml" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github-dark.min.css" />
</head>
<body className={ibm.className}>
<div className="min-h-screen">{children}</div>
Expand Down
Loading

0 comments on commit 8e7d6a4

Please sign in to comment.