Skip to content

Commit

Permalink
fix(footer): make copyright year dynamic (#20)
Browse files Browse the repository at this point in the history
* fix(footer): make copyright year dynamic

* build(package): add turbo mode to next
  • Loading branch information
frgfm committed Feb 18, 2024
1 parent a1e30ea commit c6aedf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
},
"bugs": {
"url": "https://github.com/quack-ai/quack-ai.github.io/issues",
"email": "support@quack-ai.com"
"email": "support@quackai.com"
},
"homepage": "https://quackai.com",
"scripts": {
"dev": "next dev",
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint --ext .tsx",
Expand Down
3 changes: 2 additions & 1 deletion src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import { FaDiscord, FaGithub, FaTwitter } from "react-icons/fa";
import styles from "../styles/Footer.module.css";

const Footer: FC = () => {
const currentYear = new Date().getFullYear();
return (
<footer className={styles.footerContainer}>
<p>© 2023 Quack Labs, Inc.</p>
<p>© {currentYear} Quack Labs, Inc.</p>
<div className={styles.socialLinks}>
<a
href="https://discord.gg/E9rY3bVCWd"
Expand Down

0 comments on commit c6aedf2

Please sign in to comment.