Skip to content

Commit

Permalink
Fixes #242: Remove latest news section try 2 (#248)
Browse files Browse the repository at this point in the history
* Fixes #242: Remove latest news section try 2

Signed-off-by: Janos Bonic <[email protected]>

* Remove extra imports/types used in removed sections

Signed-off-by: Christian Mesh <[email protected]>

---------

Signed-off-by: Janos Bonic <[email protected]>
Signed-off-by: Christian Mesh <[email protected]>
Co-authored-by: Christian Mesh <[email protected]>
  • Loading branch information
Janos and cam72cam authored Jan 10, 2024
1 parent fb9407b commit 0a3de45
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/components/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,16 @@ import Hero from "../Hero";
import Goals from "../Goals";
import Supporters from "../Supporters";
import FAQ from "../FAQ";
import HowToSupport from "../HowToSupport";
import HowToContribute from "../HowToContribute";
import LatestNews, { RecentPost } from "../LatestNews";

type HomeProps = {
recentPosts: RecentPost[];
};

export default function Home({ recentPosts }: HomeProps) {
export default function Home() {
return (
<Layout description="The open source infrastructure as code tool.">
<Hero />
<Goals />
<HowToContribute />
<FAQ />
<Supporters />
<HowToSupport />
<LatestNews recentPosts={recentPosts} />
</Layout>
);
}

0 comments on commit 0a3de45

Please sign in to comment.