Skip to content

Commit 2f23985

Browse files
Merge pull request #313 from CivicDataLab/312-change-civicdataspace-logo-and-background-color-of-profile-avatar
2 parents 389f228 + 8a49237 commit 2f23985

File tree

2 files changed

+25
-17
lines changed

2 files changed

+25
-17
lines changed

app/[locale]/dashboard/components/main-nav.tsx

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -139,30 +139,30 @@ export function MainNav({ hideSearch = false }) {
139139
</div>
140140
<Link href="/">
141141
<div className="flex items-center gap-2">
142-
<div className="group relative h-[38px] w-[38px] overflow-hidden rounded-full">
142+
<div className="group relative h-[52px] w-[170px] overflow-hidden">
143143
{/* Static Logo */}
144-
<div className="absolute inset-0 transition-opacity duration-300 group-hover:opacity-0">
144+
<div className="absolute inset-0">
145145
<Image
146-
src="/globe_logo.png"
146+
src="/dataspacelogosep2025.png"
147147
alt="Logo"
148148
layout="fill"
149149
objectFit="contain"
150150
/>
151151
</div>
152152

153153
{/* Globe GIF on Hover */}
154-
<div className="absolute inset-0 opacity-0 transition-opacity duration-300 group-hover:opacity-100">
154+
{/* <div className="absolute inset-0 opacity-0 transition-opacity duration-300 group-hover:opacity-100">
155155
<Image
156156
src="/globe.gif"
157157
alt="Globe"
158158
layout="fill"
159159
objectFit="contain"
160160
/>
161-
</div>
161+
</div> */}
162162
</div>
163-
<Text variant="headingXl" className="text-surfaceDefault" as="h1">
163+
{/* <Text variant="headingXl" className="text-surfaceDefault" as="h1">
164164
CivicDataSpace
165-
</Text>
165+
</Text> */}
166166
</div>
167167
</Link>
168168
</div>
@@ -258,17 +258,25 @@ export const ProfileContent = ({
258258
{session.user.name}
259259
</IconButton>
260260
) : (
261-
<Button
262-
kind="tertiary"
263-
size="slim"
264-
className="rounded-full hover:no-underline"
261+
<div
262+
style={
263+
{
264+
'--border-highlight-subdued': 'var(--accent-tertiary-color)',
265+
} as React.CSSProperties
266+
}
265267
>
266-
<Avatar
267-
showInitials
268-
name={session.user.name || 'User'}
269-
size="small"
270-
/>
271-
</Button>
268+
<Button
269+
kind="tertiary"
270+
size="slim"
271+
className="rounded-full hover:no-underline"
272+
>
273+
<Avatar
274+
showInitials
275+
name={session.user.name || 'User'}
276+
size="small"
277+
/>
278+
</Button>
279+
</div>
272280
)}
273281
</Popover.Trigger>
274282
<Popover.Content align="end">

public/dataspacelogosep2025.png

42.1 KB
Loading

0 commit comments

Comments
 (0)