Skip to content

Commit 9e8a0af

Browse files
authored
Merge pull request #946 from polkadot-fellows/nik-minor-fixes
2 parents 668b890 + 7be1f5b commit 9e8a0af

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

src/footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const Footer = () => {
2929

3030
return (
3131
<footer className="bg-background/80 w-fill supports-backdrop-filter:bg-background/60 fixed bottom-0 border-t backdrop-blur">
32-
<div className="text-muted-foreground mx-auto flex w-full max-w-7xl flex-col items-center justify-between gap-4 px-4 py-6 text-sm sm:flex-row sm:items-center sm:px-6">
32+
<div className="text-muted-foreground mx-auto flex w-full max-w-7xl flex-col items-center justify-between py-6 text-sm sm:flex-row sm:items-center sm:px-6">
3333
<div className="text-center sm:text-left">
3434
<p className="text-foreground text-base font-semibold">
3535
Polkadot Technical Fellowship

src/header.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const Header = () => {
6666

6767
return (
6868
<header className="bg-background/80 supports-backdrop-filter:bg-background/60 fixed inset-x-0 top-0 z-30 border-b backdrop-blur">
69-
<div className="mx-auto flex w-full max-w-7xl items-center gap-4 px-4 py-4">
69+
<div className="mx-auto flex w-full max-w-7xl items-center py-4">
7070
<div className="flex items-center gap-3 md:flex-1">
7171
<Sheet>
7272
<SheetTrigger asChild>
@@ -135,7 +135,7 @@ export const Header = () => {
135135
className="text-muted-foreground hover:text-foreground flex items-center gap-4 px-2.5"
136136
>
137137
<BookOpenText className="h-5 w-5" />
138-
RFCs Book
138+
RFCs
139139
</Link>
140140
<Dialog>
141141
<DialogTrigger asChild>
@@ -212,7 +212,7 @@ export const Header = () => {
212212
<span className="hidden sm:inline">Fellowship</span>
213213
</Link>
214214
</div>
215-
<div className="hidden flex-1 items-center justify-center gap-2 md:flex">
215+
<div className="hidden flex-1 items-center justify-center gap-2 font-sans! md:flex">
216216
{routes.map((route) => {
217217
if (route.childs?.length) {
218218
const childActive = route.childs.some((child) =>
@@ -223,7 +223,7 @@ export const Header = () => {
223223
<DropdownMenuTrigger
224224
className={cn(
225225
navLinkClasses(childActive),
226-
'flex items-center gap-1 outline-none',
226+
'flex cursor-pointer items-center gap-1 outline-none',
227227
)}
228228
>
229229
{route.name}
@@ -234,7 +234,7 @@ export const Header = () => {
234234
<DropdownMenuItem asChild key={child.link}>
235235
<Link
236236
to={child.link}
237-
className="flex items-center gap-2"
237+
className="flex cursor-pointer items-center gap-2 font-sans"
238238
>
239239
<child.icon className="h-4 w-4" />
240240
{child.name}
@@ -262,7 +262,7 @@ export const Header = () => {
262262
rel="noreferrer"
263263
className={navLinkClasses()}
264264
>
265-
RFCs Book
265+
RFCs
266266
</a>
267267
<Dialog>
268268
<DialogTrigger asChild>

src/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
--font-*: initial;
2121
--font-dm-serif: 'DM Serif Display', 'DM Serif Display Fallback';
2222
--font-unbounded: Unbounded, sans-serif;
23+
--font-sans: sans-serif;
2324

2425
--color-border: hsl(var(--border));
2526
--color-input: hsl(var(--input));

0 commit comments

Comments
 (0)