基于 Astro 构建,配合 React 与 TypeScript 组件
dark-minimal — Astro 作品集模板
作者 Gothsec
Dark minimal 是一个基于 Astro、React 与 Tailwind CSS 的深色作品集模板,采用 MIT 许可,包含首页、项目列表、技能展示与联系表单等组件。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 2
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
使用 Tailwind CSS 进行样式定制
包含首页、项目、技能、导航、页脚与联系表单等区块
内置 ReactBits 的 LetterGlitch 交互组件
页脚支持嵌入 Spotify 专辑
联系表单通过 Formspree 端点接收提交
模板详细介绍
Dark minimal 是 Gothsec 在 GitHub 上发布的 Astro 作品集模板,使用 React、TypeScript 与 Tailwind CSS 构建,界面由 Figma 设计。模板提供深色风格的首页、项目展示、技能列表、导航、页脚与联系表单等页面区块,并内置来自 ReactBits 的 LetterGlitch 交互组件。
内容层面,模板在 src/components 下以 home.astro、projects.astro、contact.astro、footer.astro、nav.astro、logoWall.astro 等文件组织文本与链接,需要手动替换占位信息;src/layouts/Layout.astro 集中管理标题、描述、canonical、OG 标签与 JSON-LD。样式通过 Tailwind CSS 配置调整,React 组件位于 src/React 目录。
模板包含两项需要外部服务的配置:页脚通过 Spotify 嵌入 iframe 展示专辑,联系表单依赖 Formspree 端点。README 给出了这两处的具体替换步骤,并说明可部署到 Vercel、Netlify 或 GitHub Pages。本地运行需要 Node.js 与 npm 或 pnpm。
适合你的项目吗?
适用场景
- 搭建个人作品集网站,展示项目、技能与联系方式
- 作为 Astro 与 React 混合项目的起步模板进行二次开发
- 需要深色视觉风格与交互组件的个人主页
- 通过 Formspree 与 Spotify 嵌入快速补充表单和音乐展示
适合人群
- 熟悉 Astro 或 React 的前端开发者
- 希望以 MIT 许可免费使用并修改代码的个人开发者
- 需要快速替换占位内容并部署到 Vercel、Netlify 或 GitHub Pages 的用户
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
本地运行需要 Node.js(README 建议 v18 或更高)以及 npm 或 pnpm,克隆仓库后执行 npm install 与 npm run dev。
- 2
使用前需替换 src/layouts/Layout.astro 中的 title、description、canonical、OG 标签与 JSON-LD,以及各组件内的姓名、链接与项目占位内容。
- 3
联系表单需在 Formspree 创建表单并将 src/components/contact.astro 中 form 的 action 替换为实际端点。
- 4
Spotify 展示需在 src/components/footer.astro 中替换嵌入 iframe 的专辑 ID。
- 5
代码采用 MIT 许可,分发时需保留版权与许可声明;演示图片、字体、图标等第三方素材需单独核对许可。
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 联系表单依赖 Formspree 外部服务,需注册 Formspree 账号并创建表单,将 contact.astro 中 form 的 action 替换为个人端点 URL 才能正常接收提交。
- 页脚 Spotify 专辑展示需从 Spotify 获取嵌入代码并替换 footer.astro 中的 iframe,属于外部服务依赖。
- README 提及 Formspree 表单服务;真实提交需配置服务端点,其使用额度与费用需单独核对。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Create an account on [Formspree](https://formspree.io/)
README 原文
https://github.com/Gothsec/dark-minimal/blob/main/LICENSEhttps://github.com/Gothsec/dark-minimal/blob/main/README.mdSelect 'copy embed code'
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-01。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 96 / 100
- 技术栈
- Astro · React
- 网站类型
- 作品集
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-09-29
- 截图检查日期
- 2026-10-01
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Astro。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: c505427db8ec40f0def66982b9995e3d90e9eb2bd20f44539575789a60ed470f
2026-10-01T14:05:22.844Z
来源文件 / 仓库# Dark minimal
> Highly customizable and performant portfolio template built with Astro, React, and Tailwind CSS.
<img width="1920" height="1080" alt="astro-portfolio" src="https://github.com/user-attachments/assets/0df80067-5fe2-4c24-90c4-4eb28e1a7508" />

[](https://astro.build)
---
[Demo](https://darkminimal.vercel.app) | [Astro Themes](https://astro.build/themes/details/darkminimal/) | [ReactBits Showcase](https://www.reactbits.dev/showcase)
## **Features**
- **Blazing fast performance** powered by Astro
- **Beautifully styled** with Tailwind CSS
- **Spotify integration** for showcasing your favorite album
- **Working contact form** powered by Formspree
- **Interactive UI** including the `<LetterGlitch />` component from [ReactBits.dev](https://www.reactbits.dev/)
## **Stack**
### **Frontend**



### **Tools**



## **Configuration Guides**
### **Show your favorite Spotify album (or your own)** 
1. Choose your Spotify album
2. Access the share options
3. Select 'copy embed code'
```html
<iframe src="https://open.spotify.com/embed/album/YOUR_ALBUM_ID_HERE" style="border-radius:12px border:0;" class="w-full h-40" frameborder="0" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"></iframe>
```
4. Insert the embed code on `src/Components/footer.astro`
### **Set up contact form (Formspree)** 
1. Create an account on [Formspree](https://formspree.io/)
2. Create a new project/form and copy your form endpoint URL (it looks like `https://formspree.io/f/your_id`)
3. Open the `src/Components/contact.astro` file
4. Replace the `action` attribute in the `<form>` tag with your endpoint URL:
```html
<form action="https://formspree.io/f/YOUR_FORM_ID_HERE" method="POST">
```
## **Customization Checklist**
Before deploying your own instance, make sure to update these placeholder values with your real information:
- **`src/layouts/Layout.astro`**: Update `title`, `description`, `canonical` URL, `og` tags, and the JSON-LD schema with your own details.
- **`src/components/home.astro`**: Change the greeting "Your Name" and update the GitHub, LinkedIn, and email URLs.
- **`src/components/projects.astro`**: Replace the generic projects (Project One, etc.) with your own, including titles, descriptions and links.
- **`src/components/footer.astro`**: Update the social links, change the Spotify iframe to your playlist, and update the copyright name.
## **Customization**
To make this portfolio your own, you can edit the following files:
- **Global Settings:** Update metadata and title in `src/layouts/Layout.astro`.
- **Content:** Modify the text, links, and details inside the components in `src/Components/` (e.g., `home.astro`, `projects.astro`, `contact.astro`).
- **Styling:** The design uses Tailwind CSS. You can adjust the theme configuration in `tailwind.config.mjs` and custom styles if needed.
## **Project structure**
```text
public/
└── svg/
src/
├── Components/
| ├── contact.astro
| ├── footer.astro
| ├── home.astro
| ├── logoWall.astro
| ├── nav.astro
| └── projects.astro
├── layouts/
| └── Layout.astro
├── React/
| ├── LetterGlitch.tsx
| ├── LikeButton.tsx
| └── SkillsList.tsx
└── pages/
└── index.astro
```
## **Local configuration**
### Prerequisites
- **Node.js** (v18 or higher recommended)
- **npm** or **pnpm**
1. Clone the repo:
```bash
git clone https://github.com/Gothsec/dark-minimal
```
2. Install dependencies:
```bash
npm install
```
3. Start the development server:
```bash
npm run dev
```
## **Deployment**
This project is built with Astro and can be easily deployed to Vercel, Netlify, or GitHub Pages. For the easiest setup, push your repository to GitHub and import it directly into [Vercel](https://vercel.com/) or [Netlify](https://www.netlify.com/).
> This project is licensed under the [MIT License](https://opensource.org/licenses/mit).
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

astro-theme-cactus
A simple Astro theme. Use it to create your blog or website.
Astro · 作品集

astrofy
Astrofy is a free and open-source template for your Personal Portfolio Website built with Astro and TailwindCS…
Astro · 作品集

astro-nano
Astro Nano is a static, minimalist, lightweight, lightning fast portfolio and blog.
Astro · 作品集

astro-erudite
An opinionated, unstyled static blogging template built with Astro and native CSS.
Astro · 作品集

astro-sphere
Astro Sphere is a static, minimalist, lightweight, lightning fast portfolio and blog.
Astro · 作品集

astro-micro
Blog theme for Astro with search and comments built-in. Zero frameworks.
Astro · 作品集
