Skip to content

Commit

Permalink
Revert "(chore) update AA image"
Browse files Browse the repository at this point in the history
This reverts commit 2f30138.
  • Loading branch information
Weile-Zheng committed Sep 9, 2024
1 parent c17ed4f commit 33a079e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 18 deletions.
5 changes: 0 additions & 5 deletions config/companies.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@
"name": "Rockstar Games",
"link": "https://www.rockstargames.com/",
"image": "rockstar-games.png"
},
{
"name": "American Airlines",
"link": "https://www.aa.com",
"image": "american_airlines.jpeg"
}
]
}
Expand Down
5 changes: 5 additions & 0 deletions config/sponsors.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"name": "Discover",
"link": "https://www.discover.com/",
"image": "discover.png"
},
{
"name": "Wolverine Trading",
"link": "https://www.wolve.com/",
"image": "wolve.png"
}
]
},
Expand Down
16 changes: 3 additions & 13 deletions pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@ import Link from "next/link";
import { useRouter } from "next/router";
import { useState } from "react";

export default function Home({
companies,
sponsors,
projects,
timeline,
communityImages,
}) {
export default function Home({ companies, sponsors, projects, timeline, communityImages }) {
sponsors[0].tier = "MDST is made possible by our sponsors";
const router = useRouter();
const basePath = router.basePath;
Expand Down Expand Up @@ -130,17 +124,15 @@ export default function Home({
<CommunityImages basePath={basePath} images={communityImages} />
<div className="container mx-auto px-2 mt-8">
<h2 className="text-3xl text-center">
{/** This Sponsor section in our home page only includes big sponsors(large logos)*/}
MDST is proudly supported by our sponsors
</h2>
<SponsorSection basePath={basePath} group={sponsors[0]} />
</div>
<div className="container mx-auto px-2 mt-8">
<h2 className="text-3xl text-center">
{/** Companies worked with are configed by config/companies.json */}
Companies We Worked With:
</h2>
<CompanySection basePath={basePath} group={companies[0]} />
<CompanySection basePath={basePath} group={companies[0]}/>
</div>
</Layout>
);
Expand Down Expand Up @@ -238,7 +230,5 @@ export async function getStaticProps() {
const timeline = loadStaticData("timeline.json");
const communityImages = loadStaticData("communityImages.json");

return {
props: { companies, sponsors, projects, timeline, communityImages },
};
return { props: { companies, sponsors, projects, timeline, communityImages } };
}
Binary file removed public/images/worked-with/american_airlines.jpeg
Binary file not shown.

0 comments on commit 33a079e

Please sign in to comment.