diff --git a/.eslintrc.js b/.eslintrc.js index c2607a8..13e63bd 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,7 +6,7 @@ module.exports = { }, extends: [ '@nuxtjs/eslint-config-typescript', - 'plugin:nuxt/recommended' + 'plugins:nuxt/recommended' ], plugins: [ ], diff --git a/.github/workflows/chrome-e2e.yaml b/.github/workflows/chrome-e2e.yaml new file mode 100644 index 0000000..82cb5f7 --- /dev/null +++ b/.github/workflows/chrome-e2e.yaml @@ -0,0 +1,68 @@ +name: Chrome E2E CI +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + containers: [ 1, 2, 3 ] + name: E2E on Chrome + steps: + - name: Checking out code ⚡ + uses: actions/checkout@v2 + + - name: Setting up NodeJS 📐 + uses: actions/setup-node@v1 + with: + node-version: '14.x' + + - name: Caching Dependencies 💾 + uses: actions/cache@v1 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/yarn-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + + - name: Building 🏗 + run: | + npm install -g yarn + yarn install --frozen-lockfile + yarn install + + + - name: E2E Testing 🤖 + uses: cypress-io/github-action@v2 + env: + CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + record: true + start: yarn run dev + parallel: true + browser: chrome + wait-on-timeout: 120 + wait-on: 'http://localhost:3000' + + + - name: Uploading Screenshots ☁ + uses: actions/upload-artifact@v1 + if: failure() + with: + name: cypress-screenshots + path: cypress/screenshots + + - name: Uploading Videos ☁ + uses: actions/upload-artifact@v1 + if: always() + with: + name: cypress-videos + path: cypress/videos diff --git a/.github/workflows/netlify-deploy.yaml b/.github/workflows/netlify-deploy.yaml new file mode 100644 index 0000000..a2714c9 --- /dev/null +++ b/.github/workflows/netlify-deploy.yaml @@ -0,0 +1,27 @@ +name: Deploy +on: + push: + branches: + - master +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + containers: [ 1, 2, 3 ] + name: Deploy + steps: + - name: Deploy to Netlify ✅ + uses: nwtgck/actions-netlify@v1.1 + with: + publish-dir: './dist' + production-branch: master + github-token: ${{ secrets.GITHUB_TOKEN }} + deploy-message: "Deploy from GitHub Actions" + enable-pull-request-comment: false + enable-commit-comment: true + overwrites-pull-request-comment: true + env: + NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} + NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} diff --git a/.gitignore b/.gitignore index e8f682b..07dfddd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# Created by .ignore support plugin (hsz.mobi) +# Created by .ignore support plugins (hsz.mobi) ### Node template # Logs /logs @@ -88,3 +88,5 @@ sw.* # Vim swap files *.swp + +cypress/ diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index c958a33..14ea76a 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -21,7 +21,7 @@ } .sub-heading { - @apply font-medium text-center text-base md:text-xl text-center text-gray-300 + @apply font-medium text-center text-base md:text-lg text-center text-gray-400 } .input { diff --git a/assets/images/background/final_edited.svg b/assets/images/background/final_edited.svg new file mode 100644 index 0000000..8f70fdf --- /dev/null +++ b/assets/images/background/final_edited.svg @@ -0,0 +1,1356 @@ + diff --git a/components/Global/Footer.vue b/components/Global/Footer.vue index cac97fa..b2a64d5 100644 --- a/components/Global/Footer.vue +++ b/components/Global/Footer.vue @@ -78,11 +78,11 @@
©2021 Andronix | Techriz. All Rights Reserved.
- Made with Tailwind, NuxtJS and NodeJS by Tailwind, NuxtJS by imprakharshukla in 🇮🇳
diff --git a/components/Global/Heading.vue b/components/Global/Heading.vue index 7944579..d727924 100644 --- a/components/Global/Heading.vue +++ b/components/Global/Heading.vue @@ -1,6 +1,6 @@