mirror of
https://github.com/PCSX2/pcsx2-net-www.git
synced 2026-01-31 01:15:16 +01:00
homepage: only show blog posts (#468)
having a split blog post/progress report only makes it more confusing to new users when all our latest "progress reports" are blog posts.
This commit is contained in:
@@ -208,16 +208,6 @@ const config = {
|
||||
to: "/blog",
|
||||
label: "Blog",
|
||||
position: "left",
|
||||
items: [
|
||||
{
|
||||
label: "Progress Reports",
|
||||
to: "/blog/tags/progress-report",
|
||||
},
|
||||
{
|
||||
label: "Developer Blogs",
|
||||
to: "/blog/tags/devblog",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
to: "https://github.com/sponsors/PCSX2",
|
||||
|
||||
@@ -40,7 +40,6 @@ import {
|
||||
latestProgressReport,
|
||||
latestBlog,
|
||||
previousBlog,
|
||||
previousProgressReport,
|
||||
} from "../data/latestBlogs";
|
||||
|
||||
import useIsBrowser from "@docusaurus/useIsBrowser";
|
||||
@@ -282,81 +281,6 @@ export default function Home() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Recent Progress Reports Section */}
|
||||
<div className="w-full px-8 md:px-20 mt-8 relative">
|
||||
<div className="flex flex-col">
|
||||
<h1 className={`${StyledTitle} mb-0`}>Recent Progress Reports</h1>
|
||||
<p className={`${StyledSubtitle}`}>
|
||||
Stay up to date on the latest improvements and fixes on the
|
||||
project.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 mt-8">
|
||||
{/* Latest Progress Report */}
|
||||
<div className="flex justify-center">
|
||||
<a href={useBaseUrl(latestProgressReport.url)}>
|
||||
<Card
|
||||
radius={"md"}
|
||||
isFooterBlurred
|
||||
className="w-full h-[300px] col-span-12 sm:col-span-7"
|
||||
style={{ all: "revert-layer" }}
|
||||
>
|
||||
<Image
|
||||
removeWrapper
|
||||
className="z-0 w-full h-full object-contain"
|
||||
src={latestProgressReport.img}
|
||||
alt="Latest progress report image"
|
||||
/>
|
||||
<CardFooter className="absolute bg-black/40 bottom-0 z-10 border-t-1 border-default-600 dark:border-default-100">
|
||||
<div className="flex flex-grow gap-2 items-center">
|
||||
<div className="flex flex-col">
|
||||
<h2 className="text-base uppercase font-bold mb-0 text-white">
|
||||
Latest Progress Report
|
||||
</h2>
|
||||
<p className="text-sm text-white/70">
|
||||
{latestProgressReport.title}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</CardFooter>
|
||||
</Card>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{/* Previous Progress Report */}
|
||||
<div className="flex justify-center">
|
||||
<a href={useBaseUrl(previousProgressReport.url)}>
|
||||
<Card
|
||||
radius={"md"}
|
||||
isFooterBlurred
|
||||
className="w-full h-[300px] col-span-12 sm:col-span-7"
|
||||
style={{ all: "revert-layer" }}
|
||||
>
|
||||
<Image
|
||||
removeWrapper
|
||||
className="z-0 w-full h-full object-contain"
|
||||
src={previousProgressReport.img}
|
||||
alt="Previous progress report image"
|
||||
/>
|
||||
<CardFooter className="absolute bg-black/40 bottom-0 z-10 border-t-1 border-default-600 dark:border-default-100">
|
||||
<div className="flex flex-grow gap-2 items-center">
|
||||
<div className="flex flex-col">
|
||||
<h2 className="text-base uppercase font-bold mb-0 text-white">
|
||||
Previous Progress Report
|
||||
</h2>
|
||||
<p className="text-sm text-white/70">
|
||||
{previousProgressReport.title}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</CardFooter>
|
||||
</Card>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* About the Project Section */}
|
||||
<div className="w-full px-8 md:px-20 mt-20 relative">
|
||||
<div className="flex flex-col">
|
||||
|
||||
Reference in New Issue
Block a user