make links external

This commit is contained in:
2021-03-31 10:23:58 +02:00
parent 4132e8d885
commit a245c0b0ce
10 changed files with 60 additions and 32 deletions

View File

@@ -13,41 +13,41 @@ items:
- title: PARTICIPATE - title: PARTICIPATE
links: links:
- name: Get TFT - name: Get TFT
link: /info/threefold#/threefold__how_to_buy_and_sell link: https://new.threefold.io/info/threefold#/threefold__how_to_buy_and_sell
- name: Store TFT - name: Store TFT
link: /info/threefold#/threefold__storing_tft link: https://new.threefold.io/info/threefold#/threefold__storing_tft
- name: Be The Internet - name: Be The Internet
link: /farming link: https://new.threefold.io/farming
- name: P2P Cloud - name: P2P Cloud
link: /cloud link: https://new.threefold.io/cloud
- name: P2P Marketplace - name: P2P Marketplace
link: /marketplace link: https://new.threefold.io/marketplace
- name: Digital Twin - name: Digital Twin
link: /twin link: https://new.threefold.io/twin
- title: LEARN - title: LEARN
links: links:
- name: What is ThreeFold? - name: What is ThreeFold?
link: /info/threefold link: https://new.threefold.io/info/threefold
- name: What is TFT? - name: What is TFT?
link: /farming/token link: https://new.threefold.io/farming/token
- name: Knowledge Base - name: Knowledge Base
link: /info/threefold#/ link: https://new.threefold.io/info/threefold#/
- name: Manuals - name: Manuals
link: /info/threefold#/tftech__tf_manuals?id=threefold-manuals link: https://new.threefold.io/info/threefold#/tftech__tf_manuals?id=threefold-manuals
- name: ThreeFold Foundation - name: ThreeFold Foundation
link: /info/threefold#/threefold__threefold_foundation link: https://new.threefold.io/info/threefold#/threefold__threefold_foundation
- name: ThreeFold Glossary - name: ThreeFold Glossary
link: /info/threefold#/threefold__defs link: https://new.threefold.io/info/threefold#/threefold__defs
- title: DEVELOPERS - title: DEVELOPERS
links: links:
- name: Get Started - name: Get Started
link: /info/threefold#/tftech__tf_manuals?id=threefold-manuals link: https://new.threefold.io/info/threefold#/tftech__tf_manuals?id=threefold-manuals
- name: SDK - name: SDK
link: /info/sdk link: https://new.threefold.io/info/sdk
- name: P2P Cloud - name: P2P Cloud
link: /info/threefold#/tftech__manual_cloud link: https://new.threefold.io/info/threefold#/tftech__manual_cloud
- name: GitHub - name: GitHub
link: https://github.com/threefoldfoundation link: https://github.com/threefoldfoundation
@@ -60,14 +60,14 @@ items:
- name: Partners - name: Partners
link: /partners link: /partners
- name: Conscious Internet - name: Conscious Internet
link: /aci link: https://new.threefold.io/aci
- name: ThreeFold Tech - name: ThreeFold Tech
link: /tftech link: https://new.threefold.io/tftech
- title: ABOUT - title: ABOUT
links: links:
- name: ThreeFold - name: ThreeFold
link: /info/threefold link: https://new.threefold.io/info/threefold
- name: Forum - name: Forum
link: https://forum.threefold.io/ link: https://forum.threefold.io/
- name: Contact Us - name: Contact Us

View File

@@ -7,19 +7,29 @@ navLinks:
expandable: true expandable: true
submenu: submenu:
- title: Be The Internet - title: Be The Internet
path: /farming path: https://new.threefold.io/farming
external: true
- title: P2P Cloud - title: P2P Cloud
path: /cloud path: https://new.threefold.io/cloud
external: true
- title: P2P Marketplace - title: P2P Marketplace
path: /marketplace path: https://new.threefold.io/marketplace
external: true
- title: Digital Twin - title: Digital Twin
path: /twin path: https://new.threefold.io/twin
external: true
- title: ThreeFold Token - title: ThreeFold Token
path: /farming/token path: https://new.threefold.io/farming/token
external: true
- name: LEARN - name: LEARN
link: '' # /dropdown link: '' # /dropdown
@@ -27,7 +37,8 @@ navLinks:
expandable: true expandable: true
submenu: submenu:
- title: Knowledge Base - title: Knowledge Base
path: /info/threefold path: https://new.threefold.io/info/threefold
external: true
- title: Blog - title: Blog
path: /blog path: /blog
@@ -48,7 +59,8 @@ navLinks:
path: /partners path: /partners
- title: Conscious Internet - title: Conscious Internet
path: /aci path: https://new.threefold.io/aci
external: true
- title: ThreeFold Tech - title: ThreeFold Tech
path: https://threefold.tech/ path: https://threefold.tech/

View File

@@ -3,5 +3,5 @@ id: comparison
title: GIVE THE WORLD A BETTER INTERNET title: GIVE THE WORLD A BETTER INTERNET
description: The current Internet is centralized to tech giants that build power-hungry data centers and exploit user data. ThreeFold looks at updating the current $3.9 Billion IT with a new paradigm that serves people and our planet. description: The current Internet is centralized to tech giants that build power-hungry data centers and exploit user data. ThreeFold looks at updating the current $3.9 Billion IT with a new paradigm that serves people and our planet.
button: Our Values button: Our Values
link: /aci/about #add button link here link: https://new.threefold.io/aci/about #add button link here
--- ---

View File

@@ -2,7 +2,7 @@
id: home_cta id: home_cta
title: JOIN THE MOVEMENT title: JOIN THE MOVEMENT
button: Support Us By Purchasing Tokens button: Support Us By Purchasing Tokens
link: /info/threefold#/how_to_buy_and_sell link: https://new.threefold.io/info/threefold#/how_to_buy_and_sell
button2: Stay Updated button2: Stay Updated
link2: https://t.me/threefoldnews link2: https://t.me/threefoldnews
button3: Join Our Community button3: Join Our Community

View File

@@ -2,6 +2,6 @@
id: tokens id: tokens
title: '' title: ''
image : ./tokens.png image : ./tokens.png
url : /farming/token url : https://new.threefold.io/farming/token
--- ---

View File

@@ -2,6 +2,6 @@
id: nodes id: nodes
title: '' title: ''
image : ./nodes.png image : ./nodes.png
url : /farming/3node url : https://new.threefold.io/farming/3node
--- ---

View File

@@ -2,6 +2,6 @@
id: storage id: storage
title: '' title: ''
image : ./storage.png image : ./storage.png
url : /cloud url : https://new.threefold.io/cloud
--- ---

View File

@@ -15,6 +15,7 @@
<a <a
class="inline-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" class="inline-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"
target="_blank"
v-if="cta.button" v-if="cta.button"
:href="cta.link" :href="cta.link"
>{{ cta.button }}</a >{{ cta.button }}</a

View File

@@ -26,12 +26,26 @@
</div> </div>
</div> </div>
<div> <div>
<a <!-- <a
v-if="main.button" v-if="main.button"
class="bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 rounded shadow rounded-full" class="bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 rounded shadow rounded-full"
:href="main.link" :href="main.link"
>{{ main.button }}</a >{{ main.button }}</a
> > -->
<a
v-if="main.link.includes('http')"
target="_blank"
:href="main.link"
class="bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 rounded shadow rounded-full"
>{{ main.button }}</a
>
<g-link
v-else
:href="main.link"
class="bg-blue-900 text-sm learn-button hover:bg-blue-800 text-gray-100 px-12 py-2 mr-5 rounded shadow rounded-full"
>{{ main.button }}</g-link
>
</div> </div>
</section> </section>
</template> </template>

View File

@@ -11,6 +11,7 @@
<a <a
v-for="(product, idx) in products" v-for="(product, idx) in products"
target="_blank"
:key="idx" :key="idx"
:href="product.url" :href="product.url"
class="m-auto rounded overflow-hidden transition duration-500" class="m-auto rounded overflow-hidden transition duration-500"