init token page
This commit is contained in:
@@ -11,7 +11,7 @@ navLinks:
|
|||||||
expandable: false
|
expandable: false
|
||||||
- name: TOKEN
|
- name: TOKEN
|
||||||
link: /token
|
link: /token
|
||||||
external: true
|
external: false
|
||||||
expandable: false
|
expandable: false
|
||||||
- name: LEARN
|
- name: LEARN
|
||||||
link: "" # /dropdown
|
link: "" # /dropdown
|
||||||
|
|||||||
10
content/page/token/token.md
Normal file
10
content/page/token/token.md
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
id: token
|
||||||
|
header_slogan: WE ARE GROWING NOW.
|
||||||
|
header_title: YOU GROW WHEN THE THREEFOLD GRID GROWS.
|
||||||
|
header_image: ./token_header.png
|
||||||
|
header_altImg: ThreeFold Token
|
||||||
|
header_excerpt: The ThreeFold Token is the currency of the fastest growing P2P internet network on the planet. The perfect time to get involved in our growth is now.
|
||||||
|
button: Get Tokens
|
||||||
|
link: /
|
||||||
|
---
|
||||||
BIN
content/page/token/token_header.png
Normal file
BIN
content/page/token/token_header.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 433 KiB |
@@ -6,7 +6,8 @@
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
siteName: 'ThreeFold',
|
siteName: 'ThreeFold',
|
||||||
plugins: [
|
pathPrefix: "threefold",
|
||||||
|
plugins: [
|
||||||
|
|
||||||
// Local models
|
// Local models
|
||||||
{
|
{
|
||||||
@@ -493,7 +494,8 @@ module.exports = {
|
|||||||
externalLinksTarget: '_blank',
|
externalLinksTarget: '_blank',
|
||||||
externalLinksRel: ['nofollow', 'noopener', 'noreferrer'],
|
externalLinksRel: ['nofollow', 'noopener', 'noreferrer'],
|
||||||
anchorClassName: 'icon icon-link',
|
anchorClassName: 'icon icon-link',
|
||||||
plugins: [
|
pathPrefix: "threefold",
|
||||||
|
plugins: [
|
||||||
['gridsome-plugin-remark-prismjs-all', {
|
['gridsome-plugin-remark-prismjs-all', {
|
||||||
highlightClassName: "gridsome-highlight",
|
highlightClassName: "gridsome-highlight",
|
||||||
codeTitleClassName: "gridsome-code-title",
|
codeTitleClassName: "gridsome-code-title",
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
:key="product.id"
|
:key="product.id"
|
||||||
>
|
>
|
||||||
<div class="post-card-image-link px-1">
|
<div class="post-card-image-link px-1">
|
||||||
<g-link :href="product.link">
|
<g-link :to="product.link">
|
||||||
<g-image
|
<g-image
|
||||||
:src="img(product.image)"
|
:src="img(product.image)"
|
||||||
:alt="product.title"
|
:alt="product.title"
|
||||||
|
|||||||
@@ -158,12 +158,12 @@
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
>{{ link.title }}</a
|
>{{ link.title }}</a
|
||||||
>
|
>
|
||||||
<a
|
<g-link
|
||||||
v-else
|
v-else
|
||||||
class="block px-4 py-1 text-sm bg-transparent rounded-lg dark:bg-transparent dark:hover:bg-gray-600 dark-:focus:bg-gray-600 dark:focus:text-white dark:hover:text-white dark:text-gray-200 md:mt-0 hover:text-gray-900 focus:text-gray-900 hover:bg-gray-200 focus:bg-gray-200 focus:outline-none focus:shadow-outline"
|
class="block px-4 py-1 text-sm bg-transparent rounded-lg dark:bg-transparent dark:hover:bg-gray-600 dark-:focus:bg-gray-600 dark:focus:text-white dark:hover:text-white dark:text-gray-200 md:mt-0 hover:text-gray-900 focus:text-gray-900 hover:bg-gray-200 focus:bg-gray-200 focus:outline-none focus:shadow-outline"
|
||||||
@click="open = false"
|
@click="open = false"
|
||||||
:href="link.path"
|
:to="link.path"
|
||||||
>{{ link.title }}</a
|
>{{ link.title }}</g-link
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -40,7 +40,46 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex flex-wrap text-center lg:text-left lg:mt-10 lg:pt-10 -mx-2" v-else>
|
<div
|
||||||
|
class="flex flex-wrap text-center lg:text-left lg:mt-10 lg:pt-10 -mx-2"
|
||||||
|
v-else-if="id == 'token'"
|
||||||
|
>
|
||||||
|
<div class="lg:w-1/2 px-2 lg:pr-20 lg:mt-10 order-1 lg:order-none">
|
||||||
|
<h1
|
||||||
|
v-if="id == 'token'"
|
||||||
|
class="text-4xl text-center mb-6 mt-20 leading-none font-normal font-heading"
|
||||||
|
>
|
||||||
|
{{ title }} <br />
|
||||||
|
<span class="font-bold">{{ slogan }}</span>
|
||||||
|
</h1>
|
||||||
|
<div
|
||||||
|
class="mb-8 text-center text-gray-700 leading-relaxed"
|
||||||
|
v-html="excerpt"
|
||||||
|
></div>
|
||||||
|
<div v-if="button">
|
||||||
|
<a
|
||||||
|
v-if="link.includes('http')"
|
||||||
|
target="_blank"
|
||||||
|
class="nline-block bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 mb-4 rounded shadow rounded-full"
|
||||||
|
:href="link"
|
||||||
|
>{{ button }}</a
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
v-else
|
||||||
|
class="nline-block bg-blue-900 text-md learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 mb-4 rounded shadow rounded-full"
|
||||||
|
:href="link"
|
||||||
|
>{{ button }}</a
|
||||||
|
>
|
||||||
|
<!-- <a class="text-gray-600 hover:underline" href="#">Learn more</a> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="lg:w-1/2 px-2"><g-image :src="img" :alt="altImg" /></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="flex flex-wrap text-center lg:text-left lg:mt-10 lg:pt-10 -mx-2"
|
||||||
|
v-else
|
||||||
|
>
|
||||||
<div class="lg:w-2/5 px-2 lg:pr-20 lg:mt-10 order-1 lg:order-none">
|
<div class="lg:w-2/5 px-2 lg:pr-20 lg:mt-10 order-1 lg:order-none">
|
||||||
<h2
|
<h2
|
||||||
class="text-6xl mb-6 mt-20 leading-none font-extrabold font-heading"
|
class="text-6xl mb-6 mt-20 leading-none font-extrabold font-heading"
|
||||||
@@ -90,4 +129,5 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user