Skip to content

Commit c6b6633

Browse files
authored
Merge pull request #461 from LGLabGreg/chore/seo
Chore/seo
2 parents a23f49d + 1abffc0 commit c6b6633

24 files changed

Lines changed: 749 additions & 231 deletions

File tree

apps/docs/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,25 @@
3232
"clsx": "^2.1.1",
3333
"date-fns": "^4.1.0",
3434
"eslint-config-next": "16.1.6",
35-
"lucide-react": "^0.564.0",
35+
"lucide-react": "^0.575.0",
3636
"next": "16.1.6",
3737
"next-themes": "^0.4.6",
3838
"prism-react-renderer": "^2.4.1",
3939
"react": "^19.2.4",
4040
"react-dom": "^19.2.4",
41-
"react-hook-form": "^7.71.1",
41+
"react-hook-form": "^7.71.2",
4242
"react-icons": "^5.5.0",
43-
"tailwind-merge": "^3.4.1",
43+
"tailwind-merge": "^3.5.0",
4444
"tailwindcss-animate": "^1.0.7"
4545
},
4646
"devDependencies": {
47-
"@tailwindcss/postcss": "^4.1.18",
47+
"@tailwindcss/postcss": "^4.2.1",
4848
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
49-
"@types/node": "^25.2.3",
49+
"@types/node": "^25.3.0",
5050
"@types/react": "^19.2.14",
5151
"@types/react-dom": "^19.2.3",
5252
"postcss": "^8.5.6",
53-
"tailwindcss": "^4.1.18",
53+
"tailwindcss": "^4.2.1",
5454
"typescript": "^5.9.3"
5555
}
5656
}

apps/docs/src/app/data-modules-settings/page.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1+
import type { Metadata } from 'next'
2+
13
import type { Prop } from '@/types/props'
24

35
import { PageHeading } from '@/components/page-heading'
46
import { PropsTable } from '@/components/props-table'
57
import { Bold, TypographyP } from '@/components/ui/typography'
68

9+
export const metadata: Metadata = {
10+
title: 'DataModulesSettings',
11+
description:
12+
'Configuration options for DataModulesSettings in @lglab/react-qr-code, used to control QR code data module color, shape, and random sizing.',
13+
}
14+
715
const props: Prop[] = [
816
{
917
name: 'color',

apps/docs/src/app/demo/page.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1+
import type { Metadata } from 'next'
2+
13
import { Demo } from '@/components/demo/demo'
24
import { PageHeading } from '@/components/page-heading'
35

6+
export const metadata: Metadata = {
7+
title: 'Demo',
8+
description:
9+
'Try the interactive React QR Code demo to experiment with customization options and see how the library works in real time.',
10+
}
11+
412
export default function Page() {
513
return (
614
<>

apps/docs/src/app/examples/background/page.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import type { Metadata } from 'next'
2+
13
import {
24
DemoGradient,
35
DemoSolid,
@@ -8,6 +10,12 @@ import { PageHeading } from '@/components/page-heading'
810
import { ExampleTabs } from '@/components/ui/example-tabs'
911
import { TypographyH3, TypographyP } from '@/components/ui/typography'
1012

13+
export const metadata: Metadata = {
14+
title: 'Background Example',
15+
description:
16+
'Example showing how to customize QR code backgrounds in @lglab/react-qr-code using solid colors and gradients.',
17+
}
18+
1119
export default function Page() {
1220
return (
1321
<>

apps/docs/src/app/examples/basic/page.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
import type { Metadata } from 'next'
2+
13
import { Demo, codeBlock } from '@/components/demos/demo-basic'
24
import { PageHeading } from '@/components/page-heading'
35
import { ExampleTabs } from '@/components/ui/example-tabs'
46
import { TypographyP } from '@/components/ui/typography'
57

8+
export const metadata: Metadata = {
9+
title: 'Basic Example',
10+
description:
11+
'See a basic example of using the @lglab/react-qr-code library to render a customizable QR code in a React application.',
12+
}
13+
614
export default function Page() {
715
return (
816
<>
9-
<PageHeading heading='Basic' />
17+
<PageHeading heading='Basic example' />
1018
<TypographyP>
1119
The @lglab/react-qr-code library makes it easy to generate customizable QR codes
1220
in your React applications. Here&apos;s a simple example to get you started.

apps/docs/src/app/examples/data-modules/page.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
1+
import type { Metadata } from 'next'
12
import Link from 'next/link'
23

34
import { Demo, codeBlock } from '@/components/demos/data-modules'
45
import { PageHeading } from '@/components/page-heading'
56
import { ExampleTabs } from '@/components/ui/example-tabs'
67
import { TypographyP } from '@/components/ui/typography'
78

9+
export const metadata: Metadata = {
10+
title: 'Data Modules Example',
11+
description:
12+
'Example demonstrating how to customize QR code data modules in @lglab/react-qr-code, including shape, color, and random sizing.',
13+
}
14+
815
export default function Page() {
916
return (
1017
<>
11-
<PageHeading heading='Data Modules' />
18+
<PageHeading heading='Data modules example' />
1219
<TypographyP>
1320
The data modules in a QR code are the small squares that encode the actual
1421
information. With @lglab/react-qr-code, you can customize their shape and color,

apps/docs/src/app/examples/download/page.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1+
import type { Metadata } from 'next'
2+
13
import { DemoDownload, codeBlock } from '@/components/demos/demo-download'
24
import { PageHeading } from '@/components/page-heading'
35
import { ExampleTabs } from '@/components/ui/example-tabs'
46
import { TypographyP } from '@/components/ui/typography'
57

8+
export const metadata: Metadata = {
9+
title: 'Download Example',
10+
description:
11+
'Example demonstrating how to use the download API in @lglab/react-qr-code to export QR codes as SVG, PNG, or JPEG files.',
12+
}
13+
614
export default function Page() {
715
return (
816
<>

apps/docs/src/app/examples/finder-patterns/page.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
1+
import type { Metadata } from 'next'
12
import Link from 'next/link'
23

34
import { Demo, codeBlock } from '@/components/demos/finder-patterns'
45
import { PageHeading } from '@/components/page-heading'
56
import { ExampleTabs } from '@/components/ui/example-tabs'
67
import { TypographyP } from '@/components/ui/typography'
78

9+
export const metadata: Metadata = {
10+
title: 'Finder Patterns Example',
11+
description:
12+
'Example showing how to customize QR code finder patterns in @lglab/react-qr-code, including inner and outer styles.',
13+
}
14+
815
export default function Page() {
916
return (
1017
<>
11-
<PageHeading heading='Data Modules' />
18+
<PageHeading heading='Finder patterns example' />
1219
<TypographyP>
1320
The finder patterns are the three prominent squares located at the corners of a QR
1421
code, essential for orientation during scanning. With @lglab/react-qr-code, you

apps/docs/src/app/examples/image/page.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
1+
import type { Metadata } from 'next'
12
import Link from 'next/link'
23

34
import { Demo, codeBlock } from '@/components/demos/image'
45
import { PageHeading } from '@/components/page-heading'
56
import { ExampleTabs } from '@/components/ui/example-tabs'
67
import { TypographyP } from '@/components/ui/typography'
78

9+
export const metadata: Metadata = {
10+
title: 'Image Example',
11+
description:
12+
'Example showing how to embed images or logos inside QR codes using the ImageSettings options in @lglab/react-qr-code.',
13+
}
14+
815
export default function Page() {
916
return (
1017
<>
11-
<PageHeading heading='Data Modules' />
18+
<PageHeading heading='Image example' />
1219
<TypographyP>
1320
The @lglab/react-qr-code library allows you to embed images or logos within your
1421
QR codes, enhancing branding and visual appeal. This guide details the

apps/docs/src/app/finder-pattern-inner-settings/page.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1+
import type { Metadata } from 'next'
2+
13
import type { Prop } from '@/types/props'
24

35
import { PageHeading } from '@/components/page-heading'
46
import { PropsTable } from '@/components/props-table'
57
import { TypographyP } from '@/components/ui/typography'
68

9+
export const metadata: Metadata = {
10+
title: 'FinderPatternInnerSettings',
11+
description:
12+
'Configuration options for FinderPatternInnerSettings in @lglab/react-qr-code, used to style the inner part of QR code finder patterns.',
13+
}
14+
715
const props: Prop[] = [
816
{
917
name: 'color',

0 commit comments

Comments
 (0)