-
Notifications
You must be signed in to change notification settings - Fork 2
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
propose favicon, tos and rewards #8
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<template> | ||
<section class="section-earnings"> | ||
<h2>Earnings</h2> | ||
<h2><strong>What You can Earn</strong></h2> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The earnings section is currently disabled because functionality hasn't been implemented yet. I was hoping to tackle that soon. |
||
<div class="gradient-box-border"> | ||
<form> | ||
<label for="delegated-xtz-amount">Enter your XTZ Amount</label> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,12 +53,14 @@ const delegateAddress = `tz1R4PuhxUxBBZhfLJDx2nNjbr7WorAPX1oC` | |
background-color: $background-color; | ||
display: inline-grid; | ||
grid-template-columns: minmax(0, auto) minmax(0, auto); | ||
cursor: pointer; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is needed, nice catch. |
||
|
||
#delegate-address { | ||
border: 1px solid $primary-accent-color; | ||
font-family: 'JetBrains Mono', monospace; | ||
overflow-wrap: break-word; | ||
padding: 15px; | ||
cursor: pointer; | ||
} | ||
|
||
img { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,16 +4,38 @@ | |
<home-title style="grid-area: title" /> | ||
<home-description style="grid-area: description" /> | ||
</section> | ||
<section class="section-earnings"> | ||
<h1> Current APY 5.5% </h1> <!-- This of course can be pulled from where ever. --> | ||
</section> | ||
Comment on lines
+7
to
+9
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I prefer to leave this out until the implementation of a function that pulls the value from a node or api so I'll keep this idea as a feature request. |
||
</template> | ||
|
||
<script setup lang="ts"> | ||
import homeTezzomboiz from './home-tezzomboiz' | ||
import homeTitle from './home-title' | ||
import homeDescription from './home-description' | ||
|
||
</script> | ||
|
||
<style lang="scss" scoped> | ||
@import 'include-media'; | ||
|
||
.section-earnings { | ||
text-align: center; | ||
margin-top: 10%; | ||
} | ||
|
||
h1 { | ||
color: white; | ||
font-size: clamp(2rem, 10vw, 4rem); | ||
|
||
img { | ||
display: inline-block; | ||
vertical-align: text-bottom; | ||
height: clamp(3rem, 15vw, 5rem); | ||
vertical-align: middle; | ||
} | ||
} | ||
|
||
Comment on lines
+21
to
+38
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
.section-home { | ||
align-items: center; | ||
display: grid; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ import pkg from './package.json' | |
|
||
export default defineNuxtConfig({ | ||
css: ['@/assets/styles/global.scss'], | ||
meta: { | ||
head: { | ||
title: pkg.name, | ||
meta: [ | ||
{ | ||
|
@@ -13,6 +13,11 @@ export default defineNuxtConfig({ | |
}, | ||
], | ||
link: [ | ||
{ | ||
rel: 'icon', | ||
type: 'image/png', | ||
href: 'btz.png' | ||
}, | ||
Comment on lines
+16
to
+20
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We definitely need a favicon but the one provided is difficult to see. The image size is also quite large. I usually use https://realfavicongenerator.net/ to generate the favicon. |
||
{ | ||
href: `https://fonts.googleapis.com`, | ||
rel: `preconnect`, | ||
|
@@ -27,6 +32,9 @@ export default defineNuxtConfig({ | |
rel: `stylesheet`, | ||
}, | ||
], | ||
|
||
}, | ||
|
||
|
||
ssr: false, | ||
}) |
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.
TOS is a good idea but let's leave it out until ready instead of leaving a stub.