Disabled portfolio link and add message to missing page
This commit is contained in:
parent
58030fc70d
commit
bb5172bde5
|
|
@ -6,9 +6,10 @@
|
|||
</div>
|
||||
<div class="section-block__content section-content">
|
||||
<div class="section-content__subsection subsection">
|
||||
<router-link :to="route" class="subsection__content small-emph" >
|
||||
<router-link :to="route" class="subsection__content small-emph" v-if="route">
|
||||
Alle Inhalte
|
||||
</router-link>
|
||||
<span class="subsection__content subsection__content--disabled" v-if="!route">Noch nicht verfügbar</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -56,6 +57,10 @@
|
|||
font-family: $sans-serif-font-family;
|
||||
font-weight: 600;
|
||||
color: $color-brand;
|
||||
|
||||
&--disabled {
|
||||
color: $color-grey;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
</router-link>
|
||||
<router-link to="/rooms" active-class="top-navigation__link--active" class="top-navigation__link">Räume
|
||||
</router-link>
|
||||
<router-link to="/404" active-class="top-navigation__link--active" class="top-navigation__link">Portfolio
|
||||
<router-link to="/portfolio" active-class="top-navigation__link--active" class="top-navigation__link">Portfolio
|
||||
</router-link>
|
||||
</nav>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
<template>
|
||||
<p class="portfolio-page">Diese Funktion steht noch nicht zur Verfügung.</p>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
.portfolio-page {
|
||||
display: grid;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
padding-top: 25vh;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -18,7 +18,6 @@
|
|||
class="start-sections__section"
|
||||
title="Portfolio"
|
||||
subtitle="Dokumentation & reflektieren"
|
||||
route="/portfolio"
|
||||
></section-block>
|
||||
</div>
|
||||
<div class="start-page__news news">
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ import submissions from '@/pages/submissions'
|
|||
import p404 from '@/pages/p404'
|
||||
import start from '@/pages/start'
|
||||
import submission from '@/pages/studentSubmission'
|
||||
import portfolio from '@/pages/portfolio'
|
||||
|
||||
const routes = [
|
||||
{path: '/', component: start, meta: {layout: 'blank'}},
|
||||
|
|
@ -45,6 +46,7 @@ const routes = [
|
|||
{path: '/article/:slug', name: 'article', component: article, meta: {layout: 'simple'}},
|
||||
{path: '/basic-knowledge/:slug', name: 'basic-knowledge', component: basicknowledge, meta: {layout: 'simple'}},
|
||||
{path: '/submission/:id', name: 'submission', component: submission, meta: {layout: 'simple'}},
|
||||
{path: '/portfolio', name: 'portfolio', component: portfolio},
|
||||
{
|
||||
path: '/book',
|
||||
name: 'book',
|
||||
|
|
|
|||
Loading…
Reference in New Issue