From 9bb173e91bf780b05abdd5825b114bec3e819349 Mon Sep 17 00:00:00 2001 From: jsun969 Date: Fri, 26 Jan 2024 17:20:21 +1030 Subject: [PATCH] fix: modify year manually --- src/app/sponsors/page.tsx | 4 ++-- src/data/sponsors.ts | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/sponsors/page.tsx b/src/app/sponsors/page.tsx index 537847a8..f520e749 100644 --- a/src/app/sponsors/page.tsx +++ b/src/app/sponsors/page.tsx @@ -1,7 +1,7 @@ import Paragraph from '@/components/Paragraph'; import Sponsors from '@/components/Sponsors'; import Title from '@/components/Title'; -import type { SponsorType } from '@/data/sponsors'; +import { YEAR, type SponsorType } from '@/data/sponsors'; import Image from 'next/image'; const SPONSOR_TYPE_COLORS = { @@ -21,7 +21,7 @@ export default function SponsorsPage() { height={500} className="hidden w-20 md:block" /> - {`${new Date().getFullYear()} Sponsors`} + {`${YEAR} Sponsors`}