add variable titles, dangers page (#23)

This commit is contained in:
Will Freeman
2024-12-16 17:28:48 -07:00
committed by GitHub
parent 876123eabc
commit ff9fa39dc6
16 changed files with 590 additions and 108 deletions
+29
View File
@@ -0,0 +1,29 @@
<template>
<blockquote class="serif text-grey-darken-2">
<slot name="default"></slot>
</blockquote>
<p style="font-size: 0.9rem;">
<a :href="sourceUrl" target="_blank">-{{ attributionText }}</a>
</p>
</template>
<script setup lang="ts">
defineProps({
sourceUrl: String,
attributionText: {
type: String,
default: 'Read the full study'
},
});
</script>
<style scoped>
blockquote {
font-size: 1.05rem;
border-left: 4px solid #616161;
padding-left: 16px;
font-style: italic;
margin-top: 16px;
margin-bottom: 8px;
}
</style>