Skip to content

Commit 8728850

Browse files
committed
Update ObjectQL logo and icon assets
Replaces the logo SVGs with a new gradient-based design and updates the Logo component to use the new icon, including improved gradient rendering and styling for the ObjectQL brand name.
1 parent 76a8c8d commit 8728850

File tree

3 files changed

+79
-18
lines changed

3 files changed

+79
-18
lines changed

apps/site/app/icon.svg

Lines changed: 18 additions & 0 deletions
Loading

apps/site/components/logo.tsx

Lines changed: 43 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,73 @@
1-
import type { SVGProps } from 'react';
1+
import { useId, type SVGProps } from 'react';
22

33
export function LogoIcon(props: SVGProps<SVGSVGElement>) {
4+
const id = useId().replace(/:/g, '');
5+
const gradientId = `objectql-gradient-${id}`;
6+
47
return (
58
<svg
69
xmlns="http://www.w3.org/2000/svg"
710
viewBox="0 0 256 256"
811
fill="none"
912
{...props}
1013
>
11-
<rect width="256" height="256" fill="none" />
14+
<defs>
15+
<linearGradient
16+
id={gradientId}
17+
x1="0"
18+
y1="0"
19+
x2="256"
20+
y2="256"
21+
gradientUnits="userSpaceOnUse"
22+
>
23+
<stop offset="0%" stopColor="#2563EB" />
24+
<stop offset="100%" stopColor="#06B6D4" />
25+
</linearGradient>
26+
</defs>
27+
28+
{/* Background Shape: Soft Hexagon */}
29+
<path
30+
d="M128 24L224 80V176L128 232L32 176V80L128 24Z"
31+
fill={`url(#${gradientId})`}
32+
fillOpacity="0.1"
33+
/>
34+
35+
{/* Main Structure: Abstract QL Node */}
1236
<path
13-
d="M16 104l112 64l112-64l-112-64L16 104z"
14-
fill="currentColor"
15-
fillOpacity="0.2"
16-
stroke="currentColor"
17-
strokeWidth="16"
37+
d="M128 56L200 96V166L128 206L56 166V96L128 56Z"
38+
stroke={`url(#${gradientId})`}
39+
strokeWidth="24"
1840
strokeLinecap="round"
1941
strokeLinejoin="round"
2042
/>
43+
44+
{/* Center Detail: Core */}
2145
<path
22-
d="M16 136l112 64l112-64"
23-
fill="none"
24-
stroke="currentColor"
25-
strokeWidth="16"
46+
d="M128 96V166"
47+
stroke={`url(#${gradientId})`}
48+
strokeWidth="24"
2649
strokeLinecap="round"
2750
strokeLinejoin="round"
2851
/>
2952
<path
30-
d="M16 168l112 64l112-64"
31-
fill="none"
32-
stroke="currentColor"
33-
strokeWidth="16"
53+
d="M96 116L160 146"
54+
stroke={`url(#${gradientId})`}
55+
strokeWidth="24"
3456
strokeLinecap="round"
3557
strokeLinejoin="round"
58+
opacity="0.6"
3659
/>
3760
</svg>
3861
);
3962
}
4063

4164
export function Logo(props: { className?: string }) {
4265
return (
43-
<div className="flex items-center gap-2">
44-
<LogoIcon className="size-6" />
45-
<span className="font-bold text-lg">ObjectQL</span>
66+
<div className="flex items-center gap-2.5">
67+
<LogoIcon className="size-7" />
68+
<span className="font-bold text-lg tracking-tight bg-gradient-to-br from-blue-600 to-cyan-500 bg-clip-text text-transparent">
69+
ObjectQL
70+
</span>
4671
</div>
4772
);
4873
}

apps/site/public/logo.svg

Lines changed: 18 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)