Skip to content
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

Witnet 2 #367

Closed
wants to merge 47 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
7a88f80
wip
Tommytrg Jun 4, 2024
9b1397c
wip
Tommytrg Jun 11, 2024
a9d2718
wip2
Tommytrg Jun 11, 2024
a9cf0f3
wip3
Tommytrg Jun 13, 2024
29ac7b3
feat: update navbar to be reusable in a component library
gabaldon Jun 13, 2024
1180039
feat(SocialLink): implement socials link component
gabaldon Jun 13, 2024
7b597ab
feat(NavBar): implement layout for navbar
gabaldon Jun 13, 2024
b449981
feat(HeroSection): implement hero
gabaldon Jun 13, 2024
c75c8ea
hero-navbar
gabaldon Jul 15, 2024
d43f391
wip
gabaldon Jul 15, 2024
136c1d9
wip
gabaldon Jul 15, 2024
7561d21
what-is-witnet-section
gabaldon Jul 15, 2024
b54a41b
revert-tailwind-changes
gabaldon Jul 16, 2024
ad64ae9
coin-section
gabaldon Jul 16, 2024
dfaa8a6
buy-section
gabaldon Jul 16, 2024
f7de72f
secure-section
gabaldon Jul 16, 2024
2a33605
build-section
gabaldon Jul 16, 2024
24dc0f2
fix-small-details
gabaldon Jul 16, 2024
e27fd69
fix-small-details
gabaldon Jul 17, 2024
7c92cd8
fix-small-details
gabaldon Jul 17, 2024
713ec56
fix-responsive
gabaldon Jul 17, 2024
8f904b3
explore section
gabaldon Jul 17, 2024
a475b8e
tutorials section
gabaldon Jul 17, 2024
e6e446f
community section
gabaldon Jul 17, 2024
40476c7
community section
gabaldon Jul 17, 2024
8912078
newsletter section
gabaldon Jul 17, 2024
fccf49c
newsletter section
gabaldon Jul 17, 2024
74ab9e0
footer
gabaldon Jul 17, 2024
95f21d3
fix responsive and newsletter section
gabaldon Jul 18, 2024
19638e4
footer section
gabaldon Jul 18, 2024
1b7b286
fix explore section layout
gabaldon Jul 18, 2024
4fadd89
delete unnecessary components
gabaldon Jul 18, 2024
c7e77d2
delete unnecessary styles
gabaldon Jul 18, 2024
4fc9e05
implement banner
gabaldon Jul 18, 2024
07b46ff
fix navbar
gabaldon Jul 18, 2024
1553eef
add language selector to footer
gabaldon Jul 18, 2024
699b068
fix-responsive
gabaldon Jul 18, 2024
b7e3099
add-favicon
gabaldon Jul 18, 2024
9e50b1e
add-metadata
gabaldon Jul 18, 2024
410dab9
fix-responsive
gabaldon Jul 19, 2024
5824991
fix-newsletter
gabaldon Jul 19, 2024
1e70009
update-metadata-description
gabaldon Jul 19, 2024
6213249
wip
gabaldon Jul 19, 2024
c7ff23c
fix-links
gabaldon Jul 19, 2024
702b0e3
fix-links
gabaldon Jul 19, 2024
5dc645f
fix(style): linter changes
gabaldon Jul 19, 2024
6f97082
deploy
Tommytrg Jul 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Deploy

# env:
# DEBUG: 'vite:*'

on:
# Runs on pushes targeting the default branch
# push:
# branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# 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: "pages"
cancel-in-progress: false

jobs:
# Build job
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: Setup Pages
# uses: actions/configure-pages@v5
# with:
# Automatically inject router.base in your Nuxt configuration file and set
# target to static (https://nuxtjs.org/docs/configuration-glossary/configuration-target/).

# You may remove this line if you want to manage the configuration yourself.
- 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

# Deployment job
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
2 changes: 1 addition & 1 deletion app.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<NuxtLayout>
<NuxtLayout name="default">
<NuxtPage />
</NuxtLayout>
</template>
4 changes: 2 additions & 2 deletions assets/styles/fonts.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400,500,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700&display=swap');
@font-face {
font-family: 'NimbusMono';
src: url('../fonts/nimbusmono-regular.woff') format('woff');
Expand Down
2 changes: 0 additions & 2 deletions assets/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@ html {
height: 100%;
margin: 0;
padding: 0;
color: $white;
background-color: $black;
}
93 changes: 86 additions & 7 deletions assets/styles/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,110 @@
@tailwind utilities;

@layer components {
html {
@apply scroll-smooth;
}
/* Titles */
.title-h1 {
@apply font-title text-4xl;
@apply font-title text-7xl font-semibold sm:text-6xl;
line-height: 0.9;
color: #232323;
}

.title-h2-xl {
@apply font-title text-7xl font-semibold sm:text-6xl;
line-height: 1.1;
color: #232323;
}

.title-h2 {
@apply font-title text-2xl;
@apply font-title text-5xl font-semibold sm:text-4xl;
line-height: 1.1;
color: #232323;
}

.title-h3 {
@apply font-title text-4xl font-semibold sm:text-3xl;
line-height: 1.1;
color: #232323;
}

.title-h4 {
@apply font-title text-4xl font-semibold sm:text-3xl;
line-height: 1.1;
color: #232323;
}

.title-h5 {
@apply text-2xl font-semibold sm:text-xl;
line-height: 1.1;
color: #232323;
}

.text {
@apply text-base;
line-height: 1.5;
color: #333;
}

.text-dark {
@apply text-lg text-white-50;
line-height: 1.5;
}

.text-link {
@apply text-sm;
line-height: 1.5;
color: #333;
}

.text-link-dark {
@apply text-sm text-white-50;
line-height: 1.5;
}

.subtitle {
@apply text-sm text-white-300;
}

.footer-text {
@apply text-xs text-white-50;
line-height: 1.5;
}

.link-hover-style {
@apply hover:-mr-[5px] hover:font-semibold;
}

.footer-hover-style {
@apply hover:-mr-[2.5px] hover:font-semibold;
}

/* Button */
.btn {
@apply w-full py-sm px-md cursor-pointer;
@apply w-full py-sm px-l cursor-pointer border-2 border-black-950;
}
.btn-primary {
@apply font-semibold rounded-full shadow-md bg-wit-blue-500 hover:bg-wit-blue-400 text-black-950 focus:outline-none focus:ring focus:ring-wit-blue-500 focus:ring-opacity-80;
@apply font-semibold rounded-full shadow-md bg-wit-blue-500 hover:bg-wit-blue-400 text-black-950 focus:outline-none focus:ring focus:ring-wit-blue-500 focus:ring-opacity-80 shadow-[3px_7px_0px] shadow-black-950;
}
.btn-dark {
@apply font-semibold rounded-full shadow-md bg-white-50 hover:bg-white-100 text-black-950 focus:outline-none focus:ring focus:ring-wit-blue-500 focus:ring-opacity-80 shadow-[3px_7px_0px] shadow-wit-blue-500;
}
.btn-secondary {
@apply font-semibold rounded-full shadow-md bg-black-950 hover:bg-black-900 text-white-50 focus:outline-none focus:ring focus:ring-black-500 focus:ring-opacity-80 border-2;
@apply font-semibold rounded-full shadow-md bg-black-950 hover:bg-black-900 text-white-50 focus:outline-none focus:ring focus:ring-black-500 focus:ring-opacity-80 border-2 shadow-[3px_7px_0px] shadow-black-950;
}
.btn-terciary {
@apply font-semibold rounded-full border-white-50 bg-black-950 hover:bg-black-900 text-white-50 focus:outline-none focus:ring focus:ring-black-500 focus:ring-opacity-80 border-2;
white-space: nowrap;
}
.btn-disabled {
@apply cursor-not-allowed font-semibold rounded-full shadow-md bg-wit-blue-500 text-black-950 bg-opacity-80;
}
/* Navbar */
.navbar-links {
@apply bg-black-950;
@apply text-white-50 sm:bg-black-950;
}
.nav-link {
@apply text-white-50 hover:text-gray-500;
@apply text-black-950 sm:text-white-50;
}
}
6 changes: 6 additions & 0 deletions assets/svg/ado.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/svg/apple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/svg/arrow_down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/svg/arrow_right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/svg/arrow_turn_right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading