added proper blog page and fixed listing to make it much more automatic and stable
This commit is contained in:
parent
f31e5e49d2
commit
bb7e3329f3
9 changed files with 622 additions and 21 deletions
|
|
@ -2,7 +2,9 @@
|
|||
const props = defineProps({
|
||||
href: String,
|
||||
heading: String,
|
||||
description: String
|
||||
description: String,
|
||||
subheading: String,
|
||||
id: Number
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
@ -10,7 +12,8 @@ const props = defineProps({
|
|||
<a class="text-container" :href="props.href">
|
||||
|
||||
<div class="text-content">
|
||||
<h2>{{props.heading}}</h2>
|
||||
<h2 class="heading"> {{props.heading}}</h2>
|
||||
<p class="subheading">{{props.subheading}} - #{{ props.id }}</p>
|
||||
<p>{{props.description}}</p>
|
||||
</div>
|
||||
</a>
|
||||
|
|
@ -54,4 +57,14 @@ const props = defineProps({
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
.subheading{
|
||||
color: grey;
|
||||
margin: 0;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
.heading{
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue