summaryrefslogtreecommitdiff
path: root/src/components/widgets/Portfolio.astro
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2025-07-22 18:59:12 +0300
committerDawid Rycerz <dawid@rycerz.xyz>2025-07-22 18:59:12 +0300
commitfd3f0b9f1bfce7459d2681498670c31cde0f3091 (patch)
tree8cc8fa7750f14438a0e0b73eba0744aa05fd62d1 /src/components/widgets/Portfolio.astro
parenta730e05645128224be7b49b36bd15f4f81303caa (diff)
dark background
Diffstat (limited to 'src/components/widgets/Portfolio.astro')
-rw-r--r--src/components/widgets/Portfolio.astro10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/components/widgets/Portfolio.astro b/src/components/widgets/Portfolio.astro
index d4016a7..9aaeee0 100644
--- a/src/components/widgets/Portfolio.astro
+++ b/src/components/widgets/Portfolio.astro
@@ -21,7 +21,15 @@ const {
---
<WidgetWrapper id={id} isDark={isDark} containerClass={`max-w-7xl mx-auto ${classes?.container ?? ''}`} bg={bg}>
- <Headline title={title} subtitle={subtitle} tagline={tagline} />
+ <Headline
+ title={title}
+ subtitle={subtitle}
+ tagline={tagline}
+ classes={{
+ title: typeof classes?.container === 'string' && classes.container.includes('text-white') ? 'text-white' : '',
+ subtitle: typeof classes?.container === 'string' && classes.container.includes('text-white') ? 'text-gray-300' : 'text-muted dark:text-slate-400',
+ }}
+ />
<div class="mx-auto max-w-7xl p-4 md:px-8">
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">