Skip to content

Commit 9bb0b35

Browse files
jsmorabitoclaudemdroidiandevin-ai-integration[bot]graphite-app[bot]
authored
ENG-1949 Update website footer (#1153)
* Update website footer with email signup and social links Adds a Buttondown email subscription form, text-based social links (Github, Youtube, Slack, Bluesky), and the Discourse Graphs logo to the footer using a 3-column layout. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Fix footer width to match main content cards Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Apply suggestions from code review Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> * Update apps/website/app/(home)/page.tsx Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> * format --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Michael Gartner <mclicks@gmail.com> Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
1 parent 65839cc commit 9bb0b35

1 file changed

Lines changed: 61 additions & 30 deletions

File tree

apps/website/app/(home)/page.tsx

Lines changed: 61 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
import { ArrowBigDownDash, CircleGauge } from "lucide-react";
1010
import { getLatestBlogs } from "~/(home)/blog/readBlogs";
1111
import { TeamPerson } from "~/components/TeamPerson";
12+
import { Logo } from "~/components/Logo";
1213
import { TEAM_MEMBERS } from "~/data/constants";
1314

1415
const Home = async () => {
@@ -805,45 +806,75 @@ const Home = async () => {
805806
</div>
806807
</main>
807808

808-
<footer className="mt-12 border-t border-neutral-light/10 bg-neutral-dark px-6 py-6">
809-
<div className="mx-auto flex max-w-6xl items-center justify-between">
810-
<p className="text-secondary">
811-
© 2024-{new Date().getFullYear()} Homeworld Collective
812-
</p>
813-
<div className="flex items-center space-x-4">
809+
<footer className="mt-12 border-t border-neutral-light/10 bg-neutral-dark py-10">
810+
<div className="mx-auto grid max-w-6xl grid-cols-1 gap-10 px-6 md:grid-cols-3 md:items-start">
811+
{/* Logo + copyright */}
812+
<div className="flex flex-col gap-3">
813+
<Logo textClassName="text-white" linked={false} />
814+
<p className="text-sm text-secondary">
815+
© 2024-{new Date().getFullYear()} Homeworld Collective
816+
</p>
817+
</div>
818+
819+
{/* Links */}
820+
<div className="flex flex-col gap-2">
814821
<Link
815822
href="https://github.com/DiscourseGraphs"
816-
aria-label="GitHub Repository"
823+
className="text-secondary transition-colors hover:text-white"
817824
>
818-
<Image
819-
src="/github.svg"
820-
alt="GitHub"
821-
width={24}
822-
height={24}
823-
className="opacity-80 transition-opacity hover:opacity-100"
824-
/>
825+
GitHub
826+
</Link>
827+
<Link
828+
href="https://www.youtube.com/@discoursegraphs"
829+
className="text-secondary transition-colors hover:text-white"
830+
>
831+
YouTube
825832
</Link>
826833
<Link
827834
href="https://join.slack.com/t/discoursegraphs/shared_invite/zt-37xklatti-cpEjgPQC0YyKYQWPNgAkEg"
828-
aria-label="Slack"
835+
className="text-secondary transition-colors hover:text-white"
829836
>
830-
<Image
831-
src="/slack.svg"
832-
alt="Slack"
833-
width={24}
834-
height={24}
835-
className="opacity-80 transition-opacity hover:opacity-100"
836-
/>
837+
Slack
837838
</Link>
839+
<Link
840+
href="https://bsky.app/profile/discoursegraphs.bsky.social"
841+
className="text-secondary transition-colors hover:text-white"
842+
>
843+
Bluesky
844+
</Link>
845+
</div>
846+
847+
{/* Email subscription */}
848+
<div className="rounded-lg border border-neutral-light/20 p-6">
849+
<h3 className="mb-1 text-lg font-semibold text-white">
850+
Stay up to date
851+
</h3>
852+
<p className="mb-4 text-sm text-secondary">
853+
Periodic news and info about the Discourse Graphs project.
854+
</p>
855+
856+
<form
857+
action="https://buttondown.com/api/emails/embed-subscribe/DiscourseGraphs"
858+
method="post"
859+
className="flex gap-2"
860+
>
861+
<input type="hidden" name="embed" value="1" />
862+
<input
863+
type="email"
864+
name="email"
865+
id="bd-email"
866+
placeholder="your@email.com"
867+
required
868+
className="min-w-0 flex-1 rounded border border-neutral-light/30 bg-neutral-dark px-3 py-2 text-sm text-white placeholder-neutral-light/50 focus:outline-none focus:ring-1 focus:ring-white/40"
869+
/>
870+
<button
871+
type="submit"
872+
className="rounded border border-white px-4 py-2 text-sm font-semibold text-white transition-colors hover:bg-white hover:text-neutral-dark"
873+
>
874+
Subscribe
875+
</button>
876+
</form>
838877
</div>
839-
{/* <div className="flex space-x-4">
840-
<Link href="#" className="text-secondary hover:text-neutral-dark">
841-
Privacy Policy
842-
</Link>
843-
<Link href="#" className="text-secondary hover:text-neutral-dark">
844-
Terms of Service
845-
</Link>
846-
</div> */}
847878
</div>
848879
</footer>
849880
</div>

0 commit comments

Comments
 (0)