diff --git a/src/vue/components/Card.vue b/src/vue/components/Card.vue
index bf508da6..9bf32d77 100644
--- a/src/vue/components/Card.vue
+++ b/src/vue/components/Card.vue
@@ -18,6 +18,13 @@
+
+
+
+
+
+ - {{ filterItem.filter.filter_name }}
+
+
+
@@ -36,6 +43,7 @@ export default {
theme: String,
courseIllustration: String,
label: String,
+ filters: Array
},
data() {
return {
@@ -52,7 +60,6 @@ export default {
.card-highlighted-box {
position: relative;
width: 24rem;
- min-height: 24rem;
display: flex;
flex-direction: column;
justify-content: space-evenly;
@@ -121,6 +128,29 @@ export default {
justify-content: flex-start;
}
+ .card-highlighted-content-tags {
+ display: flex;
+ flex-direction: row;
+ justify-content: flex-start;
+ flex-wrap: wrap;
+ list-style-type: none;
+ padding: 0px;
+ margin: 0px;
+ margin-top: 10px;
+ }
+
+ .card-highlighted-content-tags li {
+ background: #eaeaf5;
+ padding: 4px 15px;
+ margin: 0px;
+ margin-right: 8px;
+ margin-bottom: 8px;
+ border-radius: 20px;
+ font-size: 14px;
+ font-weight: 400;
+ line-height: 21px;
+ }
+
.card-highlighted-content-button-container {
margin-top: 1.5rem;
margin-bottom: 1rem;
diff --git a/src/vue/components/CardList.vue b/src/vue/components/CardList.vue
index 7935ec6b..8da61035 100644
--- a/src/vue/components/CardList.vue
+++ b/src/vue/components/CardList.vue
@@ -1,11 +1,12 @@
-
+
@@ -198,9 +199,11 @@ export default {
display: flex;
flex-direction: row;
flex-wrap: wrap;
- width: 140rem;
+ width: 100%;
align-items: flex-start;
justify-content: flex-start;
+ gap: 32px 24px;
+ margin-bottom: 40px;
@media (max-width: 1025px) {
width: 64rem;
@@ -212,8 +215,9 @@ export default {
}
}
-.card-item {
- margin: 0.25rem 1.5rem 2rem 0;
+.card-container-wrapper {
+ position: relative;
+ align-self: stretch;
}
.course-illustration-box {
diff --git a/src/vue/components/NotLoggedInIntro.vue b/src/vue/components/NotLoggedInIntro.vue
index cb0773bb..1e258f5c 100644
--- a/src/vue/components/NotLoggedInIntro.vue
+++ b/src/vue/components/NotLoggedInIntro.vue
@@ -14,6 +14,7 @@
:theme="newestCourse.course_settings ? newestCourse.course_settings.course_category.category.color_code : 'theme_0'"
:courseIllustration="newestCourse.course_settings ? newestCourse.course_settings.image.path : ''"
:label="newestCourse.name"
+ :filters="newestCourse.course_settings ? newestCourse.course_settings.course_filter : []"
>
@@ -171,6 +172,7 @@ export default {
box-sizing: border-box;
padding: 0.5rem 6rem 0.5rem 9rem;
margin-top: 1rem;
+ margin-bottom: 20px;
display: inline-grid;
grid-template-columns: auto auto;
justify-content: center;
@@ -202,14 +204,8 @@ export default {
}
.card-highlighted {
-
- max-height: 100px !important;
box-sizing: border-box !important;
justify-content: space-between !important;
- .card-box {
- min-height: 24rem;
-}
-
}
.course-illustration-box {