mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-24 00:40:30 +01:00
Fix nuxt error and working
This commit is contained in:
@@ -8,15 +8,13 @@ defineProps({
|
||||
|
||||
const appConfig = useAppConfig()
|
||||
|
||||
function getColor() {
|
||||
return `text-${appConfig.ui.primary}-500`
|
||||
}
|
||||
const getColor = computed(() => `text-${appConfig.ui.primary}-500`)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<section class="md:border-l md:border-zinc-100 md:pl-6 md:dark:border-zinc-700/40 mb-24">
|
||||
<div class="grid max-w-3xl grid-cols-1 items-baseline gap-y-8 md:grid-cols-4">
|
||||
<h2 class="text-sm font-semibold" :class="getColor()">
|
||||
<h2 class="text-sm font-semibold" :class="getColor">
|
||||
{{ title }}
|
||||
</h2>
|
||||
<div class="md:col-span-3">
|
||||
|
||||
Reference in New Issue
Block a user