diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..ed9e0dc --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +NUXT_HUB_PROJECT_URL=https://my-nuxhub.project.dev +NUXT_HUB_PROJECT_SECRET_KEY=my-project-secret-used-in-cloudflare-env \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..e7fcddc --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,36 @@ +name: Deploy with NuxtHub CLI +on: push +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + name: Install pnpm + with: + run_install: false + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: "pnpm" + - name: Get pnpm store directory + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV + - uses: actions/cache@v4 + name: Setup pnpm cache + with: + path: ${{ env.STORE_PATH }} + key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-pnpm-store- + - name: Install dependencies + run: pnpm install + + - name: Deploy with nuxthub + run: npx nuxthub deploy + env: + NUXT_HUB_PROJECT_KEY: ${{ secrets.NUXT_HUB_PROJECT_KEY}} + NUXT_HUB_USER_TOKEN: ${{ secrets.NUXT_HUB_USER_TOKEN }} diff --git a/.vscode/settings.json b/.vscode/settings.json index 4e76dcb..a3f113c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,5 +5,5 @@ "editor.quickSuggestions": { "strings": "on" }, - "cSpell.words": ["pinia", "slideover", "Slideover"] + "cSpell.words": ["nuxtjs", "pinia", "slideover", "Slideover"] } diff --git a/app/app.config.ts b/app/app.config.ts index ffd489c..35c1406 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -1,8 +1,8 @@ export default defineAppConfig({ ui: { colors: { - primary: "rose", - neutral: "zinc", + primary: "indigo", + neutral: "slate", }, theme: { transitions: "out-in", diff --git a/app/app.vue b/app/app.vue index fd1db59..c4500af 100644 --- a/app/app.vue +++ b/app/app.vue @@ -1,6 +1,7 @@ + + diff --git a/app/components/Logotype.vue b/app/components/Logotype.vue new file mode 100644 index 0000000..b8358d0 --- /dev/null +++ b/app/components/Logotype.vue @@ -0,0 +1,319 @@ + + + + diff --git a/app/components/default/Header.vue b/app/components/default/Header.vue index 8ed9ab4..46779f2 100644 --- a/app/components/default/Header.vue +++ b/app/components/default/Header.vue @@ -1,115 +1,103 @@ diff --git a/app/components/default/Search.vue b/app/components/default/Search.vue new file mode 100644 index 0000000..bcd40e6 --- /dev/null +++ b/app/components/default/Search.vue @@ -0,0 +1,65 @@ + + + + + diff --git a/app/components/modal/NavigationMenu.vue b/app/components/modal/NavigationMenu.vue new file mode 100644 index 0000000..7036a94 --- /dev/null +++ b/app/components/modal/NavigationMenu.vue @@ -0,0 +1,38 @@ + + + diff --git a/app/components/slideover/Navigation.vue b/app/components/slideover/Navigation.vue deleted file mode 100644 index dc744bb..0000000 --- a/app/components/slideover/Navigation.vue +++ /dev/null @@ -1,22 +0,0 @@ - - - diff --git a/app/pages/index.vue b/app/pages/index.vue index d5476ad..c1a5e9a 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -1,71 +1,32 @@