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

339 : updated PR #361

Open
wants to merge 2 commits 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
14 changes: 11 additions & 3 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Link from 'next/link'
import React from 'react'

import { Container } from '@/components/Container'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
Expand All @@ -17,6 +18,7 @@ function NavLink({ href, children }) {
}

export function Footer() {
const currentYear = new Date().getFullYear();
return (
<footer className="mt-16">
<Container.Outer>
Expand All @@ -29,9 +31,15 @@ export function Footer() {
<NavLink href="/ideas">Ideas</NavLink>
<NavLink href="/apply">Apply</NavLink>
</div>
<p className="text-sm text-zinc-400 dark:text-zinc-500 font-mono">
&copy; 2016-2023 AOSSIE. All rights reserved.
</p>



<p className="text-sm text-zinc-400 dark:text-zinc-500 font-mono">
&copy; 2016-{currentYear} AOSSIE. All rights reserved.
</p>



<div className="flex gap-6">
<Link aria-label="Contact by Mail" className=' text-zinc-400 hover:text-[#00843D] dark:text-zinc-400 dark:hover:text-yellow-400 transition' href='mailto:[email protected]'>
<FontAwesomeIcon icon={faEnvelope} size='xl' />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ideas/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function Ideas({ articles }) {
</div>
<div className="mt-16 text-center">
<Link
className="group order-2 mx-auto items-center overflow-hidden rounded-lg bg-zinc-800 px-8 py-3 text-white focus:outline-none dark:bg-white dark:text-black"
className="group order-2 mx-auto items-center overflow-hidden rounded-lg bg-zinc-800 px-8 py-3 text-white focus:outline-none dark:bg-white dark:text-black transition-all duration-300 hover:bg-gradient-to-r hover:from-emerald-600 hover:to-green-500 hover:shadow-lg hover:scale-105 dark:hover:bg-gradient-to-l dark:hover:from-lime-400 dark:hover:to-emerald-600"
href="/ideas/2023"
>
<span className="text-center font-mono font-semibold">
Expand Down