@@ -18,19 +18,25 @@ export interface StudioHeaderProps {
1818 inspectorPanelActive : boolean ;
1919}
2020
21- function HyperframesIcon ( { size = 18 } : { size ?: number } ) {
21+ function HyperframesLogo ( ) {
22+ // Derived from logo-dark.svg (263×79). Paths 8–9 = gradient icon mark;
23+ // paths 10–20 = Hyperframes wordmark, black → white for dark background.
24+ const W = 263 ;
25+ const H = 79 ;
26+ const height = 30 ;
27+ const width = Math . round ( height * ( W / H ) ) ;
2228 return (
2329 < svg
24- width = { size }
25- height = { Math . round ( size * ( 42 / 74 ) ) }
26- viewBox = "190 -2 74 44"
30+ width = { width }
31+ height = { height }
32+ viewBox = { `0 0 ${ W } ${ H } ` }
2733 fill = "none"
2834 xmlns = "http://www.w3.org/2000/svg"
29- aria-hidden = "true "
35+ aria-label = "Hyperframes "
3036 >
3137 < defs >
3238 < linearGradient
33- id = "hf-icon -g0"
39+ id = "hf-logo -g0"
3440 x1 = "225.869"
3541 y1 = "0"
3642 x2 = "222.845"
@@ -41,7 +47,7 @@ function HyperframesIcon({ size = 18 }: { size?: number }) {
4147 < stop offset = "1" stopColor = "#4FDB5E" />
4248 </ linearGradient >
4349 < linearGradient
44- id = "hf-icon -g1"
50+ id = "hf-logo -g1"
4551 x1 = "230.87"
4652 y1 = "39"
4753 x2 = "244.661"
@@ -52,13 +58,59 @@ function HyperframesIcon({ size = 18 }: { size?: number }) {
5258 < stop offset = "1" stopColor = "#4FDB5E" />
5359 </ linearGradient >
5460 </ defs >
61+ { /* Icon mark */ }
5562 < path
5663 d = "M195.219 26.1937L213.529 38.9937C216.009 40.7237 220.239 38.7637 221.009 35.5337L228.419 4.33374C229.189 1.10374 225.879 -0.856262 222.589 0.873738L198.199 13.6737C192.649 16.5837 191.059 23.2837 195.219 26.1937Z"
57- fill = "url(#hf-icon -g0)"
64+ fill = "url(#hf-logo -g0)"
5865 />
5966 < path
6067 d = "M256.97 25.9638L232.58 38.7638C229.28 40.4938 225.98 38.5338 226.75 35.3038L234.16 4.10376C234.93 0.873757 239.16 -1.08624 241.64 0.643757L259.95 13.4438C264.12 16.3538 262.52 23.0538 256.97 25.9638Z"
61- fill = "url(#hf-icon-g1)"
68+ fill = "url(#hf-logo-g1)"
69+ />
70+ { /* Hyperframes wordmark — white fills */ }
71+ < path
72+ d = "M252.115 72.502C250.192 72.502 248.268 72.0838 246.93 71.3728V65.6853C247.808 66.3126 248.937 66.689 250.066 66.689C251.739 66.689 252.784 65.8526 252.784 64.5562C252.784 63.8452 252.492 63.0925 251.655 62.0888L249.899 59.956C248.728 58.4923 248.226 56.9031 248.226 55.2721C248.226 51.0065 251.864 48.0791 256.883 48.0791C258.723 48.0791 260.438 48.4555 261.65 49.0828V54.7703C260.898 54.2266 259.768 53.8503 258.723 53.8503C257.092 53.8503 256.046 54.6867 256.046 55.8994C256.046 56.6522 256.423 57.405 257.259 58.4086L258.974 60.4996C260.187 62.047 260.73 63.5943 260.73 65.2671C260.73 69.5746 257.05 72.502 252.115 72.502Z"
73+ fill = "white"
74+ />
75+ < path
76+ d = "M236.338 72.6269C228.392 72.6269 223.123 67.5667 223.123 60.4155C223.123 53.2643 228.351 47.9531 235.46 47.9531C242.026 47.9531 246.584 52.7206 246.584 59.7045C246.584 60.7082 246.459 61.6701 246.417 62.4647H230.483C231.152 65.2666 233.62 66.8139 237.551 66.8139C240.018 66.8139 242.36 66.1866 244.033 65.0993V70.7868C242.277 71.916 239.349 72.6269 236.338 72.6269ZM230.483 57.5717H239.767C239.642 54.9789 237.927 53.4734 235.376 53.4734C232.867 53.4734 231.027 54.9789 230.483 57.5717Z"
77+ fill = "white"
78+ />
79+ < path
80+ d = "M184.998 72.0001V48.5809H192.609V51.6756C193.989 49.4173 196.373 48.0791 199.426 48.0791C202.521 48.0791 204.779 49.5428 206.075 52.052C207.497 49.5846 210.132 48.0791 213.352 48.0791C218.245 48.0791 221.214 51.592 221.214 57.0286V72.0001H213.603V58.5341C213.603 55.774 212.557 54.4357 210.634 54.4357C208.459 54.4357 206.912 56.234 206.912 59.0778V72.0001H199.3V58.5341C199.3 55.774 198.255 54.4357 196.373 54.4357C194.157 54.4357 192.609 56.234 192.609 59.0778V72.0001H184.998Z"
81+ fill = "white"
82+ />
83+ < path
84+ d = "M167.26 72.4602C161.154 72.4602 156.596 67.2745 156.596 60.3324C156.596 53.3066 161.196 48.0791 167.302 48.0791C170.438 48.0791 173.031 49.4173 174.536 51.8429V48.5809H182.148V72.0001H174.536V68.4873C173.031 71.0801 170.438 72.4602 167.26 72.4602ZM169.393 66.1872C172.78 66.1872 174.536 63.3434 174.536 60.876V59.6632C174.536 57.2377 172.78 54.4357 169.393 54.4357C166.298 54.4357 164.207 56.7777 164.207 60.2905C164.207 63.7616 166.298 66.1872 169.393 66.1872Z"
85+ fill = "white"
86+ />
87+ < path
88+ d = "M141.258 72V48.5808H148.827V52.9719C149.831 50.0445 151.796 48.2881 154.306 48.2881C154.975 48.2881 155.602 48.4135 156.02 48.6645V55.8993C155.435 55.5648 154.724 55.4393 153.887 55.4393C150.751 55.4393 148.869 57.6558 148.869 61.2941V72H141.258Z"
89+ fill = "white"
90+ />
91+ < path
92+ d = "M122.643 71.9996V42.7256H139.371V49.124H130.379V54.477H138.911V60.5827H130.379V71.9996H122.643Z"
93+ fill = "white"
94+ />
95+ < path
96+ d = "M105.645 72V48.5808H113.214V52.9719C114.218 50.0445 116.183 48.2881 118.692 48.2881C119.361 48.2881 119.989 48.4135 120.407 48.6645V55.8993C119.822 55.5648 119.111 55.4393 118.274 55.4393C115.138 55.4393 113.256 57.6558 113.256 61.2941V72H105.645Z"
97+ fill = "white"
98+ />
99+ < path
100+ d = "M93.4397 72.6269C85.4939 72.6269 80.2246 67.5667 80.2246 60.4155C80.2246 53.2643 85.4521 47.9531 92.5615 47.9531C99.1273 47.9531 103.686 52.7206 103.686 59.7045C103.686 60.7082 103.56 61.6701 103.518 62.4647H87.5849C88.2541 65.2666 90.7214 66.8139 94.6525 66.8139C97.1199 66.8139 99.4618 66.1866 101.135 65.0993V70.7868C99.3782 71.916 96.4508 72.6269 93.4397 72.6269ZM87.5849 57.5717H96.869C96.7435 54.9789 95.0289 53.4734 92.4779 53.4734C89.9687 53.4734 88.1286 54.9789 87.5849 57.5717Z"
101+ fill = "white"
102+ />
103+ < path
104+ d = "M53.3711 78.4404V48.5809H60.9823V52.052C62.446 49.501 65.0807 48.0791 68.3008 48.0791C74.3647 48.0791 78.9649 53.3066 78.9649 60.2487C78.9649 67.2745 74.3229 72.4602 68.259 72.4602C65.0807 72.4602 62.446 71.1637 60.9823 68.78V78.4404H53.3711ZM66.1262 66.1872C69.2627 66.1872 71.3119 63.7616 71.3119 60.2905C71.3119 56.8195 69.2627 54.4357 66.1262 54.4357C62.7388 54.4357 60.9823 57.2795 60.9823 59.7051V60.9178C60.9823 63.3434 62.7388 66.1872 66.1262 66.1872Z"
105+ fill = "white"
106+ />
107+ < path
108+ d = "M31.9606 78.4405L36.0171 69.5329L26.9004 48.5811H35.1389L40.0737 60.6252L44.9666 48.5811H52.5779L39.8646 78.4405H31.9606Z"
109+ fill = "white"
110+ />
111+ < path
112+ d = "M0 71.9996V42.7256H7.7367V53.1806H17.9826V42.7256H25.7193V71.9996H17.9826V59.8718H7.7367V71.9996H0Z"
113+ fill = "white"
62114 />
63115 </ svg >
64116 ) ;
@@ -79,9 +131,12 @@ export function StudioHeader({
79131 return (
80132 < div className = "flex items-center justify-between h-10 px-3 bg-neutral-900 border-b border-neutral-800 flex-shrink-0" >
81133 { /* Left: logo + project name */ }
82- < div className = "flex items-center gap-2" >
83- < HyperframesIcon size = { 28 } />
84- < span className = "text-[11px] font-medium text-neutral-400" > { projectId } </ span >
134+ < div className = "flex items-center gap-3" >
135+ < HyperframesLogo />
136+ < span className = "text-neutral-600 select-none" aria-hidden = "true" >
137+ ·
138+ </ span >
139+ < span className = "text-[11px] font-medium text-neutral-300" > { projectId } </ span >
85140 </ div >
86141 { /* Right: toolbar buttons */ }
87142 < div className = "flex items-center gap-1.5" >
0 commit comments