Skip to content

Commit bc6df20

Browse files
committed
Add query.gg to footer
1 parent 50d08d8 commit bc6df20

File tree

1 file changed

+46
-45
lines changed

1 file changed

+46
-45
lines changed

usehooks.com/src/sections/Footer.astro

Lines changed: 46 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -2,57 +2,58 @@
22
---
33

44
<footer class="main-footer">
5-
<a href="/" class="logo image">
6-
<img src="/img/logo-useHooks.svg" width="546" height="80" alt="useHooks" />
7-
</a>
8-
<a href="https://ui.dev" class="byline">by ui.dev</a>
9-
<nav>
10-
<a href="https://github.com/uidotdev/usehooks">Fork on GitHub</a>
11-
<a href="https://bytes.dev">JavaScript Newsletter</a>
12-
<a href="https://react.gg">Learn React</a>
13-
</nav>
5+
<a href="/" class="logo image">
6+
<img src="/img/logo-useHooks.svg" width="546" height="80" alt="useHooks" />
7+
</a>
8+
<a href="https://ui.dev" class="byline">by ui.dev</a>
9+
<nav>
10+
<a href="https://github.com/uidotdev/usehooks">View the Repo</a>
11+
<a href="https://bytes.dev">JavaScript Newsletter</a>
12+
<a href="https://react.gg">Learn React</a>
13+
<a href="https://query.gg">Learn React Query</a>
14+
</nav>
1415
</footer>
1516

1617
<style>
17-
.main-footer {
18-
width: 100%;
19-
margin-top: 4rem;
20-
padding: var(--body-padding);
21-
display: flex;
22-
flex-direction: column;
23-
align-items: center;
24-
gap: 2rem;
25-
border-radius: .5rem;
26-
border: var(--border-dark);
27-
font-size: var(--font-sm);
28-
}
18+
.main-footer {
19+
width: 100%;
20+
margin-top: 4rem;
21+
padding: var(--body-padding);
22+
display: flex;
23+
flex-direction: column;
24+
align-items: center;
25+
gap: 2rem;
26+
border-radius: 0.5rem;
27+
border: var(--border-dark);
28+
font-size: var(--font-sm);
29+
}
2930

30-
nav {
31-
display: flex;
32-
flex-wrap: wrap;
33-
justify-content: center;
34-
gap: 1rem 2rem;
35-
text-align: center;
36-
}
31+
nav {
32+
display: flex;
33+
flex-wrap: wrap;
34+
justify-content: center;
35+
gap: 1rem 2rem;
36+
text-align: center;
37+
}
3738

38-
.logo {
39-
width: 180px;
40-
}
39+
.logo {
40+
width: 180px;
41+
}
4142

42-
.byline {
43-
margin-top: -.5rem;
44-
padding: .3em .5em;
45-
display: inline-block;
46-
border-radius: .3em;
47-
background-color: var(--charcoal);
48-
}
43+
.byline {
44+
margin-top: -0.5rem;
45+
padding: 0.3em 0.5em;
46+
display: inline-block;
47+
border-radius: 0.3em;
48+
background-color: var(--charcoal);
49+
}
4950

50-
.byline:hover {
51-
background-color: var(--yellow);
52-
color: var(--charcoal);
53-
}
51+
.byline:hover {
52+
background-color: var(--yellow);
53+
color: var(--charcoal);
54+
}
5455

55-
nav a:hover {
56-
text-decoration: underline;
57-
}
56+
nav a:hover {
57+
text-decoration: underline;
58+
}
5859
</style>

0 commit comments

Comments
 (0)