on master help sign in
correct grant stats, blog list width, no newsletter under a grant
commit981881ed9cd03f8e75d91ccb35d88a0e02e8a3ec authorGavin Atkinson <gvnatknsn@protonmail.com> dateTue 6 Jul 2021, 14:28 (5 years ago) parentecff269
4 files changed+13−43
pages/blog.js+3−3 pages/events.js+3−3 pages/grants/[slug].js+1−33 pages/index.js+6−4
pages/blog.js+3−3
@@ -12,7 +12,7 @@ export default function Blog({ posts, toggleSearch }) {
1212 <Container>
1313 <SingleColumn>
1414 <Header toggleSearch={() => toggleSearch(true)} />
15− <section className="layout-wide">
15+ <section className="layout-narrow">
1616 <div className="measure">
1717 <h2 className="pb-16">Urbit Blog</h2>
1818 <p className="pb-6">
@@ -25,7 +25,7 @@ export default function Blog({ posts, toggleSearch }) {
2525 </p>
2626 </div>
2727 </section>
28− <section className="layout-wide">
28+ <section className="layout-narrow">
2929 {posts.map((post) => {
3030 return (
3131 <div key={post.slug} className="mb-24 cursor-pointer">
@@ -41,7 +41,7 @@ export default function Blog({ posts, toggleSearch }) {
4141 />
4242 ) : null
4343 }
44− <h2 className="mt-4">{post.title}</h2>
44+ <h3 className="mt-4">{post.title}</h3>
4545 <div className="flex items-baseline">
4646 {post.extra.author ? (
4747 <div className="type-ui text-gray mt-4">
pages/events.js+3−3
@@ -74,7 +74,7 @@ export default function Events({ pastEvents, currentEvents, toggleSearch }) {
7474 <Container>
7575 <SingleColumn>
7676 <Header toggleSearch={() => toggleSearch(true)} />
77− <section className="layout-wide">
77+ <section className="layout-narrow">
7878 <div className="measure">
7979 <h2 className="pb-16">Urbit Events</h2>
8080 <p className="pb-6">
@@ -86,7 +86,7 @@ export default function Events({ pastEvents, currentEvents, toggleSearch }) {
8686 </p>
8787 </div>
8888 </section>
89− <section className="layout-wide">
89+ <section className="layout-narrow">
9090 <div className="mb-8 table">
9191 <span className="bg-green text-white badge-lg">Coming Soon</span>
9292 </div>
@@ -95,7 +95,7 @@ export default function Events({ pastEvents, currentEvents, toggleSearch }) {
9595 })}
9696 </section>
9797
98− <section className="layout-wide">
98+ <section className="layout-narrow">
9999 <div className="mb-8 table">
100100 <span className="bg-wall text-gray badge-lg">Past Events</span>
101101 </div>
pages/grants/[slug].js+1−33
@@ -48,39 +48,7 @@ export default function Grant({ post, nextPost, markdown, previousPost }) {
4848 dangerouslySetInnerHTML={{ __html: decode(markdown) }}
4949 ></article>
5050 </div>
51− <section className="layout-narrow">
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>
51+
8452 <section className="layout-wide flex">
8553 {previousPost === null ? (
8654 <div className={"w-1/2 mr-4"} />
pages/index.js+6−4
@@ -73,13 +73,15 @@ export default function Home({ posts, events, openGrantsCount, toggleSearch }) {
7373 </div>
7474 <div className="h-0 w-0 md:h-24 md:w-4 bg-lightGreen" />
7575 <div className="flex items-center flex-col p-4 w-full">
76− <h2 className="text-green">1M+</h2>
77− <h4 className="text-green text-center pt-2">USD Rewarded</h4>
76+ <h2 className="text-green">400+</h2>
77+ <h4 className="text-green text-center pt-2">
78+ Different Contributors
79+ </h4>
7880 </div>
7981 <div className="h-0 w-0 md:h-24 md:w-4 bg-lightGreen" />
8082 <div className="flex items-center flex-col p-4 w-full">
81− <h2 className="text-green">90+</h2>
82− <h4 className="text-green text-center pt-2">Grants completed</h4>
83+ <h2 className="text-green">45+</h2>
84+ <h4 className="text-green text-center pt-2">Active Projects</h4>
8385 </div>
8486 </div>
8587 <div className="measure py-12">