fix: update footer to match original cadcad.org content

- Remove copyright and "All rights reserved" text
- Add "Created by BlockScience" with proper description
- Update Product links: Github, Video tutorials, Inspirational videos,
  List of related resources, Join our community
- Update Community links: Discord, Discourse, Telegram, Twitter
- Rename Resources to "Support us" with OpenCollective and ETH address
- Remove unused Image import and BlockScience logo

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-09 18:37:19 +00:00
parent 5114b53f0d
commit eb19c8e2a3
1 changed files with 34 additions and 74 deletions

View File

@ -1,27 +1,18 @@
import Image from "next/image";
import CadCADLogo from "./CadCADLogo";
const productLinks = [
{ label: "GitHub", href: "https://github.com/cadCAD-org/cadCAD" },
{ label: "PyPI", href: "https://pypi.org/project/cadCAD/" },
{ label: "Documentation", href: "https://github.com/cadCAD-org/cadCAD" },
{ label: "Demos", href: "https://github.com/cadCAD-org/demos" },
{ label: "cadCAD.jl", href: "https://github.com/cadCAD-org/CadCAD.jl" },
{ label: "Github", href: "https://github.com/cadCAD-org/cadCAD" },
{ label: "Video tutorials", href: "https://www.youtube.com/playlist?list=PLmWm8ksQq4YKtdRV-SoinhV6LbQMgX1we" },
{ label: "Inspirational videos", href: "https://www.youtube.com/playlist?list=PLmWm8ksQq4YJnNDMaslh20axb4r7fgW_a" },
{ label: "List of related resources", href: "https://community.cadcad.org/" },
{ label: "Join our community", href: "https://community.cadcad.org/" },
];
const communityLinks = [
{ label: "Discord", href: "https://discord.gg/FP2FGJb4tJ" },
{ label: "Telegram", href: "https://t.me/joinchat/BehTglN4UOLe83MpgBelzw" },
{ label: "Discourse", href: "https://community.cadcad.org/" },
{ label: "Telegram", href: "https://t.me/joinchat/BehTglN4UOLe83MpgBelzw" },
{ label: "Twitter", href: "https://twitter.com/cadcad_org" },
{ label: "YouTube", href: "https://www.youtube.com/channel/UCPePNv3dJN--aKhFGOa0Rjg" },
];
const resourceLinks = [
{ label: "Bootcamp", href: "https://www.cadcad.education/" },
{ label: "Tutorials", href: "https://www.youtube.com/playlist?list=PLmWm8ksQq4YKtdRV-SoinhV6LbQMgX1we" },
{ label: "Commons Simulator", href: "https://sim.commonsstack.org/" },
{ label: "OpenCollective", href: "https://opencollective.com/cadcad1" },
];
export default function Footer() {
@ -29,32 +20,11 @@ export default function Footer() {
<footer className="bg-white py-8">
{/* BlockScience attribution */}
<div className="container mx-auto border-b border-border pb-8">
<div className="mx-auto flex w-full flex-col items-center p-6 text-center md:w-1/3">
<p className="mb-2 text-gray-500">Created by</p>
<a
href="https://block.science/"
target="_blank"
rel="noopener noreferrer"
className="mb-4 transition-opacity hover:opacity-80"
>
<Image
src="/images/blockscience-logo.webp"
alt="BlockScience"
width={260}
height={260}
className="mx-auto h-24 w-24 rounded-full"
/>
</a>
<a
href="https://block.science/"
target="_blank"
rel="noopener noreferrer"
className="text-lg font-bold text-gray-800 hover:text-cadcad-blue transition-colors"
>
BlockScience
</a>
<p className="mt-2 text-gray-500">
An engineering, R&amp;D and analytics firm specializing in complex
<div className="mx-auto flex w-full flex-col items-center p-6 text-center md:w-2/3">
<p className="mb-4 text-lg text-gray-500">Created by BlockScience</p>
<p className="text-gray-500">
cadCAD was created as an internal tool at BlockScience &ndash; an
engineering, R&amp;D and analytics firm specializing in complex
systems design and validation
</p>
</div>
@ -66,10 +36,6 @@ export default function Footer() {
{/* Brand */}
<div className="flex-1 px-4 pb-6">
<CadCADLogo className="mb-4 h-10" />
<p className="text-sm text-gray-500">
&copy; {new Date().getFullYear()} BlockScience. All rights
reserved.
</p>
</div>
{/* Product */}
@ -114,42 +80,36 @@ export default function Footer() {
</ul>
</div>
{/* Resources */}
{/* Support us */}
<div className="flex-1 px-4 pb-6">
<p className="mb-4 text-sm font-bold uppercase tracking-wider text-gray-500">
Resources
Support us
</p>
<ul className="flex flex-col gap-2">
{resourceLinks.map((link) => (
<li key={link.label}>
<a
href={link.href}
target="_blank"
rel="noopener noreferrer"
className="text-sm text-gray-500 transition-colors hover:text-cadcad-blue"
>
{link.label}
</a>
</li>
))}
<li>
<a
href="https://opencollective.com/cadcad1"
target="_blank"
rel="noopener noreferrer"
className="text-sm text-gray-500 transition-colors hover:text-cadcad-blue"
>
OpenCollective
</a>
</li>
<li className="text-sm text-gray-500">
<p>ETH Donation address:</p>
<a
href="https://etherscan.io/address/0xbcd768c566143714309afe87feb901da7543f470"
target="_blank"
rel="noopener noreferrer"
className="break-all text-gray-800 no-underline transition-colors hover:text-cadcad-blue"
>
0xbcd768c566143714309afe87feb901da7543f470
</a>
</li>
</ul>
</div>
</div>
{/* ETH donation address */}
<div className="border-t border-border py-4 text-center">
<p className="text-sm text-gray-500">
ETH Donation address:{" "}
<a
href="https://etherscan.io/address/0xbcd768c566143714309afe87feb901da7543f470"
target="_blank"
rel="noopener noreferrer"
className="text-gray-800 no-underline hover:text-cadcad-blue transition-colors"
>
0xbcd768c566143714309afe87feb901da7543f470
</a>
</p>
</div>
</div>
</footer>
);