mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Our UI Library registry is expanding to include blocks that go beyond UI and in some cases focus purely on back-end. This PR is a precursor to adding more back-end related blocks. This PR includes the `ui-library -> library` rename plus redirects and small UI copy updates. Since this is a rename we'll need to update Vercel configuration. ## Vercel rollout Keep the Library project Root Directory as `apps/ui-library` 1. In the **Library** Vercel project, set: `NEXT_PUBLIC_BASE_PATH=/library` Apply it to Preview and Production, then redeploy the Library project. 2. In the **www** Vercel project, add: `NEXT_PUBLIC_LIBRARY_URL=<current value of NEXT_PUBLIC_UI_LIBRARY_URL>` Apply it to Preview and Production. Keep `NEXT_PUBLIC_UI_LIBRARY_URL` during the migration, then redeploy the www project. 3. Deploy in this order: 1. Library project 2. www project 4. Validate: - `/library` - `/library/docs/nextjs/password-based-auth` - `/ui` redirects to `/library` - `/ui/docs/nextjs/password-based-auth` redirects to `/library/docs/nextjs/password-based-auth` - `/ui/docs/ai-editors-rules/*` still uses its existing Docs redirects No Vercel dashboard redirect rules are needed. Environment-variable changes require a new deployment. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Supabase UI Library has been renamed to **Supabase Library** across navigation, pages, documentation, and resource links. * The Library is now available at `/library`, with updated descriptions covering components, blocks, and developer tools. * **Bug Fixes** * Added permanent redirects from legacy `/ui` URLs to corresponding `/library` paths. * Updated links throughout the site and documentation to prevent broken navigation and references. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
117 lines
4.4 KiB
TypeScript
117 lines
4.4 KiB
TypeScript
import { Calendar, Pencil, ScrollText, Store } from 'lucide-react'
|
|
import {
|
|
IconBriefcase2,
|
|
IconDocumentation,
|
|
IconGitHubSolid,
|
|
IconIntegrations,
|
|
IconLifeBuoy2,
|
|
IconPartners,
|
|
} from 'ui'
|
|
|
|
export const data = {
|
|
navigation: [
|
|
{
|
|
label: 'Developers',
|
|
links: [
|
|
{
|
|
text: 'Documentation',
|
|
url: '/docs',
|
|
icon: IconDocumentation,
|
|
},
|
|
{
|
|
text: 'Contribute',
|
|
description: 'How to contribute to Supabase.',
|
|
url: '/contribute',
|
|
icon: () => <Pencil className="w-4 h-4" />,
|
|
},
|
|
{
|
|
text: 'Supabase Library',
|
|
url: 'https://supabase.com/library',
|
|
icon: (props: any) => (
|
|
<svg
|
|
width="17"
|
|
height="16"
|
|
viewBox="0 0 17 16"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...props}
|
|
>
|
|
<rect
|
|
x="0.973313"
|
|
y="0.64"
|
|
width="14.72"
|
|
height="14.72"
|
|
rx="1.92"
|
|
stroke="currentColor"
|
|
strokeWidth="1.28"
|
|
/>
|
|
<path
|
|
d="M8.56519 4.69238H9.74564V8.94966C9.74564 9.41632 9.63534 9.82678 9.41473 10.181C9.19625 10.5353 8.88867 10.8121 8.492 11.0115C8.09534 11.2087 7.63185 11.3074 7.10155 11.3074C6.56913 11.3074 6.10458 11.2087 5.70791 11.0115C5.31125 10.8121 5.00367 10.5353 4.78519 10.181C4.5667 9.82678 4.45746 9.41632 4.45746 8.94966V4.69238H5.63791V8.85102C5.63791 9.12253 5.69731 9.36435 5.81609 9.57647C5.937 9.7886 6.1067 9.95511 6.32519 10.076C6.54367 10.1948 6.80246 10.2542 7.10155 10.2542C7.40064 10.2542 7.65943 10.1948 7.87791 10.076C8.09852 9.95511 8.26822 9.7886 8.387 9.57647C8.50579 9.36435 8.56519 9.12253 8.56519 8.85102V4.69238Z"
|
|
fill="currentColor"
|
|
/>
|
|
<path d="M12.2092 4.69238V11.2087H11.0287V4.69238H12.2092Z" fill="currentColor" />
|
|
</svg>
|
|
),
|
|
},
|
|
{
|
|
text: 'Changelog',
|
|
description: 'See the latest updates and product improvements.',
|
|
url: '/changelog',
|
|
icon: ScrollText,
|
|
},
|
|
{
|
|
text: 'Support',
|
|
description: 'See the latest updates and product improvements.',
|
|
url: '/support',
|
|
icon: IconLifeBuoy2,
|
|
},
|
|
],
|
|
},
|
|
{
|
|
label: 'Resources',
|
|
links: [
|
|
{
|
|
text: 'Open Source',
|
|
description: 'We support existing open source tools and communities wherever possible.',
|
|
url: '/open-source',
|
|
icon: IconGitHubSolid,
|
|
},
|
|
{
|
|
text: 'Become a Partner',
|
|
url: '/partners',
|
|
icon: IconPartners,
|
|
},
|
|
{
|
|
text: 'Partner Catalog',
|
|
url: '/partners/catalog',
|
|
icon: IconIntegrations,
|
|
},
|
|
{
|
|
text: 'Careers',
|
|
url: '/careers',
|
|
icon: IconBriefcase2,
|
|
},
|
|
{
|
|
text: 'Events & Webinars',
|
|
url: '/events',
|
|
icon: Calendar,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
footer: {
|
|
support: {
|
|
text: 'Support',
|
|
description: '',
|
|
url: '/support',
|
|
icon: 'M6.87232 21.5743C9.09669 21.5743 10.8999 19.7711 10.8999 17.5467C10.8999 15.3223 9.09669 13.5191 6.87232 13.5191C4.64794 13.5191 2.84473 15.3223 2.84473 17.5467C2.84473 19.7711 4.64794 21.5743 6.87232 21.5743Z M17.127 3.67236V11.1724M20.877 7.42274H13.377M3.12305 3.67236H10.6231V11.1724H3.12305V3.67236ZM13.377 13.7966H20.877V21.2966H13.377V13.7966ZM10.8999 17.5467C10.8999 19.7711 9.09669 21.5743 6.87232 21.5743C4.64794 21.5743 2.84473 19.7711 2.84473 17.5467C2.84473 15.3223 4.64794 13.5191 6.87232 13.5191C9.09669 13.5191 10.8999 15.3223 10.8999 17.5467Z',
|
|
},
|
|
systemStatus: {
|
|
text: 'System Status',
|
|
description: '',
|
|
url: 'https://status.supabase.com/',
|
|
icon: 'M6.87232 21.5743C9.09669 21.5743 10.8999 19.7711 10.8999 17.5467C10.8999 15.3223 9.09669 13.5191 6.87232 13.5191C4.64794 13.5191 2.84473 15.3223 2.84473 17.5467C2.84473 19.7711 4.64794 21.5743 6.87232 21.5743Z M17.127 3.67236V11.1724M20.877 7.42274H13.377M3.12305 3.67236H10.6231V11.1724H3.12305V3.67236ZM13.377 13.7966H20.877V21.2966H13.377V13.7966ZM10.8999 17.5467C10.8999 19.7711 9.09669 21.5743 6.87232 21.5743C4.64794 21.5743 2.84473 19.7711 2.84473 17.5467C2.84473 15.3223 4.64794 13.5191 6.87232 13.5191C9.09669 13.5191 10.8999 15.3223 10.8999 17.5467Z',
|
|
},
|
|
},
|
|
}
|