website

#astro#js#html#css

git clone https://git.pyrossh.dev/website

木 Personal website of pyrossh. Built with astrojs, shiki, vite.


45ef028 — pyrossh 2025-05-29T10:56:10+05:30
remove tailwind dep

Generated files not shown: bun.lock

astro.config.mjs CHANGED
@@ -22,9 +22,6 @@ export default defineConfig({
22
22
  }]
23
23
  },
24
24
  vite: {
25
- plugins:
25
+ plugins: [],
26
- [
27
- tailwindcss()
28
- ],
29
26
  },
30
27
  });
package.json CHANGED
@@ -8,14 +8,12 @@
8
8
  "publish": "rm -rf build && bun run build && tar -C dist -cvz . > site.tar.gz && hut pages publish -d pyrossh.dev site.tar.gz && rm site.tar.gz"
9
9
  },
10
10
  "dependencies": {
11
+ "@appzic/astro-reset-css": "^1.2.0",
11
12
  "@astrojs/mdx": "^4.2.5",
12
13
  "@astrojs/rss": "^4.0.11",
13
14
  "@astrojs/sitemap": "^3.3.1",
14
- "@effective/css-reset": "^3.2.0",
15
- "@tailwindcss/vite": "^4.1.4",
16
15
  "astro": "^5.7.5",
17
16
  "simple-git": "^3.27.0",
18
- "tailwindcss": "^4.1.4",
19
17
  "timeago.js": "^4.0.2"
20
18
  },
21
19
  "devDependencies": {
src/layouts/Base.astro CHANGED
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  import { Font } from "astro:assets";
3
+ import ResetCSS from "@appzic/astro-reset-css";
3
4
  import Header from "@/components/Header.astro";
4
5
  import Footer from "@/components/Footer.astro";
5
6
  import Wrapper from "@/components/Wrapper.astro";
6
- // import "@effective/css-reset";
7
7
  import "./Base.css";
8
8
 
9
9
  interface Props {
@@ -54,6 +54,7 @@ const image = "/favicon.png";
54
54
  <meta property="twitter:description" content={description} />
55
55
  <meta property="twitter:image" content={new URL(image, Astro.url)} />
56
56
  <Font cssVariable="--font-roboto" preload />
57
+ <ResetCSS />
57
58
  </head>
58
59
  <body>
59
60
  <Header />
src/layouts/Base.css CHANGED
@@ -1,5 +1,3 @@
1
- @import "tailwindcss";
2
-
3
1
  :root {
4
2
  --color-accent: #f1fa8c;
5
3
  --color-black: #000000;
src/pages/index.astro CHANGED
@@ -26,7 +26,6 @@ import styles from "./index.module.css";
26
26
  I like to build frameworks and automate common tasks to make it easier to
27
27
  develop applications.
28
28
  </p>
29
- <button data-variant="primary">Button 1</button>
30
29
  <p>
31
30
  I enjoy working on open-source projects, and during the last decade,
32
31
  I've created a number of projects that are widely used.