Skip to content

Commit

Permalink
commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyouma960 committed Oct 16, 2024
0 parents commit 1810439
Show file tree
Hide file tree
Showing 147 changed files with 11,136 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
41 changes: 41 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: build-and-deploy

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-and-deploy:
runs-on: ubuntu-latest

env:
NODE_VERSION: 20

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build site
run: pnpm build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist
cname: portfolio.zxh.me
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.log
.DS_Store
.cache/
node_modules/
dist/
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm lint-staged
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Xiaoha Zou (@Renovamen)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
50 changes: 50 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# ArchFolio

My portfolio website simulating Arch Linux GUI: https://portfolio.gautamnitesh.me

Powered by [React](https://reactjs.org/) + [Zustand](https://zustand-demo.pmnd.rs/) + [UnoCSS](https://uno.antfu.me/) + [TypeScript](https://www.typescriptlang.org/) + [Vite](https://vitejs.dev/).

![light mode](./public/screenshots/light.png)
 
![dark mode](./public/screenshots/dark.png)


 

## Usage

Clone the repo and install dependencies:

```bash
pnpm install
```

Start dev server (with hot reloading):

```bash
pnpm dev
```

Build for production with minification to the `dist` folder:

```bash
pnpm build
```


 

## Credits

- Arch
- [Gnome](https://gnome.org/)
- [Catalina](https://www.apple.com/bw/macos/catalina/)
- [macOS Icon Gallery](https://www.macosicongallery.com/)
- [sindresorhus/file-icon-cli](https://github.com/sindresorhus/file-icon-cli)


 

## License

[MIT](MIT)
13 changes: 13 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { renovamen } from "@renovamen/eslint-config";

const configs = renovamen({
files: ["**/*.ts", "**/*.tsx"],
rules: {
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"react/jsx-no-undef": "off"
}
});

export default configs;
34 changes: 34 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Nitesh Gautam's portfolio in Arch RICE style."
/>

<link rel="icon" href="/logo/favicon.svg" />
<link rel="apple-touch-icon" href="/logo/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="/manifest.json" />

<title>Nitesh Gautam's Portfolio</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>

<script async src="https://www.googletagmanager.com/gtag/js?id=G-DSL4Z03NFE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){ dataLayer.push(arguments); }
gtag("js", new Date());
gtag("config", "G-DSL4Z03NFE");
</script>
</body>
</html>
65 changes: 65 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"name": "ArchFolio",
"private": true,
"type": "module",
"scripts": {
"build": "vite build",
"dev": "vite --host",
"lint": "eslint .",
"prepare": "husky",
"serve": "vite preview --host"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --fix",
"package.json": "sort-package-json"
},
"prettier": "@renovamen/prettier-config",
"dependencies": {
"@milkdown/core": "^7.3.6",
"@milkdown/plugin-history": "^7.3.6",
"@milkdown/plugin-listener": "^7.3.6",
"@milkdown/preset-commonmark": "^7.3.6",
"@milkdown/preset-gfm": "^7.3.6",
"@milkdown/react": "^7.3.6",
"@rooks/use-raf": "^4.11.2",
"date-fns": "^3.6.0",
"framer-motion": "^11.1.7",
"katex": "^0.16.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"react-rangeslider": "2.2.0",
"react-rnd": "^10.4.10",
"react-syntax-highlighter": "^15.5.0",
"react-webcam": "^7.2.0",
"web-vitals": "^3.5.2",
"zustand": "^4.5.2"
},
"devDependencies": {
"@iconify/json": "^2.2.205",
"@renovamen/eslint-config": "^0.1.7",
"@renovamen/prettier-config": "^0.1.7",
"@types/node": "^20.12.8",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@types/react-rangeslider": "^2.2.7",
"@types/react-syntax-highlighter": "^15.5.11",
"@unocss/reset": "^0.59.4",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"pnpm": "^9.0.6",
"rehype-external-links": "^3.0.0",
"rehype-katex": "7.0.0",
"remark-gfm": "4.0.0",
"remark-math": "6.0.0",
"sort-package-json": "^2.10.0",
"taze": "^0.13.8",
"typescript": "^5.4.5",
"unocss": "^0.59.4",
"unplugin-auto-import": "^0.17.5",
"vite": "^5.2.10"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 1810439

Please sign in to comment.