mirror of
https://github.com/TheRealOwenRees/chess-scribe-website.git
synced 2026-07-23 01:46:57 +00:00
update github url to come from config rather than env vars
This commit is contained in:
@@ -4,6 +4,7 @@ import { Image } from "@unpic/react";
|
|||||||
import { LuGithub, LuMail } from "react-icons/lu";
|
import { LuGithub, LuMail } from "react-icons/lu";
|
||||||
|
|
||||||
import CoffeeWidget from "#/components/CoffeeWidget.tsx";
|
import CoffeeWidget from "#/components/CoffeeWidget.tsx";
|
||||||
|
import { GITHUB_URL } from "#/config.ts";
|
||||||
import footerLogo from "@/assets/images/footerLogo.svg?url";
|
import footerLogo from "@/assets/images/footerLogo.svg?url";
|
||||||
|
|
||||||
export default function Footer() {
|
export default function Footer() {
|
||||||
@@ -26,7 +27,7 @@ export default function Footer() {
|
|||||||
</div>
|
</div>
|
||||||
<div className="ml-auto flex gap-2">
|
<div className="ml-auto flex gap-2">
|
||||||
<a
|
<a
|
||||||
href={import.meta.env.VITE_GITHUB_URL} // TODO ZOD
|
href={GITHUB_URL}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="text-2xl hover:text-(--neutral-content) transition-colors duration-300 ease-in-out cursor-pointer"
|
className="text-2xl hover:text-(--neutral-content) transition-colors duration-300 ease-in-out cursor-pointer"
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
export const GITHUB_URL =
|
||||||
|
"https://github.com/therealowenrees/chess-scribe-website";
|
||||||
Reference in New Issue
Block a user