fix(ui): dark theme for the Services and Contact views (MITHOME-134)
CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Canceled after 0s
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Canceled after 0s
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Canceled after 0s
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Canceled after 0s
CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Canceled after 0s
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Canceled after 0s
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Canceled after 0s
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Canceled after 0s
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Canceled after 0s
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Canceled after 0s
Adds dark: counterparts to the fixed Tailwind colours (cards, sections, text, borders, status messages) and explicit colours for the form fields. About and legal pages already use the theme tokens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c225967892
commit
6b39075403
@@ -15,12 +15,12 @@ export default function ServicesView({ content: pageContent, homeServices, featu
|
||||
return (
|
||||
<div className="space-y-16 py-8">
|
||||
{/* Hero Section */}
|
||||
<section className="bg-gradient-to-r from-blue-50 to-indigo-50 py-16">
|
||||
<section className="bg-gradient-to-r from-blue-50 dark:from-slate-800 to-indigo-50 dark:to-slate-900 py-16">
|
||||
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
||||
<h1 className="text-4xl md:text-5xl font-bold text-gray-900 mb-6">
|
||||
<h1 className="text-4xl md:text-5xl font-bold text-gray-900 dark:text-slate-50 mb-6">
|
||||
{pageContent.hero.title}
|
||||
</h1>
|
||||
<p className="text-xl text-gray-600 leading-relaxed">
|
||||
<p className="text-xl text-gray-600 dark:text-slate-300 leading-relaxed">
|
||||
{pageContent.hero.subtitle}
|
||||
</p>
|
||||
</div>
|
||||
@@ -30,21 +30,21 @@ export default function ServicesView({ content: pageContent, homeServices, featu
|
||||
<section className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div className="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
||||
{homeServices.map((service) => (
|
||||
<div key={service.id} className="bg-white rounded-xl shadow-sm border border-gray-200 p-8 hover:shadow-md transition-shadow">
|
||||
<div className="w-16 h-16 bg-blue-100 rounded-lg flex items-center justify-center mb-6">
|
||||
<div key={service.id} className="bg-white dark:bg-slate-800 rounded-xl shadow-sm border border-gray-200 dark:border-slate-700 p-8 hover:shadow-md transition-shadow">
|
||||
<div className="w-16 h-16 bg-blue-100 dark:bg-blue-900/40 rounded-lg flex items-center justify-center mb-6">
|
||||
<span className="text-2xl">{service.icon}</span>
|
||||
</div>
|
||||
|
||||
<h2 className="text-2xl font-bold text-gray-900 mb-4">{service.title}</h2>
|
||||
<p className="text-gray-600 leading-relaxed mb-6">{service.description}</p>
|
||||
<h2 className="text-2xl font-bold text-gray-900 dark:text-slate-50 mb-4">{service.title}</h2>
|
||||
<p className="text-gray-600 dark:text-slate-300 leading-relaxed mb-6">{service.description}</p>
|
||||
|
||||
<div className="mb-6">
|
||||
<h3 className="text-lg font-semibold text-gray-900 mb-3">{featuresLabel}</h3>
|
||||
<h3 className="text-lg font-semibold text-gray-900 dark:text-slate-50 mb-3">{featuresLabel}</h3>
|
||||
<ul className="space-y-2">
|
||||
{service.features.map((feature, index) => (
|
||||
<li key={index} className="flex items-start">
|
||||
<span className="text-blue-500 mr-3 mt-0.5">✓</span>
|
||||
<span className="text-gray-700">{feature}</span>
|
||||
<span className="text-gray-700 dark:text-slate-200">{feature}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
@@ -52,7 +52,7 @@ export default function ServicesView({ content: pageContent, homeServices, featu
|
||||
|
||||
<a
|
||||
href={contactHref}
|
||||
className="inline-flex items-center text-blue-600 hover:text-blue-700 font-medium transition-colors"
|
||||
className="inline-flex items-center text-blue-600 dark:text-blue-300 hover:text-blue-700 dark:hover:text-blue-200 font-medium transition-colors"
|
||||
>
|
||||
{service.ctaText}
|
||||
<svg className="w-4 h-4 ml-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
@@ -65,29 +65,29 @@ export default function ServicesView({ content: pageContent, homeServices, featu
|
||||
</section>
|
||||
|
||||
{/* Detailed Services */}
|
||||
<section className="bg-gray-50 py-16">
|
||||
<section className="bg-gray-50 dark:bg-slate-950 py-16">
|
||||
<div className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div className="text-center mb-12">
|
||||
<h2 className="text-3xl font-bold text-gray-900 mb-4">
|
||||
<h2 className="text-3xl font-bold text-gray-900 dark:text-slate-50 mb-4">
|
||||
{pageContent.details.title}
|
||||
</h2>
|
||||
<p className="text-lg text-gray-600">
|
||||
<p className="text-lg text-gray-600 dark:text-slate-300">
|
||||
{pageContent.details.subtitle}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="space-y-12">
|
||||
{pageContent.details.services.map((service) => (
|
||||
<div key={service.title} className="bg-white rounded-xl p-8 shadow-sm">
|
||||
<div key={service.title} className="bg-white dark:bg-slate-800 rounded-xl p-8 shadow-sm">
|
||||
<div className="flex items-start space-x-4">
|
||||
<div className="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center flex-shrink-0">
|
||||
<div className="w-12 h-12 bg-blue-100 dark:bg-blue-900/40 rounded-lg flex items-center justify-center flex-shrink-0">
|
||||
<span className="text-xl">{service.icon}</span>
|
||||
</div>
|
||||
<div className="flex-1">
|
||||
<h3 className="text-2xl font-bold text-gray-900 mb-4">{service.title}</h3>
|
||||
<div className="prose prose-lg text-gray-700">
|
||||
<h3 className="text-2xl font-bold text-gray-900 dark:text-slate-50 mb-4">{service.title}</h3>
|
||||
<div className="prose prose-lg text-gray-700 dark:text-slate-200">
|
||||
<p>{service.description}</p>
|
||||
<h4 className="text-lg font-semibold text-gray-900 mt-6 mb-3">{service.specs.title}</h4>
|
||||
<h4 className="text-lg font-semibold text-gray-900 dark:text-slate-50 mt-6 mb-3">{service.specs.title}</h4>
|
||||
<ul className="space-y-1">
|
||||
{service.specs.items.map((item, index) => (
|
||||
<li key={index}>{item}</li>
|
||||
@@ -104,18 +104,18 @@ export default function ServicesView({ content: pageContent, homeServices, featu
|
||||
|
||||
{/* Support Section */}
|
||||
<section className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div className="bg-blue-50 rounded-xl p-8 text-center">
|
||||
<h2 className="text-2xl font-bold text-gray-900 mb-4">
|
||||
<div className="bg-blue-50 dark:bg-slate-800 rounded-xl p-8 text-center">
|
||||
<h2 className="text-2xl font-bold text-gray-900 dark:text-slate-50 mb-4">
|
||||
{pageContent.support.title}
|
||||
</h2>
|
||||
<p className="text-lg text-gray-700 mb-6">
|
||||
<p className="text-lg text-gray-700 dark:text-slate-200 mb-6">
|
||||
{pageContent.support.subtitle}
|
||||
</p>
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 text-sm">
|
||||
{(pageContent.support.channels ?? []).map((channel) => (
|
||||
<div key={channel.title}>
|
||||
<h3 className="font-semibold text-gray-900 mb-2">{channel.title}</h3>
|
||||
<p className="text-gray-600">{channel.description}</p>
|
||||
<h3 className="font-semibold text-gray-900 dark:text-slate-50 mb-2">{channel.title}</h3>
|
||||
<p className="text-gray-600 dark:text-slate-300">{channel.description}</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user