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"; import CadCADLogo from "./CadCADLogo";
const productLinks = [ const productLinks = [
{ label: "GitHub", href: "https://github.com/cadCAD-org/cadCAD" }, { label: "Github", href: "https://github.com/cadCAD-org/cadCAD" },
{ label: "PyPI", href: "https://pypi.org/project/cadCAD/" }, { label: "Video tutorials", href: "https://www.youtube.com/playlist?list=PLmWm8ksQq4YKtdRV-SoinhV6LbQMgX1we" },
{ label: "Documentation", href: "https://github.com/cadCAD-org/cadCAD" }, { label: "Inspirational videos", href: "https://www.youtube.com/playlist?list=PLmWm8ksQq4YJnNDMaslh20axb4r7fgW_a" },
{ label: "Demos", href: "https://github.com/cadCAD-org/demos" }, { label: "List of related resources", href: "https://community.cadcad.org/" },
{ label: "cadCAD.jl", href: "https://github.com/cadCAD-org/CadCAD.jl" }, { label: "Join our community", href: "https://community.cadcad.org/" },
]; ];
const communityLinks = [ const communityLinks = [
{ label: "Discord", href: "https://discord.gg/FP2FGJb4tJ" }, { label: "Discord", href: "https://discord.gg/FP2FGJb4tJ" },
{ label: "Telegram", href: "https://t.me/joinchat/BehTglN4UOLe83MpgBelzw" },
{ label: "Discourse", href: "https://community.cadcad.org/" }, { label: "Discourse", href: "https://community.cadcad.org/" },
{ label: "Telegram", href: "https://t.me/joinchat/BehTglN4UOLe83MpgBelzw" },
{ label: "Twitter", href: "https://twitter.com/cadcad_org" }, { 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() { export default function Footer() {
@ -29,32 +20,11 @@ export default function Footer() {
<footer className="bg-white py-8"> <footer className="bg-white py-8">
{/* BlockScience attribution */} {/* BlockScience attribution */}
<div className="container mx-auto border-b border-border pb-8"> <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"> <div className="mx-auto flex w-full flex-col items-center p-6 text-center md:w-2/3">
<p className="mb-2 text-gray-500">Created by</p> <p className="mb-4 text-lg text-gray-500">Created by BlockScience</p>
<a <p className="text-gray-500">
href="https://block.science/" cadCAD was created as an internal tool at BlockScience &ndash; an
target="_blank" engineering, R&amp;D and analytics firm specializing in complex
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
systems design and validation systems design and validation
</p> </p>
</div> </div>
@ -66,10 +36,6 @@ export default function Footer() {
{/* Brand */} {/* Brand */}
<div className="flex-1 px-4 pb-6"> <div className="flex-1 px-4 pb-6">
<CadCADLogo className="mb-4 h-10" /> <CadCADLogo className="mb-4 h-10" />
<p className="text-sm text-gray-500">
&copy; {new Date().getFullYear()} BlockScience. All rights
reserved.
</p>
</div> </div>
{/* Product */} {/* Product */}
@ -114,42 +80,36 @@ export default function Footer() {
</ul> </ul>
</div> </div>
{/* Resources */} {/* Support us */}
<div className="flex-1 px-4 pb-6"> <div className="flex-1 px-4 pb-6">
<p className="mb-4 text-sm font-bold uppercase tracking-wider text-gray-500"> <p className="mb-4 text-sm font-bold uppercase tracking-wider text-gray-500">
Resources Support us
</p> </p>
<ul className="flex flex-col gap-2"> <ul className="flex flex-col gap-2">
{resourceLinks.map((link) => ( <li>
<li key={link.label}> <a
<a href="https://opencollective.com/cadcad1"
href={link.href} target="_blank"
target="_blank" rel="noopener noreferrer"
rel="noopener noreferrer" className="text-sm text-gray-500 transition-colors hover:text-cadcad-blue"
className="text-sm text-gray-500 transition-colors hover:text-cadcad-blue" >
> OpenCollective
{link.label} </a>
</a> </li>
</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> </ul>
</div> </div>
</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> </div>
</footer> </footer>
); );