diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc6b67e5..802ac923 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,64 +1,65 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Svelte TypeScript CI on: push: - branches: [ "main", "feat/svelte-app" ] + branches: ['main'] pull_request: - branches: [ "main", "feat/svelte-app" ] + branches: ['main'] jobs: build: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - - name: Use Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: 'npm' - - name: Install Dependencies - run: npm ci + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'npm' + - name: Install Dependencies + run: npm ci - - name: Build - env: - BASE_PATH: '' - run: | - npm run build - touch build/.nojekyll + - name: Build + env: + BASE_PATH: '' + run: | + npm run build + touch build/.nojekyll - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: path: ./build - - name: CI Unit Tests - run: npm run test:ci + - name: CI Unit Tests + run: npm run test:ci e2e: runs-on: ubuntu-latest services: frequency-instant: - image: "frequencychain/instant-seal-node:latest" + image: 'frequencychain/instant-seal-node:latest' ports: - - "9944:9944" # ws and rpc port + - '9944:9944' # ws and rpc port steps: - - name: Checkout - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - - name: Use Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: 'npm' + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'npm' - - name: Install Dependencies - run: npm ci - - name: "E2E Tests" - run: npm run test:e2e + - name: Install Dependencies + run: npm ci + - name: 'E2E Tests' + run: npm run test:e2e # Preview PRs when actions/deploy-pages preview option is in public # https://github.com/actions/deploy-pages/issues/180 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6845be62..e295d7be 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,9 +1,10 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Deploy to GitHub Pages on: - release: + push: tags: - - "v[0-9]+.[0-9]+.[0-9]+" # ex. v1.0.0 + - 'v[0-9]+.[0-9]+.[0-9]+' # ex. v1.0.0 # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -16,7 +17,7 @@ permissions: # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: - group: "deploy-pages" + group: 'deploy-pages' cancel-in-progress: false jobs: diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index e0805c1e..0765884d 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json name: Prettier checks on: push: diff --git a/src/components/Header.svelte b/src/components/Header.svelte index 0db367d1..42fcc40a 100644 --- a/src/components/Header.svelte +++ b/src/components/Header.svelte @@ -1,11 +1,11 @@
-
- The project logo +
+

Provider Dashboard

diff --git a/src/components/Logo.svelte b/src/components/Logo.svelte new file mode 100644 index 00000000..1dda09d4 --- /dev/null +++ b/src/components/Logo.svelte @@ -0,0 +1,6 @@ + + + diff --git a/src/components/Nav.svelte b/src/components/Nav.svelte index d4709747..25be6c62 100644 --- a/src/components/Nav.svelte +++ b/src/components/Nav.svelte @@ -1,7 +1,6 @@
- iconLogo
(url = '/')}>Home {#if $isLoggedIn === true} diff --git a/src/components/ProviderLogin.svelte b/src/components/ProviderLogin.svelte index e6820158..b59339f6 100644 --- a/src/components/ProviderLogin.svelte +++ b/src/components/ProviderLogin.svelte @@ -20,5 +20,5 @@
diff --git a/src/components/Wave.svelte b/src/components/Wave.svelte new file mode 100644 index 00000000..b0d5599f --- /dev/null +++ b/src/components/Wave.svelte @@ -0,0 +1,243 @@ + diff --git a/src/lib/assets/bg-wave.png b/src/lib/assets/bg-wave.png deleted file mode 100644 index 9719b88f..00000000 Binary files a/src/lib/assets/bg-wave.png and /dev/null differ diff --git a/src/lib/assets/bottom-left-bars.png b/src/lib/assets/bottom-left-bars.png index 3d774c1a..40c6839c 100644 Binary files a/src/lib/assets/bottom-left-bars.png and b/src/lib/assets/bottom-left-bars.png differ diff --git a/src/lib/assets/icon-logo.png b/src/lib/assets/icon-logo.png deleted file mode 100644 index 3600d160..00000000 Binary files a/src/lib/assets/icon-logo.png and /dev/null differ diff --git a/src/lib/assets/logo.png b/src/lib/assets/logo.png deleted file mode 100644 index 827aadf7..00000000 Binary files a/src/lib/assets/logo.png and /dev/null differ diff --git a/src/lib/assets/switch.png b/src/lib/assets/switch.png index e0d7ab6f..57bd93b9 100644 Binary files a/src/lib/assets/switch.png and b/src/lib/assets/switch.png differ diff --git a/src/lib/assets/top-right-bars.png b/src/lib/assets/top-right-bars.png index c58278a7..0e1f802d 100644 Binary files a/src/lib/assets/top-right-bars.png and b/src/lib/assets/top-right-bars.png differ diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 3597a56c..81d4fc6d 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,7 +1,7 @@
- The project logo +
+ +