Skip to content

Commit

Permalink
Added producthunt review link
Browse files Browse the repository at this point in the history
  • Loading branch information
bring-shrubbery committed Jul 30, 2024
1 parent 747f2cb commit 8b83d6d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/web/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { ExamplesSectionDefaultSizeExample } from "./sections/ExamplesSectionDef
import { FeaturesSection } from "./sections/FeaturesSection";
import { LicenseSection } from "./sections/LicenseSection";
import { LinksSection } from "./sections/LinksSection";
import { ReviewsSection } from "./sections/ReviewsSection";
import { SquircleDemoSection } from "./sections/SquircleDemoSection";
import { UsageSection } from "./sections/UsageSection";
import { UsageSectionReactContent } from "./sections/UsageSectionReactContent";
Expand All @@ -25,6 +26,7 @@ export default function Page() {
/>
{/* <HowItWorksSection /> */}
<LicenseSection />
<ReviewsSection />
<LinksSection />
</>
);
Expand Down
23 changes: 23 additions & 0 deletions apps/web/app/sections/ReviewsSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import Link from "next/link";
import { SITECONFIG } from "@/lib/siteconfig";

export const ReviewsSection = () => {
return (
<div className="container mx-auto mb-36 w-fit">
<h2 className="mx-auto mb-4 w-fit text-2xl font-semibold">
{"Reviews 🎉"}
</h2>

<span className="mx-auto">
Like this project? Leave review on{" "}
<Link
href={SITECONFIG.productHuntReviewLink}
className="font-medium text-blue-600 hover:text-blue-400"
>
Product Hunt
</Link>
.
</span>
</div>
);
};
2 changes: 2 additions & 0 deletions apps/web/lib/siteconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ export const SITECONFIG = {
licenseLink:
"https://github.com/bring-shrubbery/squircle-js/blob/master/LICENSE",
antoniGithubLink: "https://github.com/bring-shrubbery",
productHuntReviewLink:
"https://www.producthunt.com/products/squirclejs/reviews/new",
};

export type SiteConfig = typeof SITECONFIG;

0 comments on commit 8b83d6d

Please sign in to comment.