on master help sign in
correct grant stats, blog list width, no newsletter under a grant
981881eGavin Atkinson
pages/blog.js+3−3
@@ -12,7 +12,7 @@ export default function Blog({ posts, toggleSearch }) {
12 <Container>
12 <Container>
13 <SingleColumn>
13 <SingleColumn>
14 <Header toggleSearch={() => toggleSearch(true)} />
14 <Header toggleSearch={() => toggleSearch(true)} />
15− <section className="layout-wide">
15+ <section className="layout-narrow">
16 <div className="measure">
16 <div className="measure">
17 <h2 className="pb-16">Urbit Blog</h2>
17 <h2 className="pb-16">Urbit Blog</h2>
18 <p className="pb-6">
18 <p className="pb-6">
@@ -25,7 +25,7 @@ export default function Blog({ posts, toggleSearch }) {
25 </p>
25 </p>
26 </div>
26 </div>
27 </section>
27 </section>
28− <section className="layout-wide">
28+ <section className="layout-narrow">
29 {posts.map((post) => {
29 {posts.map((post) => {
30 return (
30 return (
31 <div key={post.slug} className="mb-24 cursor-pointer">
31 <div key={post.slug} className="mb-24 cursor-pointer">
@@ -41,7 +41,7 @@ export default function Blog({ posts, toggleSearch }) {
41 />
41 />
42 ) : null
42 ) : null
43 }
43 }
44− <h2 className="mt-4">{post.title}</h2>
44+ <h3 className="mt-4">{post.title}</h3>
45 <div className="flex items-baseline">
45 <div className="flex items-baseline">
46 {post.extra.author ? (
46 {post.extra.author ? (
47 <div className="type-ui text-gray mt-4">
47 <div className="type-ui text-gray mt-4">
pages/events.js+3−3
@@ -74,7 +74,7 @@ export default function Events({ pastEvents, currentEvents, toggleSearch }) {
74 <Container>
74 <Container>
75 <SingleColumn>
75 <SingleColumn>
76 <Header toggleSearch={() => toggleSearch(true)} />
76 <Header toggleSearch={() => toggleSearch(true)} />
77− <section className="layout-wide">
77+ <section className="layout-narrow">
78 <div className="measure">
78 <div className="measure">
79 <h2 className="pb-16">Urbit Events</h2>
79 <h2 className="pb-16">Urbit Events</h2>
80 <p className="pb-6">
80 <p className="pb-6">
@@ -86,7 +86,7 @@ export default function Events({ pastEvents, currentEvents, toggleSearch }) {
86 </p>
86 </p>
87 </div>
87 </div>
88 </section>
88 </section>
89− <section className="layout-wide">
89+ <section className="layout-narrow">
90 <div className="mb-8 table">
90 <div className="mb-8 table">
91 <span className="bg-green text-white badge-lg">Coming Soon</span>
91 <span className="bg-green text-white badge-lg">Coming Soon</span>
92 </div>
92 </div>
@@ -95,7 +95,7 @@ export default function Events({ pastEvents, currentEvents, toggleSearch }) {
95 })}
95 })}
96 </section>
96 </section>
97
97
98− <section className="layout-wide">
98+ <section className="layout-narrow">
99 <div className="mb-8 table">
99 <div className="mb-8 table">
100 <span className="bg-wall text-gray badge-lg">Past Events</span>
100 <span className="bg-wall text-gray badge-lg">Past Events</span>
101 </div>
101 </div>
pages/grants/[slug].js+1−33
@@ -48,39 +48,7 @@ export default function Grant({ post, nextPost, markdown, previousPost }) {
48 dangerouslySetInnerHTML={{ __html: decode(markdown) }}
48 dangerouslySetInnerHTML={{ __html: decode(markdown) }}
49 ></article>
49 ></article>
50 </div>
50 </div>
51− <section className="layout-narrow">
51+
52− <div className="measure">
53− <h4 className="pb-6">
54− If you’d like to follow our progress, we send monthly updates via
55− email:
56− </h4>
57− </div>
58− <NewsletterSignup color="black" />
59− <h4 className="mt-12 text-gray">
60− Follow us on{" "}
61− <a className="text-black" href={contact.twitter}>
62− Twitter
63− </a>
64− </h4>
65− <h4 className="mt-6 text-gray">
66− Explore code on{" "}
67− <a className="text-black" href={contact.github}>
68− Github
69− </a>
70− </h4>
71− <h4 className="mt-6 text-gray">
72− Ask questions in our{" "}
73− <a className="text-black" href={contact.discord}>
74− Discord
75− </a>
76− </h4>
77− <h4 className="mt-6 text-gray">
78− Boot Urbit and join{" "}
79− <code className="bg-wall p-2 rounded-lg">
80− {contact.urbitCommunity}
81− </code>
82− </h4>
83− </section>
84 <section className="layout-wide flex">
52 <section className="layout-wide flex">
85 {previousPost === null ? (
53 {previousPost === null ? (
86 <div className={"w-1/2 mr-4"} />
54 <div className={"w-1/2 mr-4"} />
pages/index.js+6−4
@@ -73,13 +73,15 @@ export default function Home({ posts, events, openGrantsCount, toggleSearch }) {
73 </div>
73 </div>
74 <div className="h-0 w-0 md:h-24 md:w-4 bg-lightGreen" />
74 <div className="h-0 w-0 md:h-24 md:w-4 bg-lightGreen" />
75 <div className="flex items-center flex-col p-4 w-full">
75 <div className="flex items-center flex-col p-4 w-full">
76− <h2 className="text-green">1M+</h2>
76+ <h2 className="text-green">400+</h2>
77− <h4 className="text-green text-center pt-2">USD Rewarded</h4>
77+ <h4 className="text-green text-center pt-2">
78+ Different Contributors
79+ </h4>
78 </div>
80 </div>
79 <div className="h-0 w-0 md:h-24 md:w-4 bg-lightGreen" />
81 <div className="h-0 w-0 md:h-24 md:w-4 bg-lightGreen" />
80 <div className="flex items-center flex-col p-4 w-full">
82 <div className="flex items-center flex-col p-4 w-full">
81− <h2 className="text-green">90+</h2>
83+ <h2 className="text-green">45+</h2>
82− <h4 className="text-green text-center pt-2">Grants completed</h4>
84+ <h4 className="text-green text-center pt-2">Active Projects</h4>
83 </div>
85 </div>
84 </div>
86 </div>
85 <div className="measure py-12">
87 <div className="measure py-12">