mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
* feat: create entry points for copy writing docs * feat: basic page generated using the supabase writing style guide * chore: editing page * feat: more components * feat: remaining example components * chore: remove duplicate registry entry * chore: add aria label to example * chore: run prettier * fix: alphabetise getting started section * chore: rename copy writing to copywriting
69 lines
1.8 KiB
TypeScript
69 lines
1.8 KiB
TypeScript
import { Registry } from './schema'
|
|
|
|
export const copyWriting: Registry = [
|
|
{
|
|
name: 'copy-button-verbs',
|
|
type: 'components:example',
|
|
files: ['example/copy-button-verbs.tsx'],
|
|
registryDependencies: ['button'],
|
|
category: 'Getting Started',
|
|
subcategory: 'Copywriting',
|
|
},
|
|
{
|
|
name: 'copy-form-labels',
|
|
type: 'components:example',
|
|
files: ['example/copy-form-labels.tsx'],
|
|
registryDependencies: ['form'],
|
|
category: 'Getting Started',
|
|
subcategory: 'Copywriting',
|
|
},
|
|
{
|
|
name: 'copy-error-messages',
|
|
type: 'components:example',
|
|
files: ['example/copy-error-messages.tsx'],
|
|
registryDependencies: ['form'],
|
|
category: 'Getting Started',
|
|
subcategory: 'Copywriting',
|
|
},
|
|
{
|
|
name: 'copy-success-messages',
|
|
type: 'components:example',
|
|
files: ['example/copy-success-messages.tsx'],
|
|
registryDependencies: ['form'],
|
|
category: 'Getting Started',
|
|
subcategory: 'Copywriting',
|
|
},
|
|
{
|
|
name: 'copy-tooltips',
|
|
type: 'components:example',
|
|
files: ['example/copy-tooltips.tsx'],
|
|
registryDependencies: ['tooltip'],
|
|
category: 'Getting Started',
|
|
subcategory: 'Copywriting',
|
|
},
|
|
{
|
|
name: 'copy-loading-states',
|
|
type: 'components:example',
|
|
files: ['example/copy-loading-states.tsx'],
|
|
registryDependencies: ['loading-state'],
|
|
category: 'Getting Started',
|
|
subcategory: 'Copywriting',
|
|
},
|
|
{
|
|
name: 'copy-empty-states',
|
|
type: 'components:example',
|
|
files: ['example/copy-empty-states.tsx'],
|
|
registryDependencies: ['empty-state'],
|
|
category: 'Getting Started',
|
|
subcategory: 'Copywriting',
|
|
},
|
|
{
|
|
name: 'copy-confirmations',
|
|
type: 'components:example',
|
|
files: ['example/copy-confirmations.tsx'],
|
|
registryDependencies: ['confirmation'],
|
|
category: 'Getting Started',
|
|
subcategory: 'Copywriting',
|
|
},
|
|
]
|