fix white background in projects, add screenshots to gitignore
This commit is contained in:
parent
e9bb8844e7
commit
69c9ecafd8
|
|
@ -42,3 +42,6 @@ server/media/
|
||||||
.python-version
|
.python-version
|
||||||
|
|
||||||
.coverage
|
.coverage
|
||||||
|
|
||||||
|
# Cypress screenshots
|
||||||
|
client/cypress/screenshots
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="project">
|
<div class="project" :class="specialContainerClass">
|
||||||
<div class="project__header">
|
<div class="project__header">
|
||||||
<h1 class="project__title">{{project.title}}</h1>
|
<h1 class="project__title">{{project.title}}</h1>
|
||||||
<p class="project__description">
|
<p class="project__description">
|
||||||
|
|
@ -36,6 +36,10 @@
|
||||||
computed: {
|
computed: {
|
||||||
objectives() {
|
objectives() {
|
||||||
return this.project.objectives ? this.project.objectives.split('\n') : [];
|
return this.project.objectives ? this.project.objectives.split('\n') : [];
|
||||||
|
},
|
||||||
|
specialContainerClass() {
|
||||||
|
const cls = this.project.appearance;
|
||||||
|
return [cls ? `project--${cls}` : ''];
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -73,8 +77,12 @@
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@import "@/styles/_variables.scss";
|
@import "@/styles/_variables.scss";
|
||||||
@import "@/styles/_functions.scss";
|
@import "@/styles/_functions.scss";
|
||||||
|
@import "@/styles/_mixins.scss";
|
||||||
|
|
||||||
.project {
|
.project {
|
||||||
|
|
||||||
|
@include skillbox-colors;
|
||||||
|
|
||||||
&__header {
|
&__header {
|
||||||
padding: $large-spacing;
|
padding: $large-spacing;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue