Personal website built with Vite, React, and Tailwind CSS.
- Modern React application with Vite for fast development and builds
- Responsive design with Tailwind CSS
- Automatic deployment via GitHub Actions
- Custom domain integration
- Node.js (version 14 or later)
- npm or yarn
- Clone the repository:
git clone https://github.com/KAIST19/kzahner.git
cd kzahner- Install dependencies:
npm install
# or
yarn- Start the development server:
npm run dev
# or
yarn dev- Open http://localhost:3000 to view the site in your browser.
To create a production build:
npm run build
# or
yarn buildThe production files will be generated in the dist folder.
This site is deployed to GitHub Pages with automatic deployment configured via GitHub Actions.
You can manually deploy the site with:
npm run deployAny push to the main branch will trigger the GitHub Actions workflow, which will:
- Build the site
- Deploy to GitHub Pages
- Configure the custom domain (kzahner.com)
The site is configured to use kzahner.com as its custom domain. The necessary DNS configuration includes:
-
A records pointing to GitHub Pages IP addresses:
- 185.199.108.153
- 185.199.109.153
- 185.199.110.153
- 185.199.111.153
-
A TXT record for GitHub domain verification:
- Name:
_github-pages-challenge-KAIST19.kzahner.com - Value: [verification code provided by GitHub]
- Name:
kzahner/
├── .github/ # GitHub Actions workflows
├── dist/ # Production build files
├── public/ # Static files
├── src/
│ ├── assets/ # Images, fonts, etc.
│ ├── components/ # React components
│ ├── pages/ # Page components
│ └── routes/ # Route configuration
├── .gitignore
├── index.html # HTML template
├── package.json # Dependencies and scripts
├── tailwind.config.js # Tailwind CSS configuration
└── vite.config.js # Vite configuration
MIT