Compare commits

...

2 commits

Author SHA1 Message Date
99da2743d2
feat(list): update link to source code
Some checks failed
Test / Test (push) Failing after 3m10s
2025-06-02 21:06:22 +09:00
feea815847
feat(blog): update link to source code 2025-06-02 21:03:04 +09:00
3 changed files with 10 additions and 25 deletions

View file

@ -1,8 +1,7 @@
import { faRss } from "@fortawesome/free-solid-svg-icons"
import { faGitAlt } from "@fortawesome/free-brands-svg-icons"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import GithubLinkIcon from "../GithubLinkIcon"
export default function Footer() {
return (
<footer className="flex h-32 justify-center bg-light-footer-bg px-4 text-light-footer-text dark:bg-dark-footer-bg dark:text-dark-footer-text">
@ -17,9 +16,15 @@ export default function Footer() {
>
<FontAwesomeIcon icon={faRss} />
</a>
<GithubLinkIcon href="https://github.com/pompydev/pompy.dev" />
<a
href="https://git.pompy.dev/pomp/pompy.dev/src/branch/master/apps/blog"
className="text-4xl text-light-footer-text transition-colors duration-75 hover:text-light-text-high-contrast dark:text-dark-footer-text dark:hover:text-dark-text-high-contrast"
>
<FontAwesomeIcon icon={faGitAlt} />
</a>
</div>
</div>
</footer>
)
}

View file

@ -1,20 +0,0 @@
import { faGithub } from "@fortawesome/free-brands-svg-icons"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import Link from "next/link"
interface Props {
href: string
}
export default function GithubLinkIcon({ href }: Props) {
return (
<Link
className="text-4xl text-light-footer-text transition-colors duration-75 hover:text-light-text-high-contrast dark:text-dark-footer-text dark:hover:text-dark-text-high-contrast"
href={href}
target="_blank"
aria-label="GitHub link"
>
<FontAwesomeIcon icon={faGithub} />
</Link>
)
}

View file

@ -21,10 +21,10 @@ const props = defineProps<{
<div class="flex items-center gap-6">
<a
class="flex items-center justify-center p-2 text-gray-600 hover:text-light-text-high-contrast dark:text-dark-header-text dark:hover:text-dark-text-high-contrast"
href="https://github.com/pompydev/pompy.dev/tree/master/apps/list"
href="https://git.pompy.dev/pomp/pompy.dev/src/branch/master/apps/list"
target="_blank"
>
<Icon name="fa6-brands:github" size="24" />
<Icon name="fa6-brands:git-alt" size="24" />
</a>
<ThemeController class="h-12" />
</div>