Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
YukariChiba committed Jan 10, 2025
0 parents commit e23500a
Show file tree
Hide file tree
Showing 37 changed files with 12,362 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Deploy website to Pages

on:
push:
branches: ["master"]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'yarn'
- name: Setup Pages
id: pages
uses: actions/configure-pages@v2
- name: Build
run: |
yarn && yarn build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./dist

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
dist

# Node dependencies
node_modules

# Logs
logs
*.log

# Misc
.DS_Store
.fleet
.idea

# Local env files
.env
.env.*
!.env.example

75 changes: 75 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Nuxt 3 Minimal Starter

Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

## Setup

Make sure to install the dependencies:

```bash
# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install
```

## Development Server

Start the development server on `http://localhost:3000`:

```bash
# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev
```

## Production

Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build
```

Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview
```

Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
32 changes: 32 additions & 0 deletions app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<template>
<v-app>
<NuxtLoadingIndicator />
<NavBar />
<v-main>
<NuxtPage />
</v-main>
<BackToTop />
<FooterBar />
</v-app>
</template>

<style>
html {
overflow-y: auto !important;
}
.main-content {
max-width: 900px;
}
a:not([class*="v"])::before {
font-family: "Material Design Icons";
content: "\F0339 ";
}
a:not([class*="v"]) {
text-decoration: none;
}
a:not([class*="v"]):hover {
text-decoration: underline;
}
</style>
17 changes: 17 additions & 0 deletions assets/devicelist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"eic7700": { "desc": "ESWIN EIC7700" },
"eic7700evb": { "desc": "ESWIN EIC7700 (EVB)", "replacedby": "eic7700" },
"generic": { "desc": "通用设备 / QEMU" },
"jh7110": { "desc": "StarFive JH7110" },
"k1": { "desc": "Spacemit K1" },
"lpi4a": { "desc": "LicheePi 4A", "replacedby": "th1520" },
"milkv-mars": { "desc": "MilkV Mars", "replacedby": "jh7110" },
"musebox": { "desc": "Spacemit MuseBox", "replacedby": "k1" },
"p1": { "desc": "Zhihe P1", "modified": true },
"romadc": { "desc": "DC ROMA" },
"rvbook": { "desc": "RuyiBook" },
"rvbook-zhihe": { "desc": "RuyiBook (Zhihe 款)", "modified": true },
"sg2042": { "desc": "SG2042" },
"th1520": { "desc": "T-Head TH1520" },
"visionfive2": { "desc": "StarFive VisionFive2", "replacedby": "jh7110" }
}
Loading

0 comments on commit e23500a

Please sign in to comment.