-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement new Wit/2 website #369
Merged
gabaldon
merged 81 commits into
witnet:master
from
gabaldon:feat/finish-implementation-2
Jul 30, 2024
Merged
Changes from 80 commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
0ff7910
chore: add empty boilerplate with nuxt3 to witnet 2.0
Tommytrg 531db19
feat: add basic content
Tommytrg 9f5caa8
chore: update dependabot and ci
Tommytrg 0b66553
fix(style): linter changes
Tommytrg 94a5988
chore: update deps
Tommytrg 748c90d
feat: add nuxt/i18n
gabaldon 227ff91
feat: delete coverage files
gabaldon a7dc585
feat: implement routes, navbar and language selector
gabaldon 8f2aaa0
feat: add hero content
gabaldon d30b670
feat: add content to the landing page
gabaldon 5efc991
feat: add content to the build route
gabaldon 629bbb8
feat: add content to the buy route
gabaldon 90477d5
feat: add content to the stake route
gabaldon 0585fc7
refactor: move button icon to svg folder
gabaldon 12aba63
refactor: remove ref when unnecessary
gabaldon abf207e
chore: update deps
Tommytrg 8b8055b
feat: add fonts
gabaldon 6084a9d
feat: use tailwind classes
gabaldon c7af067
feat: support dark mode with tailwind
gabaldon 0a06c56
feat: improve reuse of components and theme
gabaldon 06d628c
feat: update layout and copies
Tommytrg 3a8a877
feat: update navbar to be reusable in a component library
gabaldon 46bbbf6
feat(SocialLink): implement socials link component
gabaldon 51cf4f6
feat(NavBar): implement layout for navbar
gabaldon e7aa8c6
feat(HeroSection): implement hero
gabaldon 14a5577
feat(WhatIsWitnetSection): implement section
gabaldon 762635b
fix(style): revert tailwind config changes
gabaldon 3e56175
feat(CoinSection): implement section
gabaldon e0ab42d
feat(BuySection): implement section
gabaldon 8d5eccb
feat(SecureSection): implement section
gabaldon 413c42e
feat(BuildSection): implement section
gabaldon 6deb46d
fix(style): fix style details
gabaldon daf8007
fix: adjust responsive
gabaldon 8a152d1
feat(ExploreSection): implement section
gabaldon 12ff74e
feat(TutorialsSection): implement section
gabaldon 3518c42
feat(CommunitySection): implement section
gabaldon 589bb9b
feat(NewsletterSection): implement section
gabaldon cb5b802
feat(Footer): implement footer
gabaldon 10f5c04
fix(style): adjust responsive and newsletter section
gabaldon 998ea03
feat(style): adjust footer style
gabaldon 02615a2
fix(style): adjust explore section layout
gabaldon 666af7c
refactor: delete unnecessary components
gabaldon b8f2f1e
refactor: delete unnecessary styles
gabaldon 003183d
feat(Banner): implement banner
gabaldon 233c03a
fix(style): adjust navbar style
gabaldon 1c43f4d
feat: add language selector to footer
gabaldon 6c839a3
fix: adjust responsive
gabaldon 8cb75b3
feat: add favicon
gabaldon a1b0355
feat: add metadata
gabaldon 32229d1
fix: adjust responsive
gabaldon b015450
fix(NewsletterSection): fix newsletter submit action
gabaldon 522c336
feat: update metadata description
gabaldon 3517059
fix: fix broken links
gabaldon b363b77
fix(style): linter changes
gabaldon 8666378
fix: avoid warning `[intlify] Not found parent scope...`
gabaldon c08ae80
feat: add Spanish translations
gabaldon 5a3b535
fix: fix small bugs
gabaldon 8a24239
ci: allow deployment on github pages
gabaldon 6ec691c
ci: update ci
gabaldon 2d6a458
fix(style): update mono types to poppins
gabaldon 46a0f41
fix(copies): update locales
gabaldon 337fb25
fix: make arrow button clickable
gabaldon 9fb8e37
fix(style): improve ux in links
gabaldon 61449ae
fix(style): update fonts in what is witnet title
gabaldon 024d2af
fix(copies): update spanish copies for coin section
gabaldon 4ca51c5
fix(SocialLinks): improve ux
gabaldon d98ee98
fix: topbar
gabaldon 5ea368f
fix: redirect on page not found and comment language switcher
gabaldon 338f156
fix(style): adjust section description max width
gabaldon 37cc868
fix(style): adjust section description max width
gabaldon f9ae5d7
fix: adjust lateral icons
gabaldon 2498089
fix(responsive): adjust newsletter input responsive
gabaldon 8d0855e
feat: update socials position to fixed
gabaldon 5e4f691
feat: fix copies and adjust style
gabaldon 4295bda
fix(copies): update coin section copy
gabaldon 91d5399
fix(Community): update community links
gabaldon c203518
fix(style): fix height of `OutOfBoundariesCard`
gabaldon c4b7f1f
fix(urls): update randomness url
gabaldon 29d30d9
feat(CoinSection): add tooltip content
gabaldon f2fc5a3
feat(CoinSection): remove tooltip content and add it to description
gabaldon 6a04e01
ci: deploy to domain
gabaldon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
node: true, | ||
}, | ||
parser: 'vue-eslint-parser', | ||
parserOptions: { | ||
parser: '@typescript-eslint/parser', | ||
}, | ||
extends: ['@nuxtjs/eslint-config-typescript', 'plugin:prettier/recommended'], | ||
plugins: [], | ||
rules: {}, | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,12 @@ | ||
version: 2 | ||
updates: | ||
# Fetch and update latest `npm` packages | ||
- package-ecosystem: npm | ||
directory: '/' | ||
schedule: | ||
interval: daily | ||
time: '00:00' | ||
open-pull-requests-limit: 10 | ||
reviewers: | ||
- tommytrg | ||
assignees: | ||
- tommytrg | ||
commit-message: | ||
prefix: fix | ||
prefix-development: chore | ||
include: scope | ||
# Fetch and update latest `github-actions` pkgs | ||
- package-ecosystem: github-actions | ||
directory: '/' | ||
schedule: | ||
interval: daily | ||
time: '00:00' | ||
open-pull-requests-limit: 10 | ||
reviewers: | ||
- tommytrg | ||
assignees: | ||
- tommytrg | ||
commit-message: | ||
prefix: fix | ||
prefix-development: chore | ||
include: scope | ||
# Fetch and update latest `npm` packages | ||
- package-ecosystem: npm | ||
directory: '/' | ||
schedule: | ||
interval: daily | ||
# Fetch and update latest `github-actions` pkgs | ||
- package-ecosystem: github-actions | ||
directory: '/' | ||
schedule: | ||
interval: daily |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,41 @@ | ||
name: ci | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
pull_request: | ||
branches: | ||
- main | ||
- master | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
ci: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node: [16] | ||
cache-and-install: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout 🛎 | ||
uses: actions/checkout@master | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup node env 🏗 | ||
uses: actions/setup-node@v2.1.2 | ||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
node-version: 20 | ||
|
||
- name: Get yarn cache directory path 🛠 | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- uses: pnpm/action-setup@v2 | ||
name: Install pnpm | ||
with: | ||
version: 8 | ||
run_install: false | ||
|
||
- name: Cache node_modules 📦 | ||
uses: actions/cache@v2 | ||
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | ||
- name: Get pnpm store directory | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | ||
|
||
- uses: actions/cache@v3 | ||
name: Setup pnpm cache | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
path: ${{ env.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
|
||
- name: Install dependencies 👨🏻💻 | ||
run: yarn | ||
${{ runner.os }}-pnpm-store- | ||
|
||
- name: Run linter 👀 | ||
run: yarn lint | ||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Run linter | ||
run: pnpm lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: Deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
pages: write | ||
id-token: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Enable corepack | ||
run: corepack enable pnpm | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
|
||
- name: Restore cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
dist | ||
.nuxt | ||
key: ${{ runner.os }}-nuxt-build-${{ hashFiles('dist') }} | ||
restore-keys: | | ||
${{ runner.os }}-nuxt-build- | ||
|
||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Static HTML export with Nuxt | ||
run: pnpm run generate | ||
|
||
- name: List files for debugging | ||
run: ls -la ./dist | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: ./dist | ||
|
||
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@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,90 +1,24 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
### Node template | ||
# Logs | ||
/logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
|
||
# next.js build output | ||
.next | ||
|
||
# nuxt.js build output | ||
# Nuxt dev/build outputs | ||
.output | ||
.data | ||
.nuxt | ||
|
||
# Nuxt generate | ||
.nitro | ||
.cache | ||
dist | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# Serverless directories | ||
.serverless | ||
|
||
# IDE / Editor | ||
.idea | ||
# Node dependencies | ||
node_modules | ||
|
||
# Service worker | ||
sw.* | ||
# Logs | ||
logs | ||
*.log | ||
|
||
# macOS | ||
# Misc | ||
.DS_Store | ||
.fleet | ||
.idea | ||
|
||
# Vim swap files | ||
*.swp | ||
# Local env files | ||
.env | ||
.env.* | ||
!.env.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
shamefully-hoist=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
node_modules | ||
pnpm-lock.yaml | ||
*.log* | ||
.nuxt | ||
.nitro | ||
.cache | ||
.output | ||
.env | ||
dist |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.