-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
2,440 additions
and
2,392 deletions.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,46 +1,52 @@ | ||
<template> | ||
<NuxtLayout name="section"> | ||
<div class="hero-container flex flex-col items-center"> | ||
<i18n-t keypath="hero.title.main" class="title-h1 text-center" tag="h1"> | ||
<span class="blue">{{ $t('hero.title.gradient') }}</span> | ||
</i18n-t> | ||
|
||
<h2 class="text text-center">{{ $t('hero.description') }}</h2> | ||
|
||
<CustomButton :type="ButtonType.primary"> | ||
<NuxtLayout | ||
name="section" | ||
:height="'h-lg-y-screen sm:h-[max-content] max-h-[900px]'" | ||
> | ||
<div | ||
class="h-full grid auto-rows-min content-center gap-y-lg justify-items-center relative" | ||
> | ||
<DottedBg | ||
class="absolute z-0 h-2-md-y-screen max-h-[700px] overflow-hidden" | ||
/> | ||
<Plus | ||
class="absolute left-xl top-[450px] z-10 overflow-hidden sm:hidden" | ||
/> | ||
<Zigzag | ||
class="absolute left-xl bottom-xl z-10 overflow-hidden sm:hidden" | ||
/> | ||
<SquareDots class="absolute left-xl top-xl z-10 sm:hidden" /> | ||
<Plus | ||
class="absolute right-xl top-[300px] z-10 overflow-hidden sm:hidden" | ||
/> | ||
<Zigzag | ||
class="absolute right-xl top-xl z-10 overflow-hidden rotate-90 sm:hidden" | ||
/> | ||
<SquareDots class="absolute right-xl bottom-xl z-10 sm:hidden" /> | ||
<div class="grid auto-rows-min gap-y-lg max-w-c-3xl z-20"> | ||
<i18n-t keypath="hero.title.main" class="title-h1 text-center" tag="h1"> | ||
<span class="blue">{{ $t('hero.title.gradient') }}</span> | ||
</i18n-t> | ||
|
||
<h2 class="text text-center">{{ $t('hero.description') }}</h2> | ||
</div> | ||
|
||
<CustomButton :type="ButtonType.primary" class="z-20"> | ||
{{ $t('hero.action') }} | ||
</CustomButton> | ||
|
||
<ArrowDownIcon class="m-xl" /> | ||
<ArrowDownIcon class="m-xl z-20" /> | ||
</div> | ||
</NuxtLayout> | ||
</template> | ||
|
||
<script setup> | ||
import { ButtonType } from '@/types' | ||
import ArrowDownIcon from '@/assets/svg/arrow_down.svg?component' | ||
import DottedBg from '@/assets/svg/dotted_background.svg?component' | ||
import Plus from '@/assets/svg/plus.svg?component' | ||
import Zigzag from '@/assets/svg/zigzag.svg?component' | ||
import SquareDots from '@/assets/svg/square-dots.svg?component' | ||
</script> | ||
|
||
<style scoped lang="scss"> | ||
.title-h1 { | ||
max-width: 550px; | ||
margin-bottom: 32px; | ||
} | ||
.text { | ||
max-width: 550px; | ||
margin-bottom: 48px; | ||
} | ||
.hero-container { | ||
background-image: url('/assets/svg/dotted_background.svg'); | ||
background-size: contain; | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
} | ||
.blue { | ||
color: $blue; | ||
} | ||
</style> | ||
<style scoped lang="scss"></style> |
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
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
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,23 +1,17 @@ | ||
<template> | ||
<div class="grid grid-flow-row"> | ||
<div class="grid grid-flow-row overflow-hidden"> | ||
<HeroSection /> | ||
<!-- TODO: add banner --> | ||
<!-- <Banner color="blue"/> --> | ||
<WhatIsWitnetSection class="py-16" /> | ||
<!-- <WhatIsWitnetSection class="py-16" /> | ||
<CoinSection class="py-16"/> | ||
<!-- <Banner color="black"/> --> | ||
<BuildSection class="py-16" /> | ||
<!-- <Banner color="blue"/> --> | ||
<ExploreSection class="py-16" /> | ||
<!-- <Banner color="blue" class="mb-xl"/> --> | ||
<Tutorials class="py-16" /> | ||
<Newsletter class="py-16"/> | ||
<Newsletter class="py-16"/> --> | ||
</div> | ||
</template> | ||
|
||
<style scoped> | ||
.py-16 { | ||
padding: 96px 0; | ||
} | ||
</style> | ||
</style> |
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