Skip to content
Merged
Show file tree
Hide file tree
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
134 changes: 65 additions & 69 deletions apps/web/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,87 +1,83 @@
import Image from 'next/image';
import Link from 'next/link';
import { Footer as ProfullstackFooter } from '@profullstack/footer/react';

export default function Footer() {
return (
<footer className="bg-gray-900 text-gray-400 mt-20">
<div className="max-w-7xl mx-auto px-4 py-14">
<div className="grid grid-cols-2 md:grid-cols-4 gap-10 mb-12">
<div className="col-span-2 md:col-span-1">
<Link href="/" className="inline-block">
<Image src="/logo.svg" alt="c0upons" width={104} height={22} unoptimized className="h-[22px] w-auto" />
</Link>
<p className="mt-3 text-sm leading-relaxed">
Community-powered coupon codes and deals. Save more with codes shared by real people.
</p>
<div className="mt-4 flex gap-3">
<>
<footer className="bg-gray-900 text-gray-400 mt-20">
<div className="max-w-7xl mx-auto px-4 py-14">
<div className="grid grid-cols-2 md:grid-cols-4 gap-10">
<div className="col-span-2 md:col-span-1">
<Link href="/" className="inline-block">
<Image src="/logo.svg" alt="c0upons" width={104} height={22} unoptimized className="h-[22px] w-auto" />
</Link>
<p className="mt-3 text-sm leading-relaxed">
Community-powered coupon codes and deals. Save more with codes shared by real people.
</p>
<div className="mt-4 flex gap-3">
<a
href="https://github.com/profullstack/c0upons"
target="_blank"
rel="noopener noreferrer"
className="text-gray-500 hover:text-white transition-colors"
aria-label="GitHub"
>
<svg className="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" />
</svg>
</a>
</div>
</div>

<div className="flex flex-col gap-3 text-sm">
<span className="font-semibold text-gray-200 text-xs uppercase tracking-widest">Browse</span>
<Link href="/" className="hover:text-white transition-colors">Home</Link>
<Link href="/stores" className="hover:text-white transition-colors">All Stores</Link>
<a href="/bbs" className="hover:text-white transition-colors">Forums</a>
<Link href="/search" className="hover:text-white transition-colors">Search</Link>
<Link href="/submit" className="hover:text-white transition-colors">Submit a Code</Link>
<Link href="/bounties" className="hover:text-white transition-colors">Bounties</Link>
<Link href="/blog" className="hover:text-white transition-colors">Blog</Link>
<Link href="/about" className="hover:text-white transition-colors">About</Link>
<Link href="/team" className="hover:text-white transition-colors">Team</Link>
<Link href="/privacy" className="hover:text-white transition-colors">Privacy</Link>
<Link href="/terms" className="hover:text-white transition-colors">Terms</Link>
</div>

<div className="flex flex-col gap-3 text-sm">
<span className="font-semibold text-gray-200 text-xs uppercase tracking-widest">Developers</span>
<Link href="/blog" className="hover:text-white transition-colors">Blog</Link>
<Link href="/blog/rss.xml" className="hover:text-white transition-colors">RSS Feed</Link>
<Link href="/docs" className="hover:text-white transition-colors">Documentation</Link>
<Link href="/docs#cli" className="hover:text-white transition-colors">CLI</Link>
<Link href="/docs#api" className="hover:text-white transition-colors">REST API</Link>
<a
href="https://github.com/profullstack/c0upons"
target="_blank"
rel="noopener noreferrer"
className="text-gray-500 hover:text-white transition-colors"
aria-label="GitHub"
className="hover:text-white transition-colors"
>
<svg className="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" />
</svg>
GitHub ↗
</a>
</div>
</div>

<div className="flex flex-col gap-3 text-sm">
<span className="font-semibold text-gray-200 text-xs uppercase tracking-widest">Browse</span>
<Link href="/" className="hover:text-white transition-colors">Home</Link>
<Link href="/stores" className="hover:text-white transition-colors">All Stores</Link>
<a href="/bbs" className="hover:text-white transition-colors">Forums</a>
<Link href="/search" className="hover:text-white transition-colors">Search</Link>
<Link href="/submit" className="hover:text-white transition-colors">Submit a Code</Link>
<Link href="/bounties" className="hover:text-white transition-colors">Bounties</Link>
<Link href="/blog" className="hover:text-white transition-colors">Blog</Link>
<Link href="/about" className="hover:text-white transition-colors">About</Link>
<Link href="/team" className="hover:text-white transition-colors">Team</Link>
<Link href="/privacy" className="hover:text-white transition-colors">Privacy</Link>
<Link href="/terms" className="hover:text-white transition-colors">Terms</Link>
</div>

<div className="flex flex-col gap-3 text-sm">
<span className="font-semibold text-gray-200 text-xs uppercase tracking-widest">Developers</span>
<Link href="/blog" className="hover:text-white transition-colors">Blog</Link>
<Link href="/blog/rss.xml" className="hover:text-white transition-colors">RSS Feed</Link>
<Link href="/docs" className="hover:text-white transition-colors">Documentation</Link>
<Link href="/docs#cli" className="hover:text-white transition-colors">CLI</Link>
<Link href="/docs#api" className="hover:text-white transition-colors">REST API</Link>
<a
href="https://github.com/profullstack/c0upons"
target="_blank"
rel="noopener noreferrer"
className="hover:text-white transition-colors"
>
GitHub ↗
</a>
</div>

<div className="flex flex-col gap-3 text-sm">
<span className="font-semibold text-gray-200 text-xs uppercase tracking-widest">Install CLI</span>
<code className="text-xs bg-gray-800 text-orange-400 rounded px-3 py-2 font-mono leading-relaxed block">
curl -fsSL https://c0upons.com/install.sh | sh
</code>
<Link href="/docs#cli" className="text-xs text-orange-500 hover:text-orange-400 transition-colors">
View CLI docs →
</Link>
<div className="flex flex-col gap-3 text-sm">
<span className="font-semibold text-gray-200 text-xs uppercase tracking-widest">Install CLI</span>
<code className="text-xs bg-gray-800 text-orange-400 rounded px-3 py-2 font-mono leading-relaxed block">
curl -fsSL https://c0upons.com/install.sh | sh
</code>
<Link href="/docs#cli" className="text-xs text-orange-500 hover:text-orange-400 transition-colors">
View CLI docs →
</Link>
</div>
</div>
</div>

<div className="border-t border-gray-800 pt-6 flex flex-col sm:flex-row justify-between items-center gap-3 text-xs text-gray-500">
<p>© {new Date().getFullYear()} c0upons. Community-powered savings.</p>
<nav className="webring flex gap-3" aria-label="Profullstack webring">
<a href="https://rssamplifier.com/ring/profullstack/previous?from=https%3A%2F%2Fc0upons.com%2F" rel="prev" title="Previous site" className="hover:text-white transition-colors">{"<<"}</a>
<a href="https://rssamplifier.com/ring/profullstack" className="hover:text-white transition-colors">Profullstack</a>
<a href="https://rssamplifier.com/ring/profullstack/next?from=https%3A%2F%2Fc0upons.com%2F" rel="next" title="Next site" className="hover:text-white transition-colors">{">>"}</a>
<a href="https://rssamplifier.com/ring/profullstack/random?from=https%3A%2F%2Fc0upons.com%2F" title="Random site" aria-label="Random site" className="hover:text-white transition-colors">{"⚄"}</a>
</nav>
<p>Built with Next.js · Powered by Postgres</p>
</div>
</footer>
{/* Copyright and the Profullstack webring: @profullstack/footer, server-rendered. */}
<div className="bg-gray-900 text-gray-400">
<ProfullstackFooter site="https://c0upons.com/" tagline="Community-powered savings." />
</div>
</footer>
</>
);
}
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"dependencies": {
"@anthropic-ai/sdk": "^0.104.1",
"@profullstack/bridges": "^0.1.0",
"@profullstack/footer": "latest",
"@profullstack/libsql-pg": "^0.1.4",
"@profullstack/stack": "^0.1.3",
"@profullstack/x402-gateway": "^0.7.0",
Expand Down
3 changes: 3 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading