A modern, responsive personal portfolio website built with Astro and TailwindCSS. This project features a terminal-inspired UI with multilingual support (English and Japanese) and dark/light theme options.
- Multi-language Support: Complete English and Japanese localization
- Terminal-inspired UI: Command-line aesthetic with modern web design principles
- Dynamic Content: Content loaded from JSON data files for easy maintenance
- Responsive Design: Optimized for mobile, tablet, and desktop viewing
- Dark/Light Mode: Theme toggle with persistent preferences
- Performance Optimized: Fast page loads with minimal JavaScript
- Project Showcase: Detailed project pages with descriptions, key features, and technical challenges
- SEO Friendly: Meta tags and structured content for better search engine visibility
- Spam Protection: Contact form protected with Cloudflare Turnstile
- Astro - Static site generator with excellent performance
- TailwindCSS - Utility-first CSS framework
- TypeScript - Type-safe JavaScript
- Vue.js - For interactive components (used minimally)
- Vercel - Deployment and hosting
- Cloudflare Turnstile - Bot protection for forms
- Formspree - Form backend service
/
├── public/ # Static assets (images, fonts)
├── src/
│ ├── assets/ # Project assets (processed during build)
│ ├── components/ # Reusable UI components
│ ├── content/ # Markdown content files
│ ├── data/ # JSON data files
│ │ ├── education.json # Education history
│ │ ├── experience.json # Work experience
│ │ ├── interests.json # Personal interests
│ │ ├── projects.json # Project showcase data
│ │ ├── skills.json # Skills and competencies
│ │ └── tech-stack.json # Current technology stack
│ ├── layouts/ # Page layout components
│ ├── pages/ # Page components and routes
│ │ ├── ja/ # Japanese localized pages
│ │ └── ... # English pages (default)
│ ├── styles/ # Global styles and Tailwind config
│ ├── types/ # TypeScript type definitions
│ └── utils/ # Utility functions
│ └── i18n.ts # Internationalization utilities
└── package.json # Project dependencies
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
This site uses JSON data files located in src/data/ for content management:
- Edit work experience, education, skills, etc. by modifying the appropriate JSON files
- Images and other assets can be placed in the
public/directory - Multilingual content uses separate keys for English and Japanese translations
The site supports English and Japanese languages:
- English content is the default
- Japanese content is available at
/ja/routes - Language switching is available in the UI
- Content is structured to support both languages with fallbacks
This site is deployed on Vercel with continuous deployment from the main branch. Configuration settings can be found in vercel.json.
The following environment variables are required for the site to function properly:
# Cloudflare Turnstile Configuration
PUBLIC_TURNSTILE_SITE_KEY=your_turnstile_site_key
TURNSTILE_SECRET_KEY=your_turnstile_secret_key
You can copy the .env.example file to a new .env file and fill in the values. For production deployment, set these variables in your Vercel project settings.
To get Cloudflare Turnstile keys:
- Go to the Cloudflare Turnstile dashboard
- Create a new site
- Copy the site key and secret key to your environment variables
npm create astro@latest -- --template basics🧑🚀 Seasoned astronaut? Delete this file. Have fun!
Inside of your Astro project, you'll see the following folders and files:
/
├── public/
│ └── favicon.svg
├── src/
│ ├── layouts/
│ │ └── Layout.astro
│ └── pages/
│ └── index.astro
└── package.json
To learn more about the folder structure of an Astro project, refer to our guide on project structure.
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
Feel free to check our documentation or jump into our Discord server.
