mirror of
https://git.aramjonghu.dev/AramJonghu/aramjonghu-site.git
synced 2026-09-06 23:33:30 +02:00
cleanup: format + minor setup About component
This commit is contained in:
@@ -1,25 +1,25 @@
|
|||||||
name: Format frontend with Prettier
|
name: Format frontend with Prettier
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["master"]
|
branches: ["master"]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
runs-on: alpine
|
runs-on: alpine
|
||||||
container: node:26-alpine
|
container: node:26-alpine
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: apk add --no-cache git
|
run: apk add --no-cache git
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install frontend deps
|
- name: Install frontend deps
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Run Prettier check
|
- name: Run Prettier check
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
run: npx prettier --check .
|
run: npx prettier --check .
|
||||||
|
|||||||
@@ -4,7 +4,9 @@ export default function About() {
|
|||||||
<h1 className="text-center m-6 text-3xl font-bold text-ctp-mauve">
|
<h1 className="text-center m-6 text-3xl font-bold text-ctp-mauve">
|
||||||
About
|
About
|
||||||
</h1>
|
</h1>
|
||||||
<div></div>
|
<div className="flex justify-center mb-6">
|
||||||
|
<p className="text-ctp-text"></p>
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
-6
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "aramjonghu-site",
|
|
||||||
"lockfileVersion": 3,
|
|
||||||
"requires": true,
|
|
||||||
"packages": {}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user