GitXplorerGitXplorer
p

homepage

public
4 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
84dae67025f1b392dd66d7b79e0c1d600dfff60e

feat: CurrentAge

ppan93412 committed 2 years ago
Verified
689e165246bef6f0aacf48ed653d77f46171f78f

fix: Wrap FollowersCount

ppan93412 committed 2 years ago
Verified
3625e44239dc8ad301905a64d522fa69c8e765a8

fix(SocialBlock): Space in FollowersCount

ppan93412 committed 2 years ago
Verified
e20f58510c97ba5ac9413e25f63cbaedfcfffeb1

Refactor(layout): Swap font display

ppan93412 committed 2 years ago
Verified
c3fde58ffcdce078c5ffcedcafd300484a4f4c36

refactor: Clean up className

ppan93412 committed 2 years ago
Verified
4af9b2493d13ab75792cc11385908063aa7cd132

feat(header): a11y

ppan93412 committed 2 years ago

README

The README file for this repository.

Pan's profile

概述 / Abstract

這個 Profile 是 GitHub 上 README 的延伸,另外具有「簡歷」跟「作品集」的功能。

採 Next.js、Tailwind CSS,與設計師合作聯手打造出充滿細節、且有著舒適閱讀體驗的作品。

前言、介紹與心得 / Introduction & Opinions

我把這部份內容放在 blog 上面,可以點接下來的連結查看: https://link.pan93.com/personal-readme-introduction

技術結構 / Tech Stack

  • Next.js
  • TypeScript
  • Tailwind CSS
  • SCSS

專案特點 / Features

  • 採用前沿功能,如 Next.js 13 appdir 跟 Data-fetching suspense
  • 導入 Docker 和 Next.js standalone mode
  • 內建相當嚴格的 ESLint 跟 Prettier 設定
  • 有以專案為單位的 VS Code 設定、延伸功能和 Code Snipeets
  • 專案架構分明

開發 / Development

環境需求 // Requirements

  • 需要 Node.js 16 以上版本,v18 最好。

設定環境變數 // Configuration

.env.local.example 拷貝為 .env.local,並填入相關資訊:

安裝套件 // Install dependencies

執行 corepack enable 啟用 pnpm,然後執行 pnpm i 安裝套件。

corepack enable
pnpm i

Lint & Formatting

# Lint with ESLint
pnpm lint
# Format with Prettier
pnpm fmt

啟動開發伺服器 // Start development server

pnpm dev

部署 / Deploying

建置與執行生產版本 // Build & Serve for production

corepack enable
pnpm i -P
pnpm build
pnpm start

建置 Docker image // Build Docker image

docker build -t pan-homepage:latest .

On Vercel

Deploy with Vercel

貢獻 / Contributing

請參閱 ./CONTRIBUTING.md。本檔案包含樣式指南等貢獻須知文件。

TODOs

See ./TODO.md.

License

AGPL-3.0-only