Astro作品集

void — Astro 作品集模板

作者 JorgeRosbel

Void 是一个基于 Astro 与 TailwindCSS 的极简多语言作品集模板,使用 @ariaskit/astro-i18n 提供英语、西班牙语和葡萄牙语支持,采用 MIT 许可。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

3 个预览视图
桌面端首页1 / 3
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 3

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-03查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

基于 Astro 的静态站点生成,默认不输出多余 JavaScript

02

通过 @ariaskit/astro-i18n 内置英语、西班牙语、葡萄牙语三种语言

03

翻译文案集中在 /i18n/ 目录的 JSON 文件中,便于统一维护

04

使用 TailwindCSS 与 Lucide 图标,包含 Hero、Projects、Experience 等组件

05

页面按 [lang] 动态路由组织,根路径自动重定向

06

采用 MIT 许可,允许使用、修改、商用与分发

模板详细介绍

Void 是一个面向个人作品集场景的静态站点模板,由 JorgeRosbel 维护,仓库采用 MIT 许可。模板以 Astro 为框架、TailwindCSS 负责样式、Lucide 提供图标,并使用 @ariaskit/astro-i18n 实现国际化。

内容结构上,模板内置 Hero、Projects、Experience 等组件,页面按 [lang] 动态路由生成,根路径做重定向。翻译文案集中存放在 /i18n/ 目录下的 en.json、es.json、pt.json 中,覆盖导航、首屏、项目描述、经历与联系方式等键值。

多语言方面,默认语言为英语,另附西班牙语和葡萄牙语;新增语言需要新建对应 JSON 文件、在 getStaticPaths 中注册新 locale,并按需调整 i18n 库配置。构建脚本 pnpm build 会执行 i18n 校验。

使用限制:模板为静态站点,未包含后端、数据库或表单处理逻辑;演示图片、字体、图标等第三方素材需自行核对许可,不能仅凭代码的 MIT 许可判断;README 中提到的部署平台仅为可选项,不代表模板已针对这些平台做特殊适配。

Astro作品集

适合你的项目吗?

适用场景

  • 搭建个人作品集网站并需要多语言展示
  • 以英语为主、同时面向西班牙语或葡萄牙语访客的开发者主页
  • 需要静态托管、不依赖后端服务的个人站点
  • 作为学习 Astro 动态路由与 i18n 集成的示例项目

适合人群

  • 具备 Astro 与 TailwindCSS 基础、能自行调整组件与样式的开发者
  • 需要英语、西班牙语或葡萄牙语作品集页面的个人
  • 偏好静态站点、计划部署到 Vercel、Netlify、GitHub Pages 或 Cloudflare Pages 的用户

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    需要 Node.js 18 及以上版本,推荐使用 pnpm 作为包管理器

  2. 2

    克隆仓库后执行 pnpm install 安装依赖,pnpm dev 启动本地开发服务器(默认 http://localhost:4321)

  3. 3

    修改 /i18n/ 下的 JSON 文件可更新姓名、职位、项目、经历与联系方式等文案

  4. 4

    新增语言需在 /i18n/ 创建对应 JSON,并在 src/pages/[lang]/index.astro 的 getStaticPaths 中注册

  5. 5

    pnpm build 用于生产构建并包含 i18n 校验,pnpm preview 可预览构建结果

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-03。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
Astro Themes
资料与维护参考分
资料较完整 · 87 / 100
技术栈
Astro
网站类型
作品集
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-02-10
截图检查日期
2026-10-03

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Astro。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

审核声明: [email protected] · 2026-10-04

查看当时使用的来源资料

SHA-256: 39d608117641c9780376570dce1549f2eee4f1f6be970568729c06e8d46b7a0e

2026-10-03T23:12:11.577Z

来源文件 / 仓库
# Void - Minimalist Multilingual Portfolio Template

A clean, minimalist portfolio template built with Astro and TailwindCSS, featuring full internationalization support using `@ariaskit/astro-i18n`.

![Hero](.github/571_1x_shots_so.png)

## ✨ Features

- **🌍 Multilingual Support** - Built-in i18n with English, Spanish, and Portuguese
- **⚡ Astro 5** - Fast, modern static site generation
- **🎨 TailwindCSS 4** - Utility-first styling with dark mode
- **📱 Responsive Design** - Mobile-first approach
- **🔍 SEO Optimized** - Sitemap, meta tags
- **🚀 Zero JS by Default** - Minimal JavaScript for optimal performance
- **📝 TypeScript** - Full type safety throughout

## 🛠 Tech Stack

- **Framework**: [Astro](https://astro.build/)
- **Styling**: [TailwindCSS](https://tailwindcss.com/)
- **Icons**: [Lucide](https://lucide.dev/)
- **Internationalization**: [@ariaskit/astro-i18n](https://github.com/JorgeRosbel/astro-i18n)
- **Package Manager**: pnpm

## 🚀 Quick Start

### Prerequisites

- Node.js 18+ 
- pnpm (recommended)

### Installation

```bash
# Clone the repository
git clone https://github.com/JorgeRosbel/void.git
cd void

# Install dependencies
pnpm install

# Start development server
pnpm dev
```

Your site will be available at `http://localhost:4321`.

### Build & Deploy

```bash
# Build for production
pnpm build

# Preview production build
pnpm preview
```

## 🌐 Internationalization

This template uses `@ariaskit/astro-i18n` for seamless multilingual support. The i18n system is configured for:

- **English** (`en`) - Default locale
- **Spanish** (`es`)
- **Portuguese** (`pt`)

### Adding New Languages

1. Create a new JSON file in `/i18n/` (e.g., `fr.json`)
2. Copy the structure from `en.json`
3. Add the new locale to `src/pages/[lang]/index.astro` in the `getStaticPaths` function
4. Update the i18n library configuration if needed

### Translation Files

All translations are stored in `/i18n/`:
- `en.json` - English translations
- `es.json` - Spanish translations  
- `pt.json` - Portuguese translations

Each file contains the same structure with keys for:
- Navigation items
- Hero section content
- Project descriptions
- Experience details
- Contact information

## 📁 Project Structure

```
void/
├── public/              # Static assets
├── src/
│   ├── assets/         # Images and static files
│   ├── components/     # Astro components
│   │   ├── Hero.astro
│   │   ├── Projects.astro
│   │   ├── Experience.astro
│   │   └── ...
│   ├── layouts/        # Page layouts
│   ├── pages/          # Route pages
│   │   ├── index.astro      # Root redirect
│   │   └── [lang]/          # Localized pages
│   └── styles/         # Global styles
├── i18n/               # Translation files
├── astro.config.mjs    # Astro configuration
└── package.json        # Dependencies
```

## 🎨 Customization

### Personal Information

Edit the translation files in `/i18n/` to update:
- Personal name and title
- Project descriptions
- Experience details
- Contact information

### Styling

The template uses TailwindCSS with a dark theme. Customize colors and styles in:
- Global CSS classes in components
- Tailwind configuration (if needed)

### Adding New Sections

1. Create new components in `/src/components/`
2. Add translation keys to all i18n files
3. Import and use components in `/src/pages/[lang]/index.astro`

## 🔧 Configuration

### Site Configuration

Update `astro.config.mjs` to change:
- Site URL (`site` property)
- Add/remove integrations

### Package Scripts

- `pnpm dev` - Start development server
- `pnpm build` - Build for production (includes i18n validation)
- `pnpm preview` - Preview production build

## 🌍 Deployment

This template works great with:

- **Vercel** - Zero-config deployment
- **Netlify** - Simple static site hosting
- **GitHub Pages** - Free static hosting
- **Cloudflare Pages** - Global CDN


## 📝 License

MIT License - feel free to use this template for your projects!

## 🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## 📚 Learn More

- [Astro Documentation](https://docs.astro.build/)
- [TailwindCSS Documentation](https://tailwindcss.com/docs)
- [@ariaskit/astro-i18n Documentation](https://github.com/JorgeRosbel/astro-i18n)

---

**Built with ❤️ using Astro and TailwindCSS**
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。