Skip to content

Commit 9eedc67

Browse files
Fix build server and navbar
1 parent 7e16e67 commit 9eedc67

File tree

3 files changed

+29
-14
lines changed

3 files changed

+29
-14
lines changed

.github/workflows/build_server.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Build Server (deprecated)
2+
3+
on:
4+
# Only runnable manually; kept to satisfy existing workflow references.
5+
workflow_dispatch:
6+
7+
jobs:
8+
noop:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Deprecated workflow
12+
run: echo "build_server.yml is deprecated. Use the 'Build' workflow instead."
13+

frontend/__tests__/app.test.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ import { hitEnter } from "./utilities/fireEvents";
1010
import { TagReqPayload } from "@type/Bookmarks/Tag";
1111
import Bookmark from "@type/Bookmarks/Bookmark";
1212
import { Providers } from "@/app/providers";
13+
14+
vi.mock("next/font/google", () => ({
15+
Libre_Baskerville: () => ({ className: "mocked-font" }),
16+
}));
1317
const userEvnt = userEvent.setup();
1418

1519
const data = JSON.stringify(bkmkResp, null, 2);

frontend/components/Navbar/Navbar.tsx

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,18 @@ const GlobalNavbar: React.FC = () => {
7575
className="bg-body-tertiary"
7676
>
7777
<Container className={navbarView.navContainer}>
78-
{isMobile ? (
79-
<Navbar.Brand
80-
onClick={() => router.push("/")}
81-
className={` ${navbarView.navBrand}`}
82-
>
83-
<Image
84-
src="/basic-f-v2-dark-mode-v2-fav.png"
85-
width="38"
86-
height="30"
87-
className="d-inline-block align-top"
88-
alt="FindFirst Logo"
89-
/>
90-
</Navbar.Brand>
91-
) : null}
78+
<Navbar.Brand
79+
onClick={() => router.push("/")}
80+
className={` ${navbarView.navBrand}`}
81+
>
82+
<Image
83+
src="/basic-f-v2-dark-mode-v2-fav.png"
84+
width="38"
85+
height="30"
86+
className="d-inline-block align-top"
87+
alt="FindFirst Logo"
88+
/>
89+
</Navbar.Brand>
9290

9391
{/* Search bar stays visible always */}
9492
{userAuth === AuthStatus.Authorized ? <Searchbar /> : null}

0 commit comments

Comments
 (0)