Skip to content

Commit bce5221

Browse files
Update App.tsx
1 parent 7f7df46 commit bce5221

File tree

1 file changed

+34
-31
lines changed

1 file changed

+34
-31
lines changed

src/App.tsx

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,41 @@
1+
import { A, H3, P } from '@/index';
12
import './index.css';
23

3-
import {
4-
TableCaption,
5-
TableHeader,
6-
TableRow,
7-
TableHead,
8-
TableBody,
9-
TableCell,
10-
Table,
11-
} from './components/ui/table';
12-
134
function App() {
145
return (
15-
<>
16-
<Table>
17-
<TableCaption>A list of your recent invoices.</TableCaption>
18-
<TableHeader>
19-
<TableRow>
20-
<TableHead className='w-[100px]'>Invoice</TableHead>
21-
<TableHead>Status</TableHead>
22-
<TableHead>Method</TableHead>
23-
<TableHead className='text-right'>Amount</TableHead>
24-
</TableRow>
25-
</TableHeader>
26-
<TableBody>
27-
<TableRow>
28-
<TableCell className='font-medium'>INV001</TableCell>
29-
<TableCell>Paid</TableCell>
30-
<TableCell>Credit Card</TableCell>
31-
<TableCell className='text-right'>$250.00</TableCell>
32-
</TableRow>
33-
</TableBody>
34-
</Table>
35-
</>
6+
<div
7+
style={{
8+
height: '90vh',
9+
maxWidth: '712px',
10+
margin: '0 auto',
11+
padding: '2rem',
12+
display: 'flex',
13+
flexDirection: 'column',
14+
justifyContent: 'center',
15+
alignItems: 'center',
16+
}}
17+
>
18+
<img width='56' alt='undp-logo' src='/undp-logo-blue.svg' />
19+
<H3 style={{ textAlign: 'center', paddingTop: '24px' }}>UNDP Design System for React</H3>
20+
<P style={{ textAlign: 'center' }}>
21+
This design system for react, developed by the United Nations Development Programme, offers
22+
various UI components. You can access the documentation{' '}
23+
<A href='https://react.design.undp.org/' target='_blank' rel='noreferrer'>
24+
here
25+
</A>
26+
.
27+
</P>
28+
<P
29+
style={{
30+
textAlign: 'center',
31+
}}
32+
>
33+
For any feedback or inquiries, please feel free to reach out to us at{' '}
34+
<A href='mailto:[email protected]' target='_blank' rel='noreferrer'>
35+
36+
</A>
37+
</P>
38+
</div>
3639
);
3740
}
3841

0 commit comments

Comments
 (0)