on master help sign in
contact: update copy
13c55acMatilde Park
components/Contact.js+8−22
@@ -2,37 +2,23 @@ import NewsletterSignup from "./NewletterSignup";
2import { name, contact } from "../lib/constants";
2import { name, contact } from "../lib/constants";
3import Link from "next/link";
3import Link from "next/link";
4
4
5−export default function Contact({ emphasize }) {
5+export default function Contact({
6+ emphasize,
7+ ecosystem = false,
8+ className = "",
9+}) {
6 const linkText = emphasize ? "text-green-400" : "text-wall-600";
10 const linkText = emphasize ? "text-green-400" : "text-wall-600";
7 const border = emphasize ? "border-green-400" : "border-wall-600";
11 const border = emphasize ? "border-green-400" : "border-wall-600";
8
12
9 return (
13 return (
10− <div>
14+ <div className={className}>
11 <div className="measure">
15 <div className="measure">
12 <h4 className="pb-6">
16 <h4 className="pb-6">
13− If you’d like to follow our progress, we send monthly updates via
17+ Sign up for the Urbit Newsletter for a monthly Spotlight summary, and
14− email:
18+ more Urbit news.
15 </h4>
19 </h4>
16 </div>
20 </div>
17 <NewsletterSignup color={border} />
21 <NewsletterSignup color={border} />
18− <h4 className="mt-12 text-wall-500">
19− Follow us on{" "}
20− <a className={linkText} href={contact.twitter}>
21− Twitter
22− </a>
23− </h4>
24− <h4 className="mt-6 text-wall-500">
25− Explore code on{" "}
26− <a className={linkText} href={contact.github}>
27− Github
28− </a>
29− </h4>
30− <h4 className="mt-6 text-wall-500 flex-wrap">
31− Boot Urbit and join{" "}
32− <Link href={`/groups/${contact.urbitCommunity}`} passHref>
33− <a className={linkText}>Urbit Community</a>
34− </Link>
35− </h4>
36 </div>
22 </div>
37 );
23 );
38}
24}