Skip to content

Commit

Permalink
Fix homies page (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshHyde9 authored Aug 27, 2024
1 parent 10a4a6d commit 8813b03
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 4 deletions.
6 changes: 6 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ const nextConfig = {
port: "",
pathname: "/**",
},
{
protocol: "https",
hostname: "cook-around-find-out-v2.vercel.app",
port: "",
pathname: "/**",
},
],
},
};
Expand Down
7 changes: 5 additions & 2 deletions src/app/homies/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ export const metadata = createMeta({
export default function Component() {
return (
<div className="from-background to-muted flex min-h-screen flex-col items-center bg-gradient-to-b p-1 text-center">
<a href="/" className="py-8 text-2xl text-blue-400">
<a
href="/"
className="my-8 border-b border-[var(--background-start-rgb)] bg-gradient-to-r from-pink-400 to-orange-400 bg-clip-text text-2xl text-transparent duration-150 hover:border-black dark:border-black dark:from-pink-300 dark:to-orange-300 dark:hover:border-white"
>
Back to Product Hunt with ZERO AI Slop™
</a>
<h1 className="text-primary pb-8 text-6xl font-extrabold">The Homies Projects</h1>

<div className="flex flex-col gap-4 overflow-hidden px-2 md:gap-8">
<div className="flex flex-col gap-4 overflow-hidden px-2 text-left md:gap-8">
{PROJECTS.map((item, idx) => (
<>
{idx !== 0 && (
Expand Down
8 changes: 6 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,13 @@ export default async function Page() {
</>
))}
</div>
<div className="flex flex-col items-center pt-8">
<div className="flex flex-col items-center pt-8 text-center">
<p className="text-2xl">Now that you viewed all the non AI projects</p>
<a className="pt-2 text-xl text-blue-400" href="/homies" rel="noopener noreferrer">
<a
className="border-b border-[var(--background-start-rgb)] bg-gradient-to-r from-pink-400 to-orange-400 bg-clip-text pt-2 text-xl text-transparent duration-150 hover:border-black dark:border-black dark:from-pink-300 dark:to-orange-300 dark:hover:border-white"
href="/homies"
rel="noopener noreferrer"
>
Click here to view the Homies Projects
</a>
</div>
Expand Down
33 changes: 33 additions & 0 deletions src/app/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,37 @@ export const PROJECTS: ProductPost[] = [
description:
"share your spotify playlists with friends and family so that they know you listen to good music",
},
{
id: "1",
hasAi: false,
topics: [
{
name: "Astro",
description: "",
id: "1",
postId: "1",
},
{
name: "Markdown",
description: "",
id: "1",
postId: "1",
},
{
name: "Food",
description: "",
id: "1",
postId: "1",
},
],
deleted: false,
tagline: "Recipes made by an Australian chef",
createdAt: new Date(),
votesCount: 420,
thumbnailUrl: "https://cook-around-find-out-v2.vercel.app/logo-1000.jpg",
name: "Cook Around and Find Out",
url: "https://cook-around-find-out-v2.vercel.app/",
description:
"Published recipes that I have piss-farted around with or found online and changed to my liking",
},
];

0 comments on commit 8813b03

Please sign in to comment.