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

Add Copyright Line to Footer #174

Merged
merged 2 commits into from
Nov 9, 2024
Merged
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
9 changes: 8 additions & 1 deletion components/ui/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ import { useTheme } from 'next-themes';

export const Footer = () => {
const { theme } = useTheme();
const currentYear = new Date().getFullYear();
const repoUrl = "https://github.com/rahulsainlll/git-trace/";
const issueTemplate = `${repoUrl}/issues/new?template=general_issue.yaml`;
const featureRequestTemplate = `${repoUrl}/issues/new?template=feature_request.yaml`;
const contributionGuideline = `${repoUrl}/issues/new?template=documentation_update.yaml`;
return (
<footer className="flex justify-between text-black py-4 text-center border-t p-10">
<footer>
<div className="flex justify-between text-black py-4 text-center border-t p-10">
<div className='flex flex-row items-center'>
<Image src={theme === 'dark' ? '/git4.png' : '/git3.png'} alt="Logo" width={38} height={38} />
<div className='dark:text-white'>-trace</div>
Expand All @@ -35,6 +37,11 @@ export const Footer = () => {
>
Request a Feature
</p>
</div>
<div className='flex justify-around items-center text-gray py-4 text-center border-t p-10'>
© {currentYear} git-trace. All rights reserved <br />
Made with ♥ in India
</div>
</footer>
);
}