fix links

This commit is contained in:
hamdy
2021-03-23 20:54:17 +02:00
parent 47970eb146
commit f4a437f13b
8 changed files with 23 additions and 30 deletions

View File

@@ -8,23 +8,18 @@ navLinks:
submenu: submenu:
- title: Be The Internet - title: Be The Internet
path: /farming path: /farming
external: true
- title: P2P Cloud - title: P2P Cloud
path: /cloud path: /cloud
external: true
- title: P2P Marketplace - title: P2P Marketplace
path: /marketplace path: /marketplace
external: true
- title: Digital Twin - title: Digital Twin
path: /twin path: /twin
external: true
- title: ThreeFold Token - title: ThreeFold Token
path: /farming/token path: /farming/token
external: true
- name: LEARN - name: LEARN
link: '' # /dropdown link: '' # /dropdown
@@ -33,7 +28,6 @@ navLinks:
submenu: submenu:
- title: Knowledge Base - title: Knowledge Base
path: /info/threefold path: /info/threefold
external: true
- title: Blog - title: Blog
path: /blog path: /blog
@@ -55,7 +49,6 @@ navLinks:
- title: Conscious Internet - title: Conscious Internet
path: /aci path: /aci
external: true
- title: ThreeFold Tech - title: ThreeFold Tech
path: https://threefold.tech/ path: https://threefold.tech/

View File

@@ -140,7 +140,7 @@
v-else v-else
class="block px-4 py-1 text-sm font-semibold 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 font-semibold 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="$url(link.path)" :href="link.path"
>{{ link.title }}</a >{{ link.title }}</a
> >
</div> </div>
@@ -148,20 +148,20 @@
</div> </div>
</div> </div>
<g-link <a
v-else-if="element.external" v-else-if="element.external"
:to="element.link" :href="element.link"
@click.native="clicked" @click.native="clicked"
target="_blank" target="_blank"
class="inline-flex sm:flex uppercase p-2 mr-4 animated-link" class="inline-flex sm:flex uppercase p-2 mr-4 animated-link"
>{{ element.name }}</g-link >{{ element.name }}</a
> >
<g-link <a
v-else v-else
:to="element.link" :href="element.link"
@click.native="clicked" @click.native="clicked"
class="inline-flex sm:flex uppercase p-2 mr-4 animated-link" class="inline-flex sm:flex uppercase p-2 mr-4 animated-link"
>{{ element.name }}</g-link >{{ element.name }}</a
> >
</div> </div>
<!-- <div <!-- <div

View File

@@ -13,11 +13,11 @@
></div> ></div>
<g-link <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"
v-if="cta.button" v-if="cta.button"
:to="cta.link" :href="cta.link"
>{{ cta.button }}</g-link >{{ cta.button }}</a
> >
<g-link <g-link
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"

View File

@@ -26,11 +26,11 @@
</div> </div>
</div> </div>
<div> <div>
<g-link <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"
:to="main.link" :href="main.link"
>{{ main.button }}</g-link >{{ main.button }}</a
> >
</div> </div>
</section> </section>

View File

@@ -20,10 +20,10 @@
class="py-6 mt-4 text-lg leading-6 text-white" class="py-6 mt-4 text-lg leading-6 text-white"
v-html="brand.content" v-html="brand.content"
></div> ></div>
<g-link <a
:to="brand.sourceUrl" :href="brand.sourceUrl"
class="bg-teal-300 text-sm learn-button hover:bg-57EEF8-400 text-gray-900 px-12 py-2 mr-3 rounded shadow rounded-full" class="bg-teal-300 text-sm learn-button hover:bg-57EEF8-400 text-gray-900 px-12 py-2 mr-3 rounded shadow rounded-full"
>{{ brand.btnTxt }}</g-link >{{ brand.btnTxt }}</a
> >
</div> </div>
</div> </div>

View File

@@ -9,10 +9,10 @@
<div class="grid grid-cols-1 gap-4 sm:grid-cols-2"> <div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
<g-link <a
v-for="(product, idx) in products" v-for="(product, idx) in products"
:key="idx" :key="idx"
:to="product.url" :href="product.url"
class="m-auto rounded overflow-hidden transition duration-500" class="m-auto rounded overflow-hidden transition duration-500"
> >
@@ -22,7 +22,7 @@
<p v-html="product.content" class="text-gray-700 text-base"></p> <p v-html="product.content" class="text-gray-700 text-base"></p>
</div> </div>
</g-link> </a>
</div> </div>
</div> </div>

View File

@@ -7,14 +7,14 @@
<p class="text-gray-400 leading-relaxed"></p> <p class="text-gray-400 leading-relaxed"></p>
</div> </div>
<div class="flex flex-wrap -mx-8"> <div class="flex flex-wrap -mx-8">
<g-link <a
v-for="(logo, idx) in logos" v-for="(logo, idx) in logos"
:key="idx" :key="idx"
:to="logo.url" :href="logo.url"
class="w-1/2 md:w-1/6 px-8 mb-8" class="w-1/2 md:w-1/6 px-8 mb-8"
> >
<g-image :src="img(logo.image)" /> <g-image :src="img(logo.image)" />
</g-link> </a>
</div> </div>
</section> </section>
</template> </template>

View File

@@ -32,7 +32,7 @@
:altImg="$page.markdownPage.header_altImg" :altImg="$page.markdownPage.header_altImg"
:excerpt="$page.markdownPage.header_excerpt" :excerpt="$page.markdownPage.header_excerpt"
:button="$page.markdownPage.button" :button="$page.markdownPage.button"
:link="$url($page.markdownPage.link)" :link="$page.markdownPage.link"
/> />
<Comparison <Comparison