Skip to content

Commit 7146034

Browse files
committed
fixed project
1 parent b2b1cde commit 7146034

File tree

4 files changed

+3824
-2
lines changed

4 files changed

+3824
-2
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
NEXT_PUBLIC_API_URL=localhost:3333

pages/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import sendFiles from "../utils/sendFiles";
2020
import { RingLoader } from "react-spinners";
2121
import MimeTypes from 'mime-types';
2222
import { useRouter } from "next/dist/client/router";
23+
import GITHUB_USER_IMAGE from "../utils/constants"
2324

2425
export default function Home(){
2526
const [files, setFiles] = useState<any>([]);
@@ -125,11 +126,11 @@ export default function Home(){
125126
Made by{' '}
126127
<FooterLink href={process.env.NEXT_PUBLIC_GITHUB}>
127128
DPBM
128-
<FooterImageAvatar src={process.env.NEXT_PUBLIC_GITHUB_AVATAR} alt="Dpbm Avatar"/>
129+
<FooterImageAvatar src={GITHUB_USER_IMAGE} alt="Dpbm Avatar"/>
129130
</FooterLink>
130131
</FooterText>
131132
</Footer>
132133

133134
</Container>
134135
);
135-
}
136+
}

0 commit comments

Comments
 (0)