-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpage.tsx
More file actions
32 lines (28 loc) · 1.1 KB
/
page.tsx
File metadata and controls
32 lines (28 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import type { Metadata } from 'next'
import Link from 'next/link'
import { Demo, codeBlock } from '@/components/demos/image'
import { PageHeading } from '@/components/page-heading'
import { ExampleTabs } from '@/components/ui/example-tabs'
import { TypographyP } from '@/components/ui/typography'
export const metadata: Metadata = {
title: 'Image Example',
description:
'Example showing how to embed images or logos inside QR codes using the ImageSettings options in @lglab/react-qr-code.',
}
export default function Page() {
return (
<>
<PageHeading heading='Image example' />
<TypographyP>
The @lglab/react-qr-code library allows you to embed images or logos within your
QR codes, enhancing branding and visual appeal. This guide details the
ImageSettings properties you can utilize to customize the embedded image. See{' '}
<Link className='underline' href='/image-settings'>
Image Settings
</Link>{' '}
api reference for more information.
</TypographyP>
<ExampleTabs codeBlock={codeBlock} preview={<Demo />} />
</>
)
}