on master help sign in
Merge pull request #1597 from urbit/assembly-card

added assembly 2022 card on homepage

commit3efe3727e7e19c3a796285bc62f541ebe53ed92d authormatildepark <matilde.park@urbit.org> dateTue 28 Jun 2022, 10:03 (4 years ago) parent3ffbe748a7556d
2 files changed+29−8
components/EventPreview.js+1−1 pages/index.js+28−7
components/EventPreview.js+1−1
@@ -6,7 +6,7 @@ import classNames from "classnames";
66
77export default function EventPreview({ event, className, big }) {
88 // Event tiles have a 'dark mode' used when their background images are dark and white text is needed for legibility.
9− const grayText = event?.dark ? "text-washedWhite" : "text-wall-400";
9+ const grayText = event?.dark ? "text-white" : "text-wall-400";
1010 const blackText = event?.dark ? "text-white" : "text-wall-600";
1111
1212 const starts = generateDisplayDate(event.starts, event.timezone);
pages/index.js+28−7
@@ -30,11 +30,33 @@ export default function Home({ posts, events, grantNumbers, search }) {
3030 }
3131 <Section narrow>
3232 <div>
33− <h1>A clean-slate OS</h1>
34− <h1>and network</h1>
35− <h1>for the 21st century.</h1>
33+ <h1>A clean-slate OS and network for the 21st&nbsp;century.</h1>
3634 </div>
3735 </Section>
36+ {
37+ // Hero
38+ }
39+ <Section>
40+ <div className="bg-[#FEFFDA] w-full p-8 md:p-12 rounded-3xl flex flex-col md:flex-row">
41+ <div className="md:w-10/12 w-full md:mr-6">
42+
43+ <h2 className="m-0 p-0 mr-4 pb-6">Assembly 2022</h2>
44+
45+ <p>
46+ Assembly 2022 is the second ever Urbit conference coming to you this year from Miami Beach. Get early bird tickets now.
47+ </p>
48+ <p className="pt-4 font-bold pb-8">
49+ September 22nd–25th • Miami Beach, Florida
50+ </p>
51+ <Link href="https://assembly.urbit.org" passHref>
52+ <a className="button-lg max-w-fit bg-green-400 text-white">
53+ Learn More
54+ </a>
55+ </Link>
56+ </div>
57+ </div>
58+ </Section>
59+
3860
3961 {
4062 // Hero
@@ -42,10 +64,9 @@ export default function Home({ posts, events, grantNumbers, search }) {
4264 <Section>
4365 <div className="bg-wall-100 w-full p-8 md:p-12 rounded-3xl flex flex-col md:flex-row">
4466 <div className="md:w-6/12 w-full md:mr-6">
45− <p>
46− Urbit is for everyone, but sometimes it is easy to get lost in
47− this universe.
48− </p>
67+ <h3>
68+ Urbit is a new kind of computer that you can own completely in ways that matter: networking, identity, and data.
69+ </h3>
4970 <p className="pt-8">
5071 Follow these links to contribute to the network through
5172 developing, operating, and exploring.