diff --git a/src/components/Intro/index.tsx b/src/components/Intro/index.tsx index 9d82efd..0ae1a63 100644 --- a/src/components/Intro/index.tsx +++ b/src/components/Intro/index.tsx @@ -1,9 +1,8 @@ -import React, {ReactNode} from 'react'; +import React, { ReactNode } from 'react'; import Link from '@docusaurus/Link'; import styles from './styles.module.css'; -const currentYear = new Date().getFullYear(); -const yearsSince = currentYear - 1998; +const yearsSince = new Date(Date.now() - new Date(1998, 5, 22).getTime()).getUTCFullYear() - 1970 export default function Intro(): ReactNode { return (