Skip to content

Feature/uni 274 sponsor logos #283

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

Merged
merged 6 commits into from
May 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
24 changes: 23 additions & 1 deletion frontend/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import Image from "next/image";
import LandingPageContent from "@/components/LandingPageContent/LandingPageContent";
import navbar from "@/assets/navbar.svg";
import JaneStreetLogo from "@/assets/jane-street-logo.svg";
import TikTokLogo from "@/assets/tiktok-logo.svg";
import { Metadata } from "next";
import { ItemList, WithContext } from "schema-dts";
import { get } from "@/utils/request";
Expand All @@ -15,7 +17,7 @@ export async function generateMetadata(): Promise<Metadata> {

export default async function Home() {
const { courses: initialCourses } = (await get(
"/courses?offset=0",
"/courses?offset=0"
)) as Courses;

const metaLD: WithContext<ItemList> = {
Expand Down Expand Up @@ -74,6 +76,26 @@ export default async function Home() {
<p className="justify-center font-semibold text-base sm:text-xs">
Your one-stop shop for UNSW course and elective reviews.
</p>
{/* Sponsors Section */}
<p className="my-4 sm:text-xs sm:my-1">Proudly sponsored by</p>
<div className="flex flex-row justify-evenly items-center bg-gray-100 rounded-md h-16 py-10 sm:py-5">
<div className="w-40 h-32 relative items-center md:w-36 sm:w-24">
<Image
src={JaneStreetLogo}
alt="Jane Street Logo"
layout="fill"
objectFit="contain"
/>
</div>
<div className="w-32 h-32 relative items-center md:w-28 sm:w-16">
<Image
src={TikTokLogo}
alt="TikTok Logo"
layout="fill"
objectFit="contain"
/>
</div>
</div>
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions frontend/src/assets/jane-street-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions frontend/src/assets/tiktok-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading