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

Fixes #242: Remove latest news section try 2 #248

Merged
merged 2 commits into from
Jan 10, 2024
Merged
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
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>
);
}
Loading