mirror of
https://github.com/Such-Software/such.software.git
synced 2026-10-18 05:41:26 +02:00
add play and app store buttons and review vegan blog
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
import { Header } from "@/components/layout/header";
|
||||
import { MobileNav } from "@/components/layout/mobile-nav";
|
||||
import {
|
||||
StoreButtons,
|
||||
VeganIqStoreButtons,
|
||||
SuchoiceStoreButtons,
|
||||
BauhausEchoStoreButtons,
|
||||
} from "@/components/store-buttons";
|
||||
import Link from "next/link";
|
||||
import type { Metadata } from "next";
|
||||
import { notFound } from "next/navigation";
|
||||
@@ -58,7 +64,12 @@ export default async function BlogPost({ params }: Props) {
|
||||
</header>
|
||||
|
||||
<div className="prose dark:prose-invert max-w-none">
|
||||
<MDXRemote source={post.content} />
|
||||
<MDXRemote source={post.content} components={{
|
||||
StoreButtons,
|
||||
VeganIqStoreButtons,
|
||||
SuchoiceStoreButtons,
|
||||
BauhausEchoStoreButtons,
|
||||
}} />
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Header } from "@/components/layout/header";
|
||||
import { MobileNav } from "@/components/layout/mobile-nav";
|
||||
import { Card } from "@repo/ui/components/card";
|
||||
import { Button } from "@repo/ui/components/button";
|
||||
import { StoreButtons } from "@/components/store-buttons";
|
||||
import Link from "next/link";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
@@ -43,25 +43,17 @@ export default function BauhausEchoPage() {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-wrap gap-4 mb-12">
|
||||
<a href="https://bauhaus.such.software" target="_blank" rel="noopener noreferrer">
|
||||
<Button size="lg">Play on Web</Button>
|
||||
</a>
|
||||
<a href="https://apps.apple.com/us/app/bauhaus-echo/id6759010657" target="_blank" rel="noopener noreferrer">
|
||||
<Button variant="outline" size="lg">
|
||||
Download on App Store
|
||||
</Button>
|
||||
</a>
|
||||
<a href="https://play.google.com/store/apps/details?id=com.suchsoftware.bauhausecho" target="_blank" rel="noopener noreferrer">
|
||||
<Button variant="outline" size="lg">
|
||||
Get it on Google Play
|
||||
</Button>
|
||||
</a>
|
||||
<a href="https://suchsoftware.itch.io/bauhaus-echo" target="_blank" rel="noopener noreferrer">
|
||||
<Button variant="outline" size="lg">
|
||||
Buy on itch.io — $2
|
||||
</Button>
|
||||
</a>
|
||||
<div className="mb-12">
|
||||
<StoreButtons
|
||||
links={[
|
||||
{ platform: "apple", href: "https://apps.apple.com/us/app/bauhaus-echo/id6759010657" },
|
||||
{ platform: "google", href: "https://play.google.com/store/apps/details?id=com.suchsoftware.bauhausecho" },
|
||||
]}
|
||||
extraLinks={[
|
||||
{ href: "https://bauhaus.such.software", label: "Play on Web" },
|
||||
{ href: "https://suchsoftware.itch.io/bauhaus-echo", label: "itch.io — $2" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<h2 className="text-2xl font-bold mb-6">How It Works</h2>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Header } from "@/components/layout/header";
|
||||
import { MobileNav } from "@/components/layout/mobile-nav";
|
||||
import { Card } from "@repo/ui/components/card";
|
||||
import { Button } from "@repo/ui/components/button";
|
||||
import { StoreButtons } from "@/components/store-buttons";
|
||||
import Link from "next/link";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
@@ -43,17 +43,11 @@ export default function SuchoicePage() {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-wrap gap-4 mb-12">
|
||||
<a href="https://play.google.com/store/apps/details?id=com.suchsoftware.suchoice" target="_blank" rel="noopener noreferrer">
|
||||
<Button variant="outline" size="lg">
|
||||
Google Play
|
||||
</Button>
|
||||
</a>
|
||||
<a href="https://apps.apple.com/us/app/suchoice/id6759626658" target="_blank" rel="noopener noreferrer">
|
||||
<Button variant="outline" size="lg">
|
||||
App Store
|
||||
</Button>
|
||||
</a>
|
||||
<div className="mb-12">
|
||||
<StoreButtons links={[
|
||||
{ platform: "google", href: "https://play.google.com/store/apps/details?id=com.suchsoftware.suchoice" },
|
||||
{ platform: "apple", href: "https://apps.apple.com/us/app/suchoice/id6759626658" },
|
||||
]} />
|
||||
</div>
|
||||
|
||||
<h2 className="text-2xl font-bold mb-6">Features</h2>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Header } from "@/components/layout/header";
|
||||
import { MobileNav } from "@/components/layout/mobile-nav";
|
||||
import { Card } from "@repo/ui/components/card";
|
||||
import { Button } from "@repo/ui/components/button";
|
||||
import { StoreButtons } from "@/components/store-buttons";
|
||||
import Link from "next/link";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
@@ -45,17 +45,11 @@ export default function VeganIqPage() {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-wrap gap-4 mb-12">
|
||||
<a href="https://play.google.com/store/apps/details?id=com.veganiq.vegan_iq" target="_blank" rel="noopener noreferrer">
|
||||
<Button variant="outline" size="lg">
|
||||
Google Play
|
||||
</Button>
|
||||
</a>
|
||||
<a href="https://apps.apple.com/us/app/vegan-iq-plant-based-trivia/id6761139580" target="_blank" rel="noopener noreferrer">
|
||||
<Button variant="outline" size="lg">
|
||||
App Store
|
||||
</Button>
|
||||
</a>
|
||||
<div className="mb-12">
|
||||
<StoreButtons links={[
|
||||
{ platform: "google", href: "https://play.google.com/store/apps/details?id=com.veganiq.vegan_iq" },
|
||||
{ platform: "apple", href: "https://apps.apple.com/us/app/vegan-iq-plant-based-trivia/id6761139580" },
|
||||
]} />
|
||||
</div>
|
||||
|
||||
<h2 className="text-2xl font-bold mb-6">Features</h2>
|
||||
|
||||
Reference in New Issue
Block a user