diff --git a/.github/workflows/old-website.yml b/.github/workflows/old-website.yml deleted file mode 100644 index 7a1054c..0000000 --- a/.github/workflows/old-website.yml +++ /dev/null @@ -1,126 +0,0 @@ -name: Website CI OLD -on: - workflow_dispatch: - pull_request: - branches: - - main - - development - paths: - - "apps/site/**" - - "packages/theme/**" - - "packages/site-ui/**" - push: - branches: - - main - - development - paths: - - "apps/site/**" - - "packages/theme/**" - - "packages/site-ui/**" - -jobs: - linting: - name: ESLint - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup pnpm - uses: pnpm/action-setup@v2 - with: - version: 8.8.0 - - - name: Setup node - uses: actions/setup-node@v3 - with: - node-version: 20 - cache: "pnpm" - - - name: Install Dependencies - run: pnpm site install - - - name: Lint - run: pnpm site run lint - - build: - name: Next Build - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup pnpm - uses: pnpm/action-setup@v2 - with: - version: 8.8.0 - - - name: Setup node - uses: actions/setup-node@v3 - with: - node-version: 20 - cache: "pnpm" - # run: pnpm site install - - # - name: Setup pnpm - # uses: pnpm/action-setup@v2 - # with: - # version: 8.8.0 - - - name: Install Dependencies - run: pnpm site install - - - name: Run build - run: pnpm site run build - - test: - name: Playwright Tests - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Setup pnpm - uses: pnpm/action-setup@v2 - with: - version: 8.8.0 - - - name: Setup node - uses: actions/setup-node@v3 - with: - node-version: 20 - cache: "pnpm" - # run: pnpm site install - - - name: Install Dependencies - run: pnpm site install - - - name: Run build - run: pnpm site run build - - # - name: Get pnpm store directory - # id: pnpm-cache - # shell: bash - # run: | - # echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - # - uses: actions/cache@v3 - # name: Setup pnpm cache - # with: - # path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - # key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - # restore-keys: | - # ${{ runner.os }}-pnpm-store- - - - name: Install Playwright Browsers - run: pnpm site playwright install --with-deps - - - name: Run Playwright tests - run: pnpm site playwright test - - - uses: actions/upload-artifact@v3 - if: always() - with: - name: playwright-report - path: apps/site/playwright-report/ - retention-days: 30 diff --git a/apps/site/public/img/favicon.ico b/apps/site/public/img/favicon.ico deleted file mode 100644 index 0b24eff..0000000 Binary files a/apps/site/public/img/favicon.ico and /dev/null differ diff --git a/apps/website/public/android-chrome-192x192.png b/apps/website/public/android-chrome-192x192.png new file mode 100644 index 0000000..4ed6feb Binary files /dev/null and b/apps/website/public/android-chrome-192x192.png differ diff --git a/apps/website/public/android-chrome-256x256.png b/apps/website/public/android-chrome-256x256.png new file mode 100644 index 0000000..8918e53 Binary files /dev/null and b/apps/website/public/android-chrome-256x256.png differ diff --git a/apps/website/public/apple-touch-icon.png b/apps/website/public/apple-touch-icon.png new file mode 100644 index 0000000..dff939d Binary files /dev/null and b/apps/website/public/apple-touch-icon.png differ diff --git a/apps/website/public/breadchain_og_image.png b/apps/website/public/breadchain_og_image.png new file mode 100644 index 0000000..8ad303c Binary files /dev/null and b/apps/website/public/breadchain_og_image.png differ diff --git a/apps/website/public/browserconfig.xml b/apps/website/public/browserconfig.xml new file mode 100644 index 0000000..b3930d0 --- /dev/null +++ b/apps/website/public/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #da532c + + + diff --git a/apps/website/public/favicon-16x16.png b/apps/website/public/favicon-16x16.png new file mode 100644 index 0000000..6718f5c Binary files /dev/null and b/apps/website/public/favicon-16x16.png differ diff --git a/apps/website/public/favicon-32x32.png b/apps/website/public/favicon-32x32.png new file mode 100644 index 0000000..4a90697 Binary files /dev/null and b/apps/website/public/favicon-32x32.png differ diff --git a/apps/website/public/favicon.ico b/apps/website/public/favicon.ico new file mode 100644 index 0000000..6fd9433 Binary files /dev/null and b/apps/website/public/favicon.ico differ diff --git a/apps/website/public/favicon.svg b/apps/website/public/favicon.svg deleted file mode 100644 index f157bd1..0000000 --- a/apps/website/public/favicon.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - diff --git a/apps/website/public/mstile-150x150.png b/apps/website/public/mstile-150x150.png new file mode 100644 index 0000000..85b915f Binary files /dev/null and b/apps/website/public/mstile-150x150.png differ diff --git a/apps/website/public/safari-pinned-tab.svg b/apps/website/public/safari-pinned-tab.svg new file mode 100644 index 0000000..0fbd36c --- /dev/null +++ b/apps/website/public/safari-pinned-tab.svg @@ -0,0 +1,18 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + diff --git a/apps/website/public/site.webmanifest b/apps/website/public/site.webmanifest new file mode 100644 index 0000000..0e0e858 --- /dev/null +++ b/apps/website/public/site.webmanifest @@ -0,0 +1,14 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/apps/website/src/layouts/Layout.astro b/apps/website/src/layouts/Layout.astro index 3554647..159be5a 100644 --- a/apps/website/src/layouts/Layout.astro +++ b/apps/website/src/layouts/Layout.astro @@ -21,10 +21,31 @@ const { title } = Astro.props; - - + + + + + + + + + + + + + + + + + + + + + + + {title} + diff --git a/package.json b/package.json index 2db160f..28b02be 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "description": "", "main": "index.js", + "packageManager": "pnpm@9.1.4", "scripts": { "site": "pnpm --filter @breadchain.xyz/site", "website": "pnpm --filter @breadchain.xyz/website", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d026df0..65ad4ea 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,7 +134,7 @@ importers: specifier: 4.9.5 version: 4.9.5 - apps/site-new: + apps/website: dependencies: '@astrojs/check': specifier: ^0.7.0 @@ -220,7 +220,7 @@ importers: version: 2.3.2 next: specifier: 13.1.6 - version: 13.1.6(@babel/core@7.22.1)(react-dom@18.2.0(react@18.3.1))(react@18.3.1) + version: 13.1.6(@babel/core@7.24.6)(react-dom@18.2.0(react@18.3.1))(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -10757,8 +10757,8 @@ snapshots: '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.24.5 - '@babel/types': 7.24.5 + '@babel/parser': 7.24.6 + '@babel/types': 7.24.6 '@types/babel__generator': 7.6.4 '@types/babel__template': 7.4.1 '@types/babel__traverse': 7.20.0 @@ -10792,7 +10792,7 @@ snapshots: '@types/hast@3.0.4': dependencies: - '@types/unist': 2.0.6 + '@types/unist': 3.0.2 '@types/istanbul-lib-coverage@2.0.6': {} @@ -11018,8 +11018,8 @@ snapshots: dependencies: emmet: 2.4.4 jsonc-parser: 2.3.1 - vscode-languageserver-textdocument: 1.0.8 - vscode-languageserver-types: 3.17.3 + vscode-languageserver-textdocument: 1.0.11 + vscode-languageserver-types: 3.17.5 vscode-uri: 2.1.2 '@vscode/l10n@0.0.13': {} @@ -11732,10 +11732,10 @@ snapshots: '@astrojs/telemetry': 3.1.0 '@babel/core': 7.24.6 '@babel/generator': 7.24.6 - '@babel/parser': 7.24.5 + '@babel/parser': 7.24.6 '@babel/plugin-transform-react-jsx': 7.24.6(@babel/core@7.24.6) '@babel/traverse': 7.24.6 - '@babel/types': 7.24.5 + '@babel/types': 7.24.6 '@types/babel__core': 7.20.5 '@types/cookie': 0.6.0 acorn: 8.11.3 @@ -11925,7 +11925,7 @@ snapshots: dependencies: ansi-align: 3.0.1 camelcase: 7.0.1 - chalk: 5.2.0 + chalk: 5.3.0 cli-boxes: 3.0.0 string-width: 5.1.2 type-fest: 2.19.0 @@ -12838,8 +12838,8 @@ snapshots: '@typescript-eslint/parser': 5.62.0(eslint@8.40.0)(typescript@5.4.5) eslint: 8.40.0 eslint-import-resolver-node: 0.3.7 - eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1)(eslint@8.40.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.5.5)(eslint@8.40.0) + eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1(eslint@8.40.0))(eslint@8.40.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1(eslint@8.40.0))(eslint@8.40.0))(eslint@8.40.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.40.0) eslint-plugin-react: 7.34.1(eslint@8.40.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.40.0) @@ -12865,13 +12865,13 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1)(eslint@8.40.0): + eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1(eslint@8.40.0))(eslint@8.40.0): dependencies: debug: 4.3.4 enhanced-resolve: 5.15.0 eslint: 8.40.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1)(eslint@8.40.0))(eslint@8.40.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.5.5)(eslint@8.40.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1(eslint@8.40.0))(eslint@8.40.0))(eslint@8.40.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1(eslint@8.40.0))(eslint@8.40.0))(eslint@8.40.0) get-tsconfig: 4.6.2 globby: 13.2.2 is-core-module: 2.12.1 @@ -12883,29 +12883,29 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1)(eslint@8.40.0))(eslint@8.40.0): + eslint-module-utils@2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1(eslint@8.40.0))(eslint@8.40.0))(eslint@8.40.0): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 5.62.0(eslint@8.40.0)(typescript@5.4.5) eslint: 8.40.0 eslint-import-resolver-node: 0.3.7 - eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1)(eslint@8.40.0) + eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1(eslint@8.40.0))(eslint@8.40.0) transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1)(eslint@8.40.0))(eslint@8.40.0): + eslint-module-utils@2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1(eslint@8.40.0))(eslint@8.40.0))(eslint@8.40.0): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 5.62.0(eslint@8.40.0)(typescript@5.4.5) eslint: 8.40.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1)(eslint@8.40.0) + eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1(eslint@8.40.0))(eslint@8.40.0) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.29.1(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.5.5)(eslint@8.40.0): + eslint-plugin-import@2.29.1(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1(eslint@8.40.0))(eslint@8.40.0))(eslint@8.40.0): dependencies: array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 @@ -12915,7 +12915,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.40.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1)(eslint@8.40.0))(eslint@8.40.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@5.62.0(eslint@8.40.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1(eslint@8.40.0))(eslint@8.40.0))(eslint@8.40.0) hasown: 2.0.2 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -13422,7 +13422,7 @@ snapshots: dependencies: array-union: 2.1.0 dir-glob: 3.0.1 - fast-glob: 3.3.0 + fast-glob: 3.3.2 ignore: 5.2.4 merge2: 1.4.1 slash: 3.0.0 @@ -15208,7 +15208,7 @@ snapshots: neo-async@2.6.2: {} - next@13.1.6(@babel/core@7.22.1)(react-dom@18.2.0(react@18.3.1))(react@18.3.1): + next@13.1.6(@babel/core@7.24.6)(react-dom@18.2.0(react@18.3.1))(react@18.3.1): dependencies: '@next/env': 13.1.6 '@swc/helpers': 0.4.14 @@ -15216,7 +15216,7 @@ snapshots: postcss: 8.4.14 react: 18.3.1 react-dom: 18.2.0(react@18.3.1) - styled-jsx: 5.1.1(@babel/core@7.22.1)(react@18.3.1) + styled-jsx: 5.1.1(@babel/core@7.24.6)(react@18.3.1) optionalDependencies: '@next/swc-android-arm-eabi': 13.1.6 '@next/swc-android-arm64': 13.1.6 @@ -16761,17 +16761,17 @@ snapshots: strnum@1.0.5: {} - styled-jsx@5.1.1(@babel/core@7.22.1)(react@18.3.1): + styled-jsx@5.1.1(@babel/core@7.24.6)(react@18.2.0): dependencies: client-only: 0.0.1 - react: 18.3.1 + react: 18.2.0 optionalDependencies: - '@babel/core': 7.22.1 + '@babel/core': 7.24.6 - styled-jsx@5.1.1(@babel/core@7.24.6)(react@18.2.0): + styled-jsx@5.1.1(@babel/core@7.24.6)(react@18.3.1): dependencies: client-only: 0.0.1 - react: 18.2.0 + react: 18.3.1 optionalDependencies: '@babel/core': 7.24.6