Skip to content

Commit db079df

Browse files
committed
More gallery fixes
1 parent 914b02c commit db079df

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

src/gallery/components/GalleryLayout.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,17 @@ export default function GalleryLayout({ children, title }: GalleryLayoutProps) {
2424
<header className="border-b border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-900">
2525
<div className="px-2 sm:px-3 lg:px-6">
2626
<div className="flex justify-between items-center h-16">
27-
<div className="flex items-center gap-8">
27+
<div className="flex items-center gap-2">
28+
<a href="/">
29+
<svg className="w-8 h-8 text-[#61DAFB]" viewBox="-11.5 -10.23174 23 20.46348" xmlns="http://www.w3.org/2000/svg">
30+
<circle cx="0" cy="0" r="2.05" fill="currentColor"/>
31+
<g stroke="currentColor" strokeWidth="1" fill="none">
32+
<ellipse rx="11" ry="4.2"/>
33+
<ellipse rx="11" ry="4.2" transform="rotate(60)"/>
34+
<ellipse rx="11" ry="4.2" transform="rotate(120)"/>
35+
</g>
36+
</svg>
37+
</a>
2838
<a href="/gallery" className="text-xl font-bold text-gray-900 dark:text-gray-100">
2939
React Component Gallery
3040
</a>

src/gallery/pages/CustomInputs.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ function PhoneInput({ id, value, onChange, label, placeholder, help, className,
3939

4040
return (
4141
<TextInput
42+
type="text"
4243
id={id}
4344
value={localValue}
4445
onChange={handleChange as any}

src/gallery/pages/Navigation.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,17 +130,17 @@ export default function NavigationPage() {
130130
<CodeExample
131131
title="Link Buttons"
132132
description="Using href with Button components will style hyper links to behave like buttons:"
133-
code={`<PrimaryButton href="https://react-gallery.servicestack.net/" className="mr-2">
134-
React Gallery Template
133+
code={`<PrimaryButton href="https://docs.servicestack.net/vue/" className="mr-2">
134+
Vue Component Gallery
135135
</PrimaryButton>
136136
137137
<SecondaryButton href="/gallery">
138138
React Component Docs
139139
</SecondaryButton>`}
140140
>
141141
<div className="space-x-2">
142-
<PrimaryButton href="https://react-gallery.servicestack.net/" className="mr-2">
143-
React Gallery Template
142+
<PrimaryButton href="https://docs.servicestack.net/vue/" className="mr-2">
143+
Vue Component Gallery
144144
</PrimaryButton>
145145
<SecondaryButton href="/gallery">
146146
React Component Docs

0 commit comments

Comments
 (0)