@@ -45,7 +59,7 @@
Personal Appliance
-
{{ sermon.personal_appliance }}
+
{{ sermon.personal_appliance }}
@@ -53,7 +67,7 @@
Pastor's Challenge
-
{{ sermon.pastors_challenge }}
+
{{ sermon.pastors_challenge }}
@@ -95,6 +109,9 @@ const slug = route.params.slug as string
const { data: sermon } = await useFetch(`/api/sermons/${slug}`)
+// Font size state
+const fontSize = ref('medium')
+
const bibleReferences = computed(() => {
if (!sermon.value?.bible_references) return []
try {
@@ -108,6 +125,18 @@ const bibleReferences = computed(() => {
}
})
+// Font size classes
+const fontSizeClasses = computed(() => {
+ switch (fontSize.value) {
+ case 'small':
+ return 'text-sm'
+ case 'large':
+ return 'text-xl'
+ default:
+ return 'text-base'
+ }
+})
+
function formatDate(dateString: string) {
const date = new Date(dateString)
return date.toLocaleDateString('en-US', {