Skip to content

Commit

Permalink
refactor: seo improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaAmar committed Nov 29, 2024
1 parent e3efc70 commit 6f6b43e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions apps/docs/src/app/docs/components/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react'
import { Paper, Grid, Text } from '@pillar-ui/core'
import Link from 'next/link'
import { getComponents } from '~/api/docs'
import { Metadata } from 'next'

async function Page() {
const components = getComponents()
Expand All @@ -21,4 +22,9 @@ async function Page() {
)
}

export const metadata: Metadata = {
title: 'Components List',
description:
'Explore the complete list of components in Pillar UI Our lightweight, accessible components empower you to create beautiful, responsive web applications.',
}
export default Page
3 changes: 1 addition & 2 deletions apps/docs/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ const Layout = ({ children }: LayoutProps) => {
}

export default Layout

export const metadata: Metadata = {
metadataBase: new URL(DOMAIN),
title: {
default: 'Pillar UI library',
template: '%s | Pillar UI library',
template: '%s | Pillar UI - Lightweight React UI Library',
},
description:
'Pillar UI: Lightweight and Accessible React UI Library for Building Beautiful, Customizable Web Applications',
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

0 comments on commit 6f6b43e

Please sign in to comment.