Skip to content

Commit af935bd

Browse files
committed
Use this import
1 parent b8e967e commit af935bd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

airstrip-fe/src/components/github-repo-button/GithubRepoButton.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import { GITHUB_REPO_URL, PRODUCT_NAME } from '@/constants';
44
import { Button } from '@mantine/core';
55
import Image from 'next/image';
6+
import githubMark from '../../../public/github-mark.svg';
67

78
export default function GithubRepoButton({ variant }: { variant?: string }) {
89
return (
@@ -12,7 +13,7 @@ export default function GithubRepoButton({ variant }: { variant?: string }) {
1213
href={GITHUB_REPO_URL}
1314
target="_blank"
1415
leftSection={
15-
<Image alt="github" src="/github-mark.svg" width={20} height={20} />
16+
<Image alt="github" src={githubMark} width={20} height={20} />
1617
}
1718
>
1819
Check out {PRODUCT_NAME} on GitHub

airstrip-fe/src/components/logo/Logo.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import classes from './Logo.module.css';
66
import Link from 'next/link';
77
import { Links } from '@/utils/misc/links';
88
import { PRODUCT_NAME } from '@/constants';
9+
import logoImage from '../../../public/logo.svg';
910

1011
export default function Logo({
1112
size,
@@ -18,7 +19,7 @@ export default function Logo({
1819
}) {
1920
const logo = (
2021
<Group gap="0">
21-
<Image alt="Logo" src="/logo.svg" width={size} height={size} />
22+
<Image alt="Logo" src={logoImage} width={size} height={size} />
2223
{withText && <Text fw="bold">{PRODUCT_NAME}</Text>}
2324
</Group>
2425
);

0 commit comments

Comments
 (0)