Skip to content

Commit

Permalink
feat: refactor components and move to astro
Browse files Browse the repository at this point in the history
  • Loading branch information
colmugx committed Jul 30, 2024
1 parent 6d30303 commit e6bdc3b
Show file tree
Hide file tree
Showing 8 changed files with 7,446 additions and 19 deletions.
3 changes: 1 addition & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
import tailwind from "@astrojs/tailwind";
import svelte from "@astrojs/svelte";
import icon from "astro-icon";
import { remarkReadingTime } from './remark-plugin/reading-time';

// https://astro.build/config
export default defineConfig({
site: 'https://example.com',
integrations: [mdx(), sitemap(), tailwind(), svelte(), icon()],
integrations: [mdx(), sitemap(), tailwind(), icon()],
markdown: {
remarkPlugins: [remarkReadingTime]
}
Expand Down
Binary file removed bun.lockb
Binary file not shown.
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,18 @@
"version": "0.0.1",
"description": "A clear theme for astro blog.",
"scripts": {
"dev": "bunx --bun astro dev",
"start": "bunx --bun astro dev",
"build": "bunx --bun astro check && bunx --bun astro build",
"preview": "bunx --bun astro preview",
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro",
"build:ci": "astro check && astro build"
},
"dependencies": {
"@astrojs/check": "^0.4.1",
"@astrojs/mdx": "^2.1.0",
"@astrojs/check": "^0.8.3",
"@astrojs/mdx": "^3.1.3",
"@astrojs/rss": "^4.0.4",
"@astrojs/sitemap": "^3.0.5",
"@astrojs/svelte": "^5.3.0",
"@astrojs/tailwind": "^5.1.0",
"@designbycode/tailwindcss-text-stroke": "^1.2.1",
"@tailwindcss/typography": "^0.5.10",
Expand All @@ -28,7 +27,6 @@
"postcss-nested": "^6.0.1",
"reading-time": "^1.5.0",
"sanitize-html": "^2.13.0",
"svelte": "^4.2.12",
"tailwindcss": "^3.4.1",
"typescript": "^5.4.3"
},
Expand Down
Loading

0 comments on commit e6bdc3b

Please sign in to comment.