-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: updated twitter icon and add hover effects to footer links (#225)
* fix: updated twitter icon and add hover effects to footer links * fix: deleted old tweeter logo from repo --------- Co-authored-by: Ace <40604284+AceTheCreator@users.noreply.github.com>
- Loading branch information
1 parent
aa0a693
commit 84c9b07
Showing
3 changed files
with
61 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,66 @@ | ||
import React from 'react' | ||
import React from "react"; | ||
|
||
function Footer() { | ||
const socials = [ | ||
{ | ||
name: "Github", | ||
href: "https://github.com/asyncapi", | ||
imgUrl: "/img/Github.png", | ||
}, | ||
{ | ||
name: "Linkedin", | ||
href: "https://www.linkedin.com/company/asyncapi/", | ||
imgUrl: "/img/Linkedln.png", | ||
}, | ||
{ | ||
name: "Tweeter(X)", | ||
href: "https://twitter.com/asyncapispec", | ||
imgUrl: "/img/twitter_new.png", | ||
}, | ||
]; | ||
return ( | ||
<div className='mt-[160px] w-full flex justify-center border border-t-[#333] container py-[96px]'> | ||
<div className='w-[1131px]'> | ||
<img src='/img/logo.png' className='w-[150px]' /> | ||
<div className='mt-[82px] flex items-center justify-between sm:flex-col sm:items-start'> | ||
<div className='mt-2 text-[14px] text-gray py-4 underline'> | ||
<a | ||
href='https://github.com/asyncapi/.github/blob/master/CODE_OF_CONDUCT.md' | ||
target='_blank' | ||
rel='noreferrer' | ||
> | ||
Code of Conduct | ||
</a> | ||
</div> | ||
<div className='flex justify-between items-center w-[284px] sm:mt-6'> | ||
<div className='text-[16px] text-white'> | ||
<span>Follow us</span> | ||
</div> | ||
<a | ||
href='https://github.com/asyncapi' | ||
target='_blank' | ||
rel='noreferrer' | ||
className='w-[52px] h-[52px] rounded-lg border border-[#556061] flex items-center justify-center' | ||
> | ||
<img src='/img/Github.png' /> | ||
</a> | ||
<a | ||
target='_blank' | ||
href='https://www.linkedin.com/company/asyncapi/' | ||
className='w-[52px] h-[52px] rounded-lg border border-[#556061] flex items-center justify-center' rel="noreferrer" | ||
> | ||
<img src='/img/Linkedln.png' /> | ||
</a> | ||
<a | ||
href='https://twitter.com/asyncapispec' | ||
target='_blank' | ||
className='w-[52px] h-[52px] rounded-lg border border-[#556061] flex items-center justify-center' rel="noreferrer" | ||
> | ||
<img src='/img/Twitter.png' /> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
<div className="mt-[160px] w-full flex justify-center border border-t-[#333] container py-[96px]"> | ||
<div className="w-[1131px]"> | ||
<img src="/img/logo.png" className="w-[150px]" /> | ||
<div className="mt-[82px] flex items-center justify-between sm:flex-col sm:items-start"> | ||
<div className="mt-2 text-[14px] text-gray py-4 underline"> | ||
<a | ||
href="https://github.com/asyncapi/.github/blob/master/CODE_OF_CONDUCT.md" | ||
target="_blank" | ||
rel="noreferrer" | ||
className="hover:text-sky-500 duration-200 ease-in-out" | ||
> | ||
Code of Conduct | ||
</a> | ||
</div> | ||
<div className="flex flex-col justify-between items-start gap-2 w-[284px] sm:mt-6"> | ||
<div className="text-[16px] text-slate-300"> | ||
<span>Follow us</span> | ||
</div> | ||
<div className="flex justify-between items-center gap-3"> | ||
{socials.map((social, index) => { | ||
return ( | ||
<a | ||
key={index} | ||
href={social.href} | ||
target="_blank" | ||
rel="noreferrer" | ||
className="w-12 h-12 rounded-lg border-[1.5px] border-[#556061] flex items-center justify-center hover:border-[#AD20E2] duration-150 ease-in-out" | ||
> | ||
<img | ||
src={social.imgUrl} | ||
alt={social.name} | ||
className="w-8 h-8" | ||
/> | ||
</a> | ||
); | ||
})} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default Footer | ||
export default Footer; |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.