@@ -123,15 +123,15 @@ export default function App(): React.ReactElement {
123123 < svg className = "w-3.5 h-3.5 text-zinc-500 group-hover:text-yellow-500 transition-colors" fill = "currentColor" viewBox = "0 0 24 24" >
124124 < path d = "M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z" />
125125 </ svg >
126- < span className = "text-xs font-mono text-zinc-400 group-hover:text-white transition-colors" > { stats . stars } </ span >
126+ < span className = "text-xs font-mono text-zinc-400 group-hover:text-white transition-colors" > { stats . stars || '—' } </ span >
127127 </ a >
128128 </ div >
129129 </ div >
130130 </ div >
131131 </ nav >
132132
133133 < main className = "pt-14" >
134- < Hero version = { stats . version } stars = { stats . stars } />
134+ < Hero version = { stats . version || '—' } stars = { stats . stars || '—' } />
135135
136136 < div className = "border-b border-zinc-800/50 py-2.5" style = { { background : 'linear-gradient(to bottom, rgba(9,9,11,0.95), rgba(0,0,0,1))' } } >
137137 < div className = "mx-auto max-w-5xl px-4 sm:px-6 lg:px-8" >
@@ -143,7 +143,7 @@ export default function App(): React.ReactElement {
143143 className = "flex items-center gap-1.5 text-zinc-500 hover:text-white transition-colors group"
144144 >
145145 < span className = "text-zinc-600 group-hover:text-zinc-400" > v</ span >
146- < span className = "text-white font-medium" > { stats . version } </ span >
146+ < span className = "text-white font-medium" > { stats . version || '—' } </ span >
147147 </ a >
148148 < span className = "text-zinc-800" > ·</ span >
149149 < a
@@ -155,7 +155,7 @@ export default function App(): React.ReactElement {
155155 < svg className = "w-3 h-3 text-zinc-600 group-hover:text-zinc-400" fill = "none" viewBox = "0 0 24 24" stroke = "currentColor" >
156156 < path strokeLinecap = "round" strokeLinejoin = "round" strokeWidth = { 2 } d = "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4" />
157157 </ svg >
158- < span className = "text-white font-medium" > { stats . downloads } </ span >
158+ < span className = "text-white font-medium" > { stats . downloads || '—' } </ span >
159159 </ a >
160160 < span className = "text-zinc-800" > ·</ span >
161161 < a
@@ -167,7 +167,7 @@ export default function App(): React.ReactElement {
167167 < svg className = "w-3 h-3 text-zinc-600 group-hover:text-yellow-500" fill = "currentColor" viewBox = "0 0 24 24" >
168168 < path d = "M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z" />
169169 </ svg >
170- < span className = "text-white font-medium" > { stats . stars } </ span >
170+ < span className = "text-white font-medium" > { stats . stars || '—' } </ span >
171171 </ a >
172172 < span className = "text-zinc-800 hidden sm:inline" > ·</ span >
173173 < a
0 commit comments