-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement support landing page
- Loading branch information
Showing
15 changed files
with
293 additions
and
37 deletions.
There are no files selected for viewing
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
<template> | ||
<div class="links"> | ||
<div class="link-container"> | ||
<a class="link" :href="urls.github" target="_blank"> | ||
<img | ||
class="logo" | ||
src="@/assets/svg/socials/github.svg" | ||
alt="Github" | ||
aria-hidden="true" | ||
/> | ||
</a> | ||
<h4 class="link-title">{{ $t('join-github') }}</h4> | ||
<p class="link-description">{{ $t('join-github-description') }}</p> | ||
</div> | ||
<div class="link-container"> | ||
<a class="link" :href="urls.telegram" target="_blank"> | ||
<img | ||
class="logo" | ||
src="@/assets/svg/socials/telegram.svg" | ||
alt="Telegram" | ||
aria-hidden="true" | ||
/> | ||
</a> | ||
<h4 class="link-title">{{ $t('join-telegram') }}</h4> | ||
<p class="link-description">{{ $t('join-telegram-description') }}</p> | ||
</div> | ||
<div class="link-container"> | ||
<a class="link" :href="urls.discord" target="_blank"> | ||
<img | ||
class="logo" | ||
src="@/assets/svg/socials/discord.svg" | ||
alt="Discord" | ||
aria-hidden="true" | ||
/> | ||
</a> | ||
<h4 class="link-title">{{ $t('join-discord') }}</h4> | ||
<p class="link-description">{{ $t('join-discord-description') }}</p> | ||
</div> | ||
<div class="link-container"> | ||
<a class="link" :href="urls.twitter" target="_blank"> | ||
<img | ||
class="logo" | ||
src="@/assets/svg/socials/twitter.svg" | ||
alt="Twitter" | ||
aria-hidden="true" | ||
/> | ||
</a> | ||
<h4 class="link-title">{{ $t('join-twitter') }}</h4> | ||
<p class="link-description">{{ $t('join-twitter-description') }}</p> | ||
</div> | ||
<div class="link-container"> | ||
<a class="link" :href="urls.email" target="_blank"> | ||
<img | ||
class="logo" | ||
src="@/assets/svg/socials/email.svg" | ||
alt="Twitter" | ||
aria-hidden="true" | ||
/> | ||
</a> | ||
<h4 class="link-title">{{ $t('join-email') }}</h4> | ||
<p class="link-description">{{ $t('join-email-description') }}</p> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import { urls } from '@/constants' | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.links { | ||
display: grid; | ||
grid-template-columns: 1fr; | ||
column-gap: 24px; | ||
justify-items: flex-start; | ||
row-gap: 24px; | ||
.link-container { | ||
display: grid; | ||
column-gap: 16px; | ||
grid-template-rows: max-content max-content; | ||
justify-items: flex-start; | ||
row-gap: 8px; | ||
align-items: center; | ||
grid-template-columns: max-content 1fr; | ||
} | ||
.link-description { | ||
color: $white-2; | ||
margin: 0; | ||
text-align: start; | ||
align-self: flex-start; | ||
} | ||
.link-title { | ||
color: $white-2; | ||
margin: 0; | ||
text-align: start; | ||
} | ||
.link { | ||
text-decoration: none; | ||
padding: 24px; | ||
grid-row: span 2; | ||
background-color: $green; | ||
border-radius: 8px; | ||
font-size: 14px; | ||
} | ||
.logo { | ||
width: 22px; | ||
} | ||
} | ||
@media (max-width: 600px) { | ||
.link-container { | ||
grid-template-columns: 1fr; | ||
justify-items: flex-start; | ||
} | ||
.link { | ||
grid-row: span 1; | ||
} | ||
} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export const urls = { | ||
telegram: 'https://t.me/witnetio', | ||
discord: 'https://discord.gg/witnet', | ||
twitter: 'https://twitter.com/witnet_io', | ||
github: 'https://github.com/witnet/my-wit-wallet/issues', | ||
email: 'mailto:[email protected]', | ||
} |
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,3 +1,17 @@ | ||
{ | ||
"title": "This website is under construction!" | ||
"title": "myWitWallet Support", | ||
"description": "Let us know what happened, and we'll find a solution to help. Our support team will will respond to you as soon as possible!", | ||
"send-email": "Send an email", | ||
"join-discord": "Join our Discord server", | ||
"join-github": "Open an issue on GitHub", | ||
"join-telegram": "Join our Telegram community", | ||
"join-twitter": "Join our Twitter account", | ||
"join-email": "Send an email", | ||
"join-discord-description": "Click on myWitWallet channel and describe your problem", | ||
"join-github-description": "We will resolve it as soon as possible", | ||
"join-telegram-description": "Send a message describing your problem to our Telegram group", | ||
"join-twitter-description": "Send a message to our Twitter account", | ||
"join-email-description": "Email our support team", | ||
"bye-bye-message": "Our support team will will respond to you as soon as possible!", | ||
"contact-links-title": "Contact Witnet" | ||
} |
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
Oops, something went wrong.