Skip to content

Commit

Permalink
imporoved footer
Browse files Browse the repository at this point in the history
  • Loading branch information
pr4j3sh committed Nov 25, 2024
1 parent aeca01e commit 114d89d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ import { AUTHOR } from "../lib/consts";

const component = `<footer>
<p>
<a href="${AUTHOR.URL}" target="_blank">${AUTHOR.USERNAME}</a>
&copy; <a href="${AUTHOR.URL}" target="_blank">${AUTHOR.USERNAME}</a>
</p>
<article class="btns">
<a href="${AUTHOR.TWITTER}" target="_blank">twitter</a>
<span>/</span>
<a href="${AUTHOR.GITHUB}" target="_blank">github</a>
</article>
</footer>`;

const footer = document.getElementById("footer");
Expand Down
2 changes: 2 additions & 0 deletions src/lib/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ export const AUTHOR = {
USERNAME: "pr4j3sh",
EMAIL: "prajesh.eleven118@gmail.com",
URL: "https://pr4j3sh.vercel.app/",
TWITTER: "https://x.com/pr4j3sh",
GITHUB: "https://github.com/pr4j3sh",
};

0 comments on commit 114d89d

Please sign in to comment.