Skip to content

Commit f788c97

Browse files
Update header, footer, and logo design
The AI updated the header, logo, logo text color, and footer to match the dashboard's flat design.
1 parent 4e2928f commit f788c97

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/components/PublicDashboardFooter.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const PublicDashboardFooter = () => {
88
const { t } = useTranslation();
99

1010
return (
11-
<footer className="w-full mt-16 border-t border-slate-200/80 bg-gradient-to-r from-slate-50 to-slate-100/50">
11+
<footer className="w-full mt-16 border-t border-slate-200 bg-white">
1212
<div className="w-full px-4 sm:px-6 lg:px-8 py-8">
1313
<div className="flex flex-col gap-6">
1414
<div className="flex flex-col sm:flex-row items-center justify-between gap-4">
@@ -30,7 +30,7 @@ export const PublicDashboardFooter = () => {
3030
href="/"
3131
target="_blank"
3232
rel="noopener noreferrer"
33-
className="inline-flex items-center gap-2 px-4 py-2 bg-gradient-to-r from-blue-500 to-purple-500 text-white text-sm font-medium rounded-xl hover:from-blue-600 hover:to-purple-600 transition-all duration-200 hover:scale-105 shadow-sm hover:shadow-md"
33+
className="inline-flex items-center gap-2 px-4 py-2 bg-slate-900 text-white text-sm font-medium rounded-xl hover:bg-slate-800 transition-colors"
3434
>
3535
<span>{t('publicDashboard.footer.createCampaign')}</span>
3636
<ExternalLink className="h-3 w-3" />
@@ -39,7 +39,7 @@ export const PublicDashboardFooter = () => {
3939
</div>
4040

4141
{/* Liens légaux */}
42-
<div className="flex flex-col sm:flex-row items-center justify-between gap-4 pt-4 border-t border-slate-200/60">
42+
<div className="flex flex-col sm:flex-row items-center justify-between gap-4 pt-4 border-t border-slate-200">
4343
<div className="flex flex-wrap justify-center sm:justify-start gap-4 text-sm text-slate-500">
4444
<Link to="/privacy" className="hover:text-slate-700 transition-colors">
4545
{t('publicDashboard.footer.links.privacy')}

src/components/PublicDashboardHeader.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ export const PublicDashboardHeader = ({ campaignName, loading }: PublicDashboard
1313
const { t } = useTranslation();
1414

1515
return (
16-
<header className="w-full bg-gradient-to-r from-blue-50 via-white to-purple-50 border-b border-slate-200/80 shadow-sm">
16+
<header className="w-full bg-white border-b border-slate-200">
1717
<div className="w-full px-4 sm:px-6 lg:px-8">
1818
<div className="flex justify-between items-center h-20">
1919
<div className="flex items-center gap-4">
2020
<div className="flex items-center gap-3">
2121
<RefSpringLogo width="36" height="36" />
2222
<div>
23-
<h1 className="text-2xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent">
23+
<h1 className="text-2xl font-bold text-slate-900">
2424
{t('publicDashboard.header.title')}
2525
</h1>
2626
<p className="text-sm text-slate-600 font-medium">{t('publicDashboard.header.subtitle')}</p>
@@ -32,7 +32,7 @@ export const PublicDashboardHeader = ({ campaignName, loading }: PublicDashboard
3232
<CurrencySelector />
3333
<Badge
3434
variant="outline"
35-
className="bg-white/80 border-blue-200 text-blue-700 font-medium px-4 py-2"
35+
className="bg-white border-slate-200 text-slate-700 font-medium px-4 py-2"
3636
>
3737
{loading ? t('publicDashboard.header.loading') : (campaignName || t('publicDashboard.header.campaign'))}
3838
</Badge>

0 commit comments

Comments
 (0)