diff --git a/apps/www/.vitepress/theme/components/ExamplesNav.vue b/apps/www/.vitepress/theme/components/ExamplesNav.vue index 87265ecf..d1b930b6 100644 --- a/apps/www/.vitepress/theme/components/ExamplesNav.vue +++ b/apps/www/.vitepress/theme/components/ExamplesNav.vue @@ -30,7 +30,7 @@ const examples = [ }, { name: 'Forms', - href: '/examples/forms', + href: '/examples/forms/forms', code: 'https://github.com/radix-vue/shadcn-vue/tree/dev/apps/www/src/examples/forms', }, { diff --git a/apps/www/src/content/examples/forms/account.md b/apps/www/src/content/examples/forms/account.md new file mode 100644 index 00000000..e69de29b diff --git a/apps/www/src/content/examples/forms/appearence.md b/apps/www/src/content/examples/forms/appearence.md new file mode 100644 index 00000000..e69de29b diff --git a/apps/www/src/content/examples/forms/forms.md b/apps/www/src/content/examples/forms/forms.md new file mode 100644 index 00000000..a9f4d65f --- /dev/null +++ b/apps/www/src/content/examples/forms/forms.md @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/apps/www/src/examples/forms/Example.vue b/apps/www/src/examples/forms/Example.vue new file mode 100644 index 00000000..2664a528 --- /dev/null +++ b/apps/www/src/examples/forms/Example.vue @@ -0,0 +1,174 @@ + + + + + + + + Settings + + + Manage your account settings and set e-mail preferences. + + + + + + + + + + Profile + + + This is how others will see you on the site. + + + + + + + Username + + + + This is your public display name. It can be your real name or a pseudonym. You can only change this once every 30 days. + + + {{ error }} + + + + + Email + + + + + + + + + {{ email }} + + + + + + You can manage verified email addresses in your email settings. + + + {{ error }} + + + + + Bio + + + + You can @mention other users and organizations to link to them. + + + {{ error }} + + + + + URLs + + + + {{ error }} + + + Add URL + + + + + Update profile + + + + + + + + diff --git a/apps/www/src/examples/forms/components/AccountForm.vue b/apps/www/src/examples/forms/components/AccountForm.vue new file mode 100644 index 00000000..e69de29b diff --git a/apps/www/src/examples/forms/components/SidebarNav.vue b/apps/www/src/examples/forms/components/SidebarNav.vue new file mode 100644 index 00000000..ba79807a --- /dev/null +++ b/apps/www/src/examples/forms/components/SidebarNav.vue @@ -0,0 +1,53 @@ + + + + + + {{ item.title }} + + +
+ Manage your account settings and set e-mail preferences. +
+ This is how others will see you on the site. +