update nav and footer

This commit is contained in:
2021-03-21 09:47:10 +02:00
parent e7ef524df6
commit 081a84c8cb
6 changed files with 47 additions and 35 deletions

View File

@@ -17,22 +17,22 @@ items:
- name: Store TFT - name: Store TFT
link: https://new.threefold.io/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: https://new.threefold.io/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
@@ -60,7 +60,7 @@ 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: https://threefold.tech/ link: https://threefold.tech/
@@ -75,7 +75,7 @@ items:
--- ---
[Terms & Conditions](https://new.threefold.io/info/legal#/legal__terms_conditions_websites) | [Privacy Policy](https://new.threefold.io/info/legal#/legal__privacypolicy) | [Impressum]() <!-- [Terms & Conditions](https://new.threefold.io/info/legal#/legal__terms_conditions_websites) | [Privacy Policy](https://new.threefold.io/info/legal#/legal__privacypolicy) | [Impressum]()
<br/> <br/>
&#xA9; 2021 ThreeFold, All rights reserved. &#xA9; 2021 ThreeFold, All rights reserved. -->

View File

@@ -7,19 +7,24 @@ 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,13 +32,15 @@ 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
- title: Forum - title: Forum
path: https://forum.threefold.io/ path: https://forum.threefold.io/
external: true
- name: ECOSYSTEM - name: ECOSYSTEM
link: '' link: ''
@@ -47,7 +54,7 @@ navLinks:
path: /partners path: /partners
- title: Conscious Internet - title: Conscious Internet
path: /aci path: https://new.threefold.io/aci
external: true external: true
- title: ThreeFold Tech - title: ThreeFold Tech
@@ -70,8 +77,7 @@ navLinks:
social: social:
- icon: telegram-plane - icon: telegram-plane
link: '' #telegaram link link: 'https://t.me/threefoldnews' #telegaram link
- icon: linkedin
link: '' #linkedin link
--- ---

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="fixed inset-0 h-16 bg-white"> <div class="fixed inset-0 h-16 bg-teal-200">
<header <header
class="flex items-center justify-between flex-wrap container mx-auto px-4 sm:px-0 py-4 transition-all transition-500" class="flex items-center justify-between flex-wrap container mx-auto px-4 sm:px-0 py-4 transition-all transition-500"
:class="{ :class="{
@@ -12,14 +12,14 @@
<a href="/" class="flex"> <a href="/" class="flex">
<g-image <g-image
:src="require(`!!assets-loader!@images/TFN_black.svg`)" :src="require(`!!assets-loader!@images/TFN_black.svg`)"
class="mr-3 fill-current w-3/5" class="mr-3 fill-current logo"
v-if="theme == 'light'" v-if="theme == 'light'"
alt="" alt=""
/> />
<g-image <g-image
:src="require(`!!assets-loader!@images/TFN_black.svg`)" :src="require(`!!assets-loader!@images/TFN_black.svg`)"
class="mr-3 fill-current w-3/5" class="mr-3 fill-current logo"
v-else v-else
alt="" alt=""
/> />
@@ -53,9 +53,9 @@
</div> </div>
<div class="text-gray-400 sm:block md:hidden"> <div class="text-gray-400 sm:block md:hidden">
<ul class="list-none flex justify-center md:justify-end"> <ul class="list-none flex justify-center md:justify-end">
<li class="mr-0 sm:mr-6"> <!-- <li class="mr-0 sm:mr-6">
<theme-switcher v-on="$listeners" :theme="theme" /> <theme-switcher v-on="$listeners" :theme="theme" />
</li> </li> -->
<li <li
:key="element.name" :key="element.name"
v-for="(element, index) in navigation.social" v-for="(element, index) in navigation.social"
@@ -80,7 +80,7 @@
<nav <nav
:class="isOpen ? 'block' : 'hidden'" :class="isOpen ? 'block' : 'hidden'"
class="navbar md:order-2 px-2 pt-2 pb-4 sm:flex sm:p-0 sm:w-100 bg-white" class="navbar md:order-2 px-2 pt-2 pb-4 sm:flex sm:p-0 sm:w-100 bg-teal-200"
> >
<div <div
:key="index" :key="index"
@@ -194,9 +194,9 @@
/> />
</div> --> </div> -->
<ul class="list-none inline-flex justify-center md:justify-end"> <ul class="list-none inline-flex justify-center md:justify-end">
<li class="mr-0 sm:mr-6"> <!-- <li class="mr-0 sm:mr-6">
<ThemeSwitcher v-on="$listeners" :theme="theme" /> <ThemeSwitcher v-on="$listeners" :theme="theme" />
</li> </li> -->
<li <li
:key="element.name" :key="element.name"
v-for="(element, index) in navigation.social" v-for="(element, index) in navigation.social"
@@ -311,6 +311,9 @@ a.active--exact.active {
.navbar { .navbar {
width: auto; width: auto;
} }
.logo {
max-width: 180px;
}
@media (max-width: 768px) { @media (max-width: 768px) {
.navbar { .navbar {
width: 100%; width: 100%;

View File

@@ -121,14 +121,14 @@
</div> </div>
</div> </div>
<div <div
class="mt-12 grid md:grid-cols-4 sm:grid-cols-2 xl:mt-0 xl:col-span-2" class="mt-12 grid md:grid-cols-5 sm:grid-cols-2 xl:mt-0 xl:col-span-2"
> >
<!-- class="mt-12 grid grid-cols-2 gap-8 xl:mt-0 xl:col-span-2" --> <!-- class="mt-12 grid grid-cols-2 gap-8 xl:mt-0 xl:col-span-2" -->
<div <div
v-for="footerLink in record.items" v-for="footerLink in record.items"
:key="footerLink.title" :key="footerLink.title"
class="md:grid md:grid-cols-3" class=""
> >
<div> <div>
<h4 <h4
@@ -162,6 +162,9 @@
<div class="mt-12 border-t border-gray-200 pt-8"> <div class="mt-12 border-t border-gray-200 pt-8">
<p class="text-base leading-6 text-gray-400 xl:text-center"> <p class="text-base leading-6 text-gray-400 xl:text-center">
&#xA9; 2021 ThreeFold, All rights reserved. &#xA9; 2021 ThreeFold, All rights reserved.
<a class="leading-6 text-gray-500 hover:text-gray-900" target="_blank" href="https://new.threefold.io/info/legal#/legal__terms_conditions_websites">Terms & Conditions | </a>
<a class="leading-6 text-gray-500 hover:text-gray-900" target="_blank" href="https://new.threefold.io/info/legal#/legal__privacypolicy">Privacy Policy | </a>
<a class="leading-6 text-gray-500 hover:text-gray-900" target="_blank" href="#">Impressum</a>
</p> </p>
</div> </div>
</div> </div>

View File

@@ -1,15 +1,15 @@
<template> <template>
<div class=""> <div class="">
<!-- <NavBar <NavBar
:navigation="$static.navigation" :navigation="$static.navigation"
@setTheme="setTheme" @setTheme="setTheme"
:theme="this.theme" :theme="this.theme"
/> --> />
<slot /> <slot />
<!-- <Footer <Footer
:record="$static.footer" :record="$static.footer"
@setTheme="setTheme" @setTheme="setTheme"
:theme="this.theme" /> --> :theme="this.theme" />
</div> </div>
</template> </template>

View File

@@ -1,6 +1,6 @@
<template> <template>
<Layout :hideHeader="true" :disableScroll="true"> <Layout :hideHeader="true" :disableScroll="true">
<div class="container-fluid sm:pxi-0 mx-auto overflow-x-hidden"> <div class="container-fluid pt-16 sm:pxi-0 mx-auto overflow-x-hidden">
<g-image <g-image
v-if="$page.markdownPage.solution_image" v-if="$page.markdownPage.solution_image"
:src="$page.markdownPage.solution_image.src" :src="$page.markdownPage.solution_image.src"