diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2022-11-18 19:39:39 -0500 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2022-11-18 19:39:39 -0500 |
| commit | fec931dd80d81f28637bc0134b8e22e6156fc70a (patch) | |
| tree | 0c3980489a6899d6b86eda22e6ed8d108c279a4a /src | |
| parent | 2d2863c13f8b7a6382b27ec05f0455a81e720f37 (diff) | |
| download | submelon.dev-fec931dd80d81f28637bc0134b8e22e6156fc70a.tar.gz submelon.dev-fec931dd80d81f28637bc0134b8e22e6156fc70a.tar.bz2 submelon.dev-fec931dd80d81f28637bc0134b8e22e6156fc70a.zip | |
move timestamp to package version
Diffstat (limited to 'src')
| -rw-r--r-- | src/pages/index.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pages/index.tsx b/src/pages/index.tsx index b9bcb07..7d92d74 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -5,8 +5,7 @@ import { FaGithub, FaMastodon } from "react-icons/fa"; import BlockLink from "../components/BlockLink"; import Footer from "../components/Footer"; import { BlockBody, BlockHeader, Content } from "../styles"; - -const TIMESTAMP = "1668805149"; +import { version } from "../../package.json"; // markup const IndexPage = (): React.ReactElement => { @@ -61,7 +60,7 @@ const IndexPage = (): React.ReactElement => { </BlockLink> </Content> - <Footer timestamp={TIMESTAMP} /> + <Footer timestamp={version} /> </main> ); }; |
