Skip to content
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
60 changes: 58 additions & 2 deletions src/pages/home.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,66 @@
import "../styles/Home.css";
import { motion } from "framer-motion";
import UpcomingEvents from "../components/UpcomingEvents";
import {
FaTwitterSquare,
FaInstagramSquare,
FaFacebookSquare,
FaLinkedin,
FaYoutubeSquare
} from "react-icons/fa";

const Footer: React.FC = () => (
<footer className="bg-gray-700 text-white text-center py-4">
&copy; 2024 Carnegie Mellon University In Qatar. All rights reserved.
<footer className="bg-gray-700 text-white py-8">
<div className="container mx-auto px-8">
<div className="footer-sections grid grid-cols-1 md:grid-cols-2 gap-8">
<div className="mb-4">
<h2 className="text-xl font-bold mb-2">Carnegie Mellon University in Qatar</h2>
<p>Computer Science Department</p>
<p>Education City</p>
<p>PO Box 24866</p>
<p>Doha, Qatar</p>
</div>
<nav aria-label="Info Menu" className="mb-4 pt-4">
<ul className="menu space-y-2">
<li className="menu-item">
<a href="https://www.qatar.cmu.edu/home-3/contact/" className="hover:underline">Contact</a>
</li>
<li className="menu-item">
<a href="https://www.qatar.cmu.edu/about-us/media-resources/" className="hover:underline">Press Requests</a>
</li>
<li className="menu-item">
<a href="https://cmu.edu/computing/dao/index.html" className="hover:underline">Accessibility</a>
</li>
</ul>
</nav>
</div>
<div className="footer-bottom flex justify-between items-center mt-8">
<div className="footer-social-icons flex space-x-4">
<a aria-label="twitter" target="_blank" href="https://x.com/carnegiemellonq" className="text-2xl text-white hover:text-gray-400">
<FaTwitterSquare />
</a>
<a aria-label="facebook" target="_blank" href="https://www.facebook.com/CarnegieMellonQ/" className="text-2xl text-white hover:text-gray-400">
<FaFacebookSquare />
</a>
<a aria-label="youtube" target="_blank" href="https://www.youtube.com/user/CarnegieMellonQatar" className="text-2xl text-white hover:text-gray-400">
<FaYoutubeSquare />
</a>
<a aria-label="instagram" target="_blank" href="https://www.instagram.com/scsatcmuq/" className="text-2xl text-white hover:text-gray-400">
<FaInstagramSquare />
</a>
<a aria-label="linkedin" target="_blank" href="https://www.linkedin.com/school/carnegie-mellon-university-in-qatar/" className="text-2xl text-white hover:text-gray-400">
<FaLinkedin />
</a>
</div>
<a href="https://www.cmu.edu" style={{ borderBottom: "none" }}>
<img
style={{ maxWidth: "250px" }}
src="/public/images/cs-header.png"
alt="Carnegie Mellon University"
/>
</a>
</div>
</div>
</footer>
);

Expand Down
File renamed without changes.