update pathPrefix

This commit is contained in:
2021-02-14 13:01:53 +02:00
parent 53ba49b37b
commit fed9fd9e83
10 changed files with 28 additions and 11 deletions

View File

@@ -12,10 +12,10 @@ navLinks:
expandable: false expandable: false
submenu: submenu:
- title: Page2 - title: Page2
path: /page2 path: /threefold/page2
- title: Page3 - title: Page3
path: /page3 path: /threefold/page3
- name: People - name: People
link: /people link: /people
@@ -28,10 +28,10 @@ navLinks:
expandable: false expandable: false
submenu: submenu:
- title: NewsRoom - title: NewsRoom
path: /news path: /threefold/news
- title: Blog - title: Blog
path: /blog path: /threefold/blog
- title: Community - title: Community
path: https://forums.threefold.io/ path: https://forums.threefold.io/

View File

@@ -6,6 +6,7 @@
module.exports = { module.exports = {
siteName: 'Threefold Webstack', siteName: 'Threefold Webstack',
pathPrefix: 'threefold',
plugins: [ plugins: [
// Local models // Local models

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

Before

Width:  |  Height:  |  Size: 687 B

After

Width:  |  Height:  |  Size: 687 B

View File

Before

Width:  |  Height:  |  Size: 687 B

After

Width:  |  Height:  |  Size: 687 B

View File

@@ -11,7 +11,7 @@
<div class="inline-flex items-center flex-shrink-0"> <div class="inline-flex items-center flex-shrink-0">
<a href="/" class="flex"> <a href="/" class="flex">
<img <img
src="/img/TFN_black.svg" :src="require(`!!assets-loader!@images/TFN_black.svg`)"
class="mr-3 fill-current" class="mr-3 fill-current"
width="180" width="180"
v-if="theme == 'light'" v-if="theme == 'light'"
@@ -19,12 +19,28 @@
/> />
<img <img
src="/img/TFN_white.svg" :src="require(`!!assets-loader!@images/TFN_black.svg`)"
class="mr-3 fill-current" class="mr-3 fill-current"
width="180" width="180"
v-else v-else
alt="" alt=""
/> />
<!-- <g-image
v-if="theme == 'light'"
width="180"
class="mr-3 fill-current"
:src="require(`!!assets-loader!@images/TFN_black.svg`)"
alt=""
/>
<g-image
v-else
width="180"
class="mr-3 fill-current"
:src="require(`!!assets-loader!@images/TFN_white.svg`)"
alt=""
/> -->
<!-- <span <!-- <span
class="hidden md:block font-semibold text-xl tracking-tight" class="hidden md:block font-semibold text-xl tracking-tight"
>{{ $static.metadata.siteName }}</span >{{ $static.metadata.siteName }}</span

View File

@@ -9,14 +9,14 @@
<div class="space-y-8 xl:col-span-1"> <div class="space-y-8 xl:col-span-1">
<g-image <g-image
class="h-10" class="h-10"
src="/img/tf_icon_black.svg" :src="require(`!!assets-loader!@images/tf_icon_black.svg`)"
alt="Company name" alt="Company name"
v-if="theme == 'light'" v-if="theme == 'light'"
/> />
<g-image <g-image
class="h-10" class="h-10"
src="/img/tf_icon_white.svg" :src="require(`!!assets-loader!@images/tf_icon_white.svg`)"
alt="Company name" alt="Company name"
v-else v-else
/> />

View File

@@ -4,10 +4,10 @@
class="container sm:pxi-0 mx-auto" class="container sm:pxi-0 mx-auto"
:style="{ 'min-height': contentHeight + 'px' }" :style="{ 'min-height': contentHeight + 'px' }"
> >
<img <g-image
v-if="loading" v-if="loading"
class="m-auto" class="m-auto"
src="/img/loader.gif" :src="require(`!!assets-loader!@images/loader.gif`)"
alt="" alt=""
/> />
<div <div