|
1 | | -import { Card, Grid, Heading, Text } from '@radix-ui/themes'; |
| 1 | +import { Card, CardHeader, CardTitle, CardDescription } from '@/components/ui/card'; |
2 | 2 |
|
3 | 3 | export default function Footer() { |
4 | 4 | return ( |
5 | | - <Grid columns={{ initial: '1', sm: '3' }} gap={{ initial: '3', sm: '5' }}> |
6 | | - <Card size="4" asChild variant="classic"> |
7 | | - <a href="https://workos.com/docs" rel="noreferrer" target="_blank"> |
8 | | - <Heading size="4" mb="1"> |
9 | | - Documentation |
10 | | - </Heading> |
11 | | - <Text color="gray">View integration guides and SDK documentation.</Text> |
12 | | - </a> |
13 | | - </Card> |
14 | | - <Card size="4" asChild variant="classic"> |
15 | | - <a href="https://workos.com/docs/reference" rel="noreferrer" target="_blank"> |
16 | | - <Heading size="4" mb="1"> |
17 | | - API Reference |
18 | | - </Heading> |
19 | | - <Text color="gray">Every WorkOS API method and endpoint documented.</Text> |
20 | | - </a> |
21 | | - </Card> |
22 | | - <Card size="4" asChild variant="classic"> |
23 | | - <a href="https://workos.com" rel="noreferrer" target="_blank"> |
24 | | - <Heading size="4" mb="1"> |
25 | | - WorkOS |
26 | | - </Heading> |
27 | | - <Text color="gray">Learn more about other WorkOS products.</Text> |
28 | | - </a> |
29 | | - </Card> |
30 | | - </Grid> |
| 5 | + <div className="grid grid-cols-1 sm:grid-cols-3 gap-3 sm:gap-5"> |
| 6 | + <a href="https://workos.com/docs" rel="noreferrer" target="_blank" className="no-underline"> |
| 7 | + <Card className="hover:bg-accent transition-colors h-full"> |
| 8 | + <CardHeader> |
| 9 | + <CardTitle className="text-lg mb-1">Documentation</CardTitle> |
| 10 | + <CardDescription>View integration guides and SDK documentation.</CardDescription> |
| 11 | + </CardHeader> |
| 12 | + </Card> |
| 13 | + </a> |
| 14 | + <a href="https://workos.com/docs/reference" rel="noreferrer" target="_blank" className="no-underline"> |
| 15 | + <Card className="hover:bg-accent transition-colors h-full"> |
| 16 | + <CardHeader> |
| 17 | + <CardTitle className="text-lg mb-1">API Reference</CardTitle> |
| 18 | + <CardDescription>Every WorkOS API method and endpoint documented.</CardDescription> |
| 19 | + </CardHeader> |
| 20 | + </Card> |
| 21 | + </a> |
| 22 | + <a href="https://workos.com" rel="noreferrer" target="_blank" className="no-underline"> |
| 23 | + <Card className="hover:bg-accent transition-colors h-full"> |
| 24 | + <CardHeader> |
| 25 | + <CardTitle className="text-lg mb-1">WorkOS</CardTitle> |
| 26 | + <CardDescription>Learn more about other WorkOS products.</CardDescription> |
| 27 | + </CardHeader> |
| 28 | + </Card> |
| 29 | + </a> |
| 30 | + </div> |
31 | 31 | ); |
32 | 32 | } |
0 commit comments