Skip to content

Commit

Permalink
ui - fixed search page footer issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JianLoong committed Jul 7, 2023
1 parent c23d90a commit 2b88400
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:alpine
FROM node:20-alpine3.17

WORKDIR /app
COPY package.json ./
Expand All @@ -7,4 +7,4 @@ COPY . .

EXPOSE 3000

CMD ["npm", "run", "dev"]
CMD ["npm", "run", "dev", "--", "--port", "3000", "--host"]
22 changes: 12 additions & 10 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
'use client'
"use client";

export default function Footer() {
return (
<footer className="footer footer-center bg-base-300 text-base-content fixed pt-4 pb-4">
<div className="container">
<span className="text-muted">
Project can be found{" "}
<a href="https://github.com/JianLoong/reddit-store">here</a> . This
website updates itself every second hour based on data from Reddit
</span>
</div>
</footer>
<div>
{/* <footer className="footer footer-center bg-base-300 text-base-content fixed pt-4 pb-4">
<div className="container">
<span className="text-muted">
Project can be found{" "}
<a href="https://github.com/JianLoong/reddit-store">here</a> . This
website updates itself every second hour based on data from Reddit
</span>
</div>
</footer> */}
</div>
);
}

0 comments on commit 2b88400

Please sign in to comment.