Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Make copyright date dynamic #335

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

.vscode
25 changes: 20 additions & 5 deletions app/components/Footer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use client'
"use client";

import { Box, Text, Flex, Link, Image } from "@chakra-ui/react";
import React from "react";
Expand Down Expand Up @@ -32,7 +32,12 @@ const Footer = () => {
gap={{ base: "2em", sm: "2em", md: "2em", lg: "10em", xl: "10em" }}
>
<Flex flexDirection="column" gap="1.5rem">
<Image src={logo.src} width="117px" height="3rem" alt="made in nigeria" />
<Image
src={logo.src}
width="117px"
height="3rem"
alt="made in nigeria"
/>

<Text color="#949796" w={380} fontSize="sm" lineHeight="1.75rem">
A curation of awesome open source tools and projects built by
Expand Down Expand Up @@ -92,8 +97,18 @@ const Footer = () => {
>
Community
</Text>
<Link href="https://github.com/acekyd/made-in-nigeria/graphs/contributors" isExternal>Contributors</Link>
<Link href="https://github.com/acekyd/made-in-nigeria/blob/master/contributing.md" isExternal>Make a Submission</Link>
<Link
href="https://github.com/acekyd/made-in-nigeria/graphs/contributors"
isExternal
>
Contributors
</Link>
<Link
href="https://github.com/acekyd/made-in-nigeria/blob/master/contributing.md"
isExternal
>
Make a Submission
</Link>
</Flex>

<Flex
Expand All @@ -117,7 +132,7 @@ const Footer = () => {

<Flex mt="5rem" fontSize="sm" flexDirection="column">
<Text color="#949796" mt={8} fontSize="sm">
© 2023 Made in Nigeria
© {new Date().getFullYear()} Made in Nigeria
</Text>
</Flex>
</Flex>
Expand Down