Skip to content

Commit

Permalink
Convert to Astro (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanty authored Mar 5, 2024
1 parent 9dd397f commit 461b072
Show file tree
Hide file tree
Showing 109 changed files with 9,697 additions and 989 deletions.
20 changes: 18 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
# build output
dist/
# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*

# environment variables
.env
.env.production

# macOS-specific files
.DS_Store

# IDE
.idea/
public/
static/processed_images
12 changes: 12 additions & 0 deletions .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/** @type {import("prettier").Config} */
export default {
plugins: ["prettier-plugin-astro"],
overrides: [
{
files: "*.astro",
options: {
parser: "astro",
},
},
],
};
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ This repo serves a few purposes:

## What tech does this repo use?

I'm glad you asked! [There's a blog post](https://dylananthony.com/posts/new-year-new-website) which talks about it.
[Astro](https://astro.build), [there's a blog post](https://dylananthony.com/posts/and-now-astro) explaining why I chose it.
17 changes: 17 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";

import tailwind from "@astrojs/tailwind";

// https://astro.build/config
export default defineConfig({
site: "https://dylananthony.com",
integrations: [mdx(), sitemap(), tailwind({ applyBaseStyles: false })],
redirects: {
"/": "/blog",
},
markdown: {
syntaxHighlight: "prism",
},
});
35 changes: 0 additions & 35 deletions config.toml

This file was deleted.

10 changes: 0 additions & 10 deletions content/blog/_index.md

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed content/blog/fastapi-rust-1-intro/cover.acorn
Binary file not shown.
Binary file removed content/blog/fastapi-rust-2-research/cover.acorn
Binary file not shown.
Binary file not shown.
Binary file removed content/blog/fastapi-rust-4-a-solution/cover.acorn
Binary file not shown.
Binary file removed content/blog/fastapi-rust-5-rocket-0-5/cover.acorn
Binary file not shown.
Binary file removed content/blog/fastapi-rust-6-aws-lambda/cover.acorn
Binary file not shown.
Binary file removed content/blog/graphql-lambda-rust/cover.acorn
Binary file not shown.
Binary file not shown.
Binary file removed content/blog/intro/cover.acorn
Binary file not shown.
Binary file not shown.
4 changes: 0 additions & 4 deletions content/projects/_index.md

This file was deleted.

3 changes: 0 additions & 3 deletions content/projects/categories.json

This file was deleted.

15 changes: 0 additions & 15 deletions content/projects/openapi-python-client/index.md

This file was deleted.

4 changes: 0 additions & 4 deletions netlify.toml

This file was deleted.

Loading

0 comments on commit 461b072

Please sign in to comment.