67 lines
5.8 KiB
Markdown
67 lines
5.8 KiB
Markdown

|
||
|
||
<div align="center">
|
||
|
||
## dev.2ha.me
|
||
### frok by [enscribe.dev](https://github.com/jktrn/enscribe.dev.git)
|
||
|
||
[![Code License]](LICENSE.md)
|
||
|
||
[dev.2ha.me](https://dev.2ha.me) 是我在学习[Next.js](https://nextjs.org/)时练手的项目,我从[tailwind-nextjs-starter-blog](https://github.com/timlrx/tailwind-nextjs-starter-blog)项目的Examples发现了[enscribe.dev](https://github.com/jktrn/enscribe.dev.git),[dev.2ha.me](https://dev.2ha.me)和[enscribe.dev](https://github.com/jktrn/enscribe.dev.git)使用了相同的架构,如[Astro](https://astro.build/), [Tailwind](https://tailwindcss.com/), 和 [shadcn/ui](https://ui.shadcn.com/)。在此基础修改了一些API展示为中国国内的平台数据, 主体框架与[enscribe.dev](https://github.com/jktrn/enscribe.dev.git)的3.0版本一致。
|
||
</div>
|
||
|
||
---
|
||
|
||
## 技术栈
|
||
|
||
这些是原[enscribe.dev](https://github.com/jktrn/enscribe.dev.git)使用到的技术栈
|
||
|
||
| Category | Technology Name |
|
||
| ------------------- | -------------------------------------------------------------------------------------------------- |
|
||
| Framework | [Astro](https://astro.build/) |
|
||
| Styling | [Tailwind](https://tailwindcss.com) |
|
||
| Components | [shadcn/ui](https://ui.shadcn.com/) |
|
||
| Content | [MDX](https://mdxjs.com/) |
|
||
| Syntax Highlighting | [Shiki](https://github.com/shikijs/shiki) + [rehype-pretty-code](https://rehype-pretty.pages.dev/) |
|
||
| Graphics | [Figma](https://www.figma.com/) |
|
||
| Deployment | [Vercel](https://vercel.com) |
|
||
|
||
|
||
> [!NOTE]
|
||
> [dev.2ha.me](https://dev.2ha.me) 是基于 [enscribe.dev](https://github.com/jktrn/enscribe.dev.git) 这个项目的。如果您想参考其他样例的代码库或者使用其中的组件,可以查看[enscribe.dev](https://github.com/jktrn/enscribe.dev.git)或者[tailwind-nextjs-starter-blog](https://github.com/timlrx/tailwind-nextjs-starter-blog)项目的Examples;
|
||
> 我在[enscribe.dev](https://github.com/jktrn/enscribe.dev.git)基础上添加了网易云音乐,GiteaCalendar的支持,替换了原[enscribe.dev](https://github.com/jktrn/enscribe.dev.git)背景图片,修改为我自己喜欢的风格。
|
||
|
||
| Category | Technology Name |
|
||
| ------------------- | -------------------------------------------------------------------------------------------------- |
|
||
| Components | [MagicUI](magicui.design), [reactbits](https://www.reactbits.dev/), [startlight](https://starlight.astro.build/), [CultUi](https://www.cult-ui.com/) |
|
||
| API | [githubCalendar](https://github.com/luckykeeper/giteaCalendar) |
|
||
---
|
||
|
||
## 许可
|
||
|
||
### 原始模板
|
||
|
||
摘自许可证中的 “原始模板许可证 ”部分:
|
||
|
||
> 本网站基于 [enscribe.dev](https://github.com/jktrn/enscribe.dev.git),而 [enscribe.dev](https://github.com/jktrn/enscribe.dev.git) 是基于 [jktrn/astro-erudite](https://github.com/jktrn/astro-erudite)的, [jktrn/astro-erudite](https://github.com/jktrn/astro-erudite)则衍生自松散的 MIT 许可项目 [trevortylerlee/astro-micro](https://github.com/trevortylerlee/astro-micro)
|
||
|
||
[enscribe.dev](https://github.com/jktrn/enscribe.dev.git)的许可可以查看enscribe.dev的[Licence](https://github.com/jktrn/enscribe.dev/blob/main/LICENSE.md)文件
|
||
### 站点代码
|
||
|
||
[![Code License]](LICENSE.md)
|
||
> 本许可证特别适用于对 [enscribe.dev](https://github.com/jktrn/enscribe.dev.git)(基于[jktrn/astro-erudite](https://github.com/jktrn/astro-erudite)) 模板所做的自定义修改。它并不延伸至原始模板代码,原始模板代码仍使用其原始 MIT 许可。
|
||
|
||
就本许可而言,“代码”是指网站的软件组件、配置、布局、样式、功能、脚本和其他功能元素,但不包括此存储库中包含的内容呈现脚本(例如 MDX、Markdown、SVG、等媒体资源文件)。
|
||
此存储库中的所有此类代码均根据 Apache License 2.0 获得许可:
|
||
[dev.2ha.me](https://dev.2ha.me) © 2024 Jimleerx
|
||
本文件遵循 Apache 许可证 2.0 版(简称“许可证”);您不得在未遵守该许可证的情况下使用本文件。您可以访问以下网址获取许可证副本:
|
||
http://www.apache.org/licenses/LICENSE-2.0
|
||
除非适用法律另有规定或双方以书面形式达成一致,否则根据本许可证分发的软件均按“原样”分发,不附带任何明示或暗示的保证或条件。请参阅许可证,了解本许可证下特定语言的权限和限制规定。
|
||
|
||
### 非代码内容
|
||
使用的外部资源已在[dev.2ha.me](https://dev.2ha.me) 关于页面列出,资源均来自网络,如果是商业使用需得到原作者的授权。
|
||
任何未在上述代码中定义的内容,包括但不限于 MDX 博客文章、SVG 图形、个人素材、其他图片、任何格式的书面内容以及任何随附文档,均受知识共享署名-非商业性使用-禁止演绎 4.0 国际 (CC BY-NC-ND 4.0) 许可。这意味着您可以使用和分享这些内容,但必须提供适当的署名,不得将其用于商业用途,也不得分发其修改版本。更多详情,请参阅 CC BY-NC-ND 4.0 。
|
||
摘自 [Website Code License](LICENSE.md#website-code-license) 部分:
|
||
|
||
|
||
[Code License]: https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=for-the-badge&logo=github&logoColor=fff |