Skip to content

Commit 5af8396

Browse files
Update favicon and hero button
Update the site's favicon to the provided URL. Modify the "Começar Agora" button in `src/components/Hero.tsx` to link to the documentation page. Add basic behavior to header buttons for demonstration.
1 parent f5d3c47 commit 5af8396

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>devitools-docs-hub</title>
7+
<link rel="icon" href="/favicon.png" type="image/png">
78
<meta name="description" content="Lovable Generated Project" />
89
<meta name="author" content="Lovable" />
910

public/favicon.png

768 Bytes
Loading

src/components/Header.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,19 @@ const Header = () => {
5656
<Button variant="ghost" size="icon" onClick={toggleTheme}>
5757
{theme === "dark" ? <Sun className="w-4 h-4" /> : <Moon className="w-4 h-4" />}
5858
</Button>
59-
<Button variant="ghost" size="sm">
59+
<Button
60+
variant="ghost"
61+
size="sm"
62+
onClick={() => window.open('https://github.com/devitools', '_blank')}
63+
>
6064
<Github className="w-4 h-4 mr-2" />
6165
GitHub
6266
</Button>
63-
<Button size="sm" className="bg-gradient-primary shadow-elegant">
67+
<Button
68+
size="sm"
69+
className="bg-gradient-primary shadow-elegant"
70+
onClick={() => window.location.href = '/docs'}
71+
>
6472
<BookOpen className="w-4 h-4 mr-2" />
6573
Começar
6674
</Button>

src/components/Hero.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ const Hero = () => {
2323
</p>
2424

2525
<div className="flex flex-col sm:flex-row gap-4 justify-center mb-12">
26-
<Button size="lg" className="bg-gradient-primary shadow-glow text-lg px-8 py-6">
26+
<Button
27+
size="lg"
28+
className="bg-gradient-primary shadow-glow text-lg px-8 py-6"
29+
onClick={() => window.location.href = '/docs'}
30+
>
2731
<Zap className="w-5 h-5 mr-2" />
2832
Começar Agora
2933
<ArrowRight className="w-5 h-5 ml-2" />

0 commit comments

Comments
 (0)