mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-23 11:46:08 -05:00
clean up remaining NEXT_PUBLIC_ environment variables
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { env } from "../../lib/env";
|
||||
import clsx from "clsx";
|
||||
import { HeartIcon } from "lucide-react";
|
||||
import Link from "../Link";
|
||||
import * as config from "../../lib/config";
|
||||
import { RELEASE_TIMESTAMP } from "../../lib/config/constants";
|
||||
import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
import styles from "./Footer.module.css";
|
||||
@@ -22,7 +22,7 @@ const Footer = ({ className, ...rest }: FooterProps) => {
|
||||
<Link href="/previously" title="Previously on..." plain className={styles.link}>
|
||||
{config.copyrightYearStart}
|
||||
</Link>{" "}
|
||||
– {new Date(RELEASE_TIMESTAMP).getUTCFullYear()}.
|
||||
– {new Date().getUTCFullYear()}.
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@@ -53,7 +53,7 @@ const Footer = ({ className, ...rest }: FooterProps) => {
|
||||
</Link>
|
||||
.{" "}
|
||||
<Link
|
||||
href={`https://github.com/${config.githubRepo}`}
|
||||
href={`https://github.com/${env.NEXT_PUBLIC_GITHUB_REPO}`}
|
||||
title="View Source on GitHub"
|
||||
plain
|
||||
className={clsx(styles.link, styles.underline)}
|
||||
|
||||
Reference in New Issue
Block a user