Skip to content

Commit 4f5b8b4

Browse files
committed
feature: fuck you material ui. Hello shadcn and tailwind 🚀
1 parent a544b8f commit 4f5b8b4

29 files changed

Lines changed: 3791 additions & 2271 deletions

README.md

Lines changed: 51 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,75 @@ This is the repository of our official website [webdevtalks](http://webdevtalks.
88

99
- React
1010
- TypeScript
11-
- Material UI
11+
- Vite
12+
- Tailwind CSS
13+
- Radix UI primitives
14+
- React Router
15+
- i18next
1216

1317
## Getting Started
1418

1519
### Prerequisites
1620

17-
- Node.js
18-
- Yarn
21+
- Node.js 18+
22+
- npm
1923

2024
### Installation
2125

2226
1. Clone the repository:
27+
2328
```bash
2429
git clone git@github.com:webdevtalks/webdevtalks.github.io.git
2530
```
31+
2632
2. Navigate into the project directory:
33+
2734
```bash
2835
cd webdevtalks.github.io
2936
```
37+
3038
3. Install dependencies:
39+
3140
```bash
32-
yarn install
41+
npm ci
3342
```
43+
3444
4. Start the development server:
45+
3546
```bash
36-
yarn dev
37-
```
47+
npm run dev
48+
```
49+
50+
## Available Scripts
51+
52+
- `npm run dev`: start the Vite dev server
53+
- `npm run build`: type-check and create the production build in `dist/`
54+
- `npm run lint`: run ESLint
55+
- `npm run preview`: preview the production build locally
56+
57+
## Environment
58+
59+
The app uses `VITE_BASE_URL` for routing and i18n asset loading.
60+
61+
Current local setup:
62+
63+
```bash
64+
VITE_BASE_URL=''
65+
```
66+
67+
Use the correct base path if the site is deployed under a subdirectory.
68+
69+
## Deployment
70+
71+
Deployment is handled by GitHub Actions in [.github/workflows/gh-pages.yml](/Users/staff/projects/webdevtalsk2.0/.github/workflows/gh-pages.yml).
72+
73+
On every push to `main`, the workflow:
74+
75+
1. Installs dependencies with `npm ci`
76+
2. Builds the app with `npm run build`
77+
3. Deploys the contents of `dist/` to GitHub Pages
78+
79+
The repo also includes:
80+
81+
- [404.html](/Users/staff/projects/webdevtalsk2.0/404.html) for GitHub Pages SPA routing
82+
- [CNAME](/Users/staff/projects/webdevtalsk2.0/CNAME) for the custom domain

0 commit comments

Comments
 (0)