Skip to content

Commit f0e6166

Browse files
faker, logoipsum
1 parent cea89d5 commit f0e6166

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

src/components/hero/Hero.tsx

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { useContext } from 'react'
22
import Image from 'next/image'
33
import Link from 'next/link'
4+
import heroLogo from '@/assets/hero_logo.webp'
45
import { Button } from '@/components/ui/button'
56
import { ContextTopUsers } from '@/context/ContextTopUsers'
6-
import heroLogo from '@/assets/hero_logo.webp'
77
import { setWindowScrollTo } from '@/utils/setWindowScrollTo'
88

99
const Hero = () => {
@@ -42,8 +42,34 @@ const Hero = () => {
4242
>
4343
JSON Placeholder
4444
</Link>
45+
</Button>{' '}
46+
and{' '}
47+
<Button asChild variant="link">
48+
<Link
49+
href="https://fakerjs.dev/api/company.html"
50+
target="_blank"
51+
rel="noopener noreferrer"
52+
className="underline text-normal"
53+
aria-label="Link to Faker (opens in a new tab)"
54+
title="Link to Faker (opens in a new tab)"
55+
>
56+
Faker
57+
</Link>
58+
</Button>
59+
, logos from
60+
<Button asChild variant="link">
61+
<Link
62+
href="https://logoipsum.com/"
63+
target="_blank"
64+
rel="noopener noreferrer"
65+
className="underline text-normal"
66+
aria-label="Link to Logoipsum (opens in a new tab)"
67+
title="Link to Logoipsum (opens in a new tab)"
68+
>
69+
Logoipsum
70+
</Link>
4571
</Button>
46-
and using UI elements from the React component library
72+
, and uses UI elements from the React component library
4773
<Button asChild variant="link">
4874
<Link
4975
href="https://ui.shadcn.com/"

0 commit comments

Comments
 (0)