/ Fixed scss links and a v-if bug
This commit is contained in:
@@ -20,6 +20,9 @@ $danger: $red;
|
|||||||
|
|
||||||
$primary: $space-blue-700;
|
$primary: $space-blue-700;
|
||||||
$primary-light: $space-blue-600;
|
$primary-light: $space-blue-600;
|
||||||
|
$primary-xlight: $space-blue-500;
|
||||||
|
$primary-xxlight: $space-blue-300;
|
||||||
|
|
||||||
|
|
||||||
$heading-font-family: 'Poppins', serif;
|
$heading-font-family: 'Poppins', serif;
|
||||||
$body-font-family: 'Open Sans', sans-serif;
|
$body-font-family: 'Open Sans', sans-serif;
|
||||||
|
|||||||
@@ -14,6 +14,15 @@
|
|||||||
<h3 class="heading-3">
|
<h3 class="heading-3">
|
||||||
Informations
|
Informations
|
||||||
</h3>
|
</h3>
|
||||||
|
<p v-if="celestial.aroundPlanet">
|
||||||
|
Orbite autour de
|
||||||
|
<nuxt-link
|
||||||
|
:to="`/astres/${celestial.aroundPlanet.planet}`"
|
||||||
|
class="txt-capitalize"
|
||||||
|
>
|
||||||
|
{{ celestial.aroundPlanet.planet }}
|
||||||
|
</nuxt-link>
|
||||||
|
</p>
|
||||||
<p v-if="celestial.discoveredBy">
|
<p v-if="celestial.discoveredBy">
|
||||||
Découvert par {{ celestial.discoveredBy }} le {{ celestial.discoveryDate }}
|
Découvert par {{ celestial.discoveredBy }} le {{ celestial.discoveryDate }}
|
||||||
</p>
|
</p>
|
||||||
@@ -23,7 +32,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-if="celestial.moons" class="celestial-moons">
|
<div v-if="celestial.moons" class="celestial-moons">
|
||||||
<h2 class="heading-2">
|
<h2 class="heading-2">
|
||||||
Lunes orbitant {{ celestial.name }}
|
Astres orbitant {{ celestial.name }}
|
||||||
</h2>
|
</h2>
|
||||||
<celestials-list :celestials="celestial.moons" :has-filters="false" />
|
<celestials-list :celestials="celestial.moons" :has-filters="false" />
|
||||||
</div>
|
</div>
|
||||||
@@ -85,8 +94,12 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.celestial-body {
|
.celestial-body {
|
||||||
.celestial-type {
|
a {
|
||||||
text-transform: capitalize;
|
color: $primary-xxlight;
|
||||||
|
text-decoration: underline;
|
||||||
|
&:hover {
|
||||||
|
color: $primary-xlight;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user