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

Bug: Fixed contributor css and add icon in footer for contributer successfully issue 413 #420

Merged
merged 2 commits into from
Jul 12, 2024
Merged
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
5 changes: 4 additions & 1 deletion frontend/src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { BsFilePost } from 'react-icons/bs';
import { FaHome, FaRegCopyright, FaGithub, FaEnvelope, FaInfoCircle, FaTools, FaLock, FaFileAlt, FaCookieBite } from 'react-icons/fa';
import { useTranslation } from 'react-i18next';
import logo from "../assets/favicon.png";
import { FaRegHandshake } from "react-icons/fa6";

const Footer = () => {
const { t } = useTranslation();
Expand Down Expand Up @@ -70,7 +71,9 @@ const Footer = () => {
</Link>
</li>
<li className='py-1 cursor-pointer hover:text-[#2563EB]'>
<Link to="/app/contributors">Our Contributors</Link>
<Link to="/app/contributors" className='flex items-center gap-2'>
<FaRegHandshake size={20} /> Our Contributors
</Link>
</li>
</ul>
</div>
Expand Down
9 changes: 7 additions & 2 deletions frontend/src/pages/Contributors.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React, { useEffect, useState } from 'react';
import axios from 'axios';
import bgHero from "../assets/bgHero.png";

interface Contributor {
id: number;
Expand Down Expand Up @@ -27,9 +28,13 @@ const Contributors: React.FC = () => {
}, []);

return (
<div className="bg-white dark:bg-black text-black dark:text-gray-200 min-h-screen">
<div className="-mt-7 bg-white dark:bg-[#000435] text-black dark:text-gray-200 min-h-screen" style={{
backgroundImage: `url(${bgHero})`,
backgroundSize: "cover",
backgroundPosition: "center",
}}>
<div className="container mx-auto py-8">
<h1 className="text-center text-4xl font-semibold mb-8">Contributors</h1>
<h1 className="text-center text-3xl font-semibold mb-8">🤝 Contributors</h1>
<div className="flex flex-wrap justify-center gap-8">
{contributors.map((contributor) => (
<div
Expand Down
Loading