on master help sign in
post-materials (#596)
commit255daf4d6b246e50d144cf5171fcab21c60e9618 authorédouard <edouard@urcad.es> dateTue 13 Apr 2021, 16:21 (6 years ago) parentd680a3a
3 files changed+86−13
content/events/2021-04-27-bitcoin-launch.md+6−13 sass/_main.scss+54 templates/events/event-landing.html+26
content/events/2021-04-27-bitcoin-launch.md+6−13
@@ -1,29 +1,22 @@
11+++
22title = "Bitcoin Launch"
33date = 2021-04-27
4+template = "events/event-landing.html"
45[extra]
5−pinned = false
66pinned = true
77host = "Urbit Foundation"
88time = "09:00 PST"
99location = "Online Event"
10−image = "https://secure.meetupstatic.com/photos/event/4/d/c/9/highres_495019913.jpeg"
10+image = "https://storage.googleapis.com/media.urbit.org/site/events/20210413-bitcoin-header.png"
1111registration_url = "https://www.meetup.com/urbit-sf/events/276741426/"
1212guests = "~timluc-miptev"
1313description = "Bitcoin is coming to Urbit! With the upcoming release of the Bitcoin Wallet, you will be able to pay Urbit ships directly with BTC."
1414+++
1515
16−Bitcoin is coming to Urbit! With the upcoming release of the Bitcoin Wallet, you will be able to pay Urbit ships directly with BTC.
16+<h1>Bitcoin + Urbit</h1>
1717
18−We’d like to take a moment to show it off, and discuss the future of commerce on Urbit. First, Christian and Josh will demo the wallet, then, our good friend Marty Bent will moderate a panel with Christian, Tim, and Ed. We will have time at the end for questions.
18+<img class="center black" src="https://storage.googleapis.com/media.urbit.org/site/events/20210413-bitcoin-event.svg" />
1919
20−The event will have a live stream on Youtube, and a live-chat on Urbit, links to come.
20+<h2 class="center">OTA Launch Event: <span class="btc-orange">2021.04.27</span></h2>
2121
22−In the meantime, join the Bitcoin dev conversation in the Urbitcoiners group: ~pindet-timmut/urbitcoin-cash
23−
24−------
25−[Read our thoughts about Bitcoin on Urbit](/blog/urbit-and-bitcoin)
26−
27−Interested developing on Urbit? Our grants program actively rewards address space to developers. [Learn more here](/docs/development/grants/).
28−
29−And if you're still confused about what Urbit is, [try this](/understanding-urbit/).
22+<h2 class="center">First 300 signups receive a free Urbit ID and 3 months of Tlon Hosting</h2>
sass/_main.scss+54
@@ -671,3 +671,57 @@ h1, h2, h3, h4, h5, h6 {
671671 }
672672}
673673
674+// standalone event pages
675+
676+.event > h1 {
677+ text-align: center;
678+ font-size: 16pt;
679+ font-weight: 600;
680+ color: #FF9900;
681+ margin-top: 1.6rem;
682+ margin-bottom: 3.5rem;
683+}
684+
685+.event > h2 {
686+ display: block;
687+ text-align: center;
688+ font-size: 16pt;
689+ font-weight: 500;
690+ color: #CAA182;
691+ @media (min-width: 1024px) {
692+ width: 28rem;
693+ }
694+}
695+
696+#rsvp {
697+ display: block;
698+ width: 90%;
699+ @media (min-width: 1024px) {
700+ width: 20rem;
701+ }
702+ border-bottom-style: none;
703+ text-align: center;
704+ font-size: 16pt;
705+ font-weight: 700;
706+ color: #FF9900;
707+ margin: 4.4rem auto;
708+ padding: 2rem 1rem;
709+ background-color: rgba(255, 153, 0, 0.2);
710+ border-radius: 60px;
711+}
712+
713+.event > img {
714+ --tw-shadow: 0 16px 80px -5px rgb(241, 210, 175), 0 0px 10px -10px rgb(249, 167, 35);
715+box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
716+ border-radius: 32px;
717+ margin-bottom: 1.6rem;
718+ @media (min-width: 1024px) {
719+ border-radius: 48px;
720+ width: 36%;
721+ }
722+ width: 90%;
723+}
724+
725+.btc-orange {
726+ color: #FF9900;
727+}
templates/events/event-landing.htmlnew file+26
@@ -0,0 +1,26 @@
1+{% extends "page.html" %}
2+
3+{% block content %}
4+
5+<article class="event mt4 mb4 c1-13">
6+
7+ {{ page.content | safe }}
8+
9+ <!-- {% if page.extra.image %}
10+ <img class="db mv2 obj-cover w-20 center" src="{{ page.extra.image }}" />
11+ {% endif %} -->
12+
13+ {% if page.extra.registration_url %}
14+ <!-- TODO only show this if it's in the future. This build of tera doesn't support casting to int, so we have to use JS -->
15+ <a target="_blank" href="{{ page.extra.registration_url }}" id="rsvp" data-date="{{ page.date }}">RSVP</a>
16+ <script>
17+ const rsvp = document.getElementById('rsvp');
18+ if (Date.now() > Date.parse(rsvp.dataset.date)) {
19+ rsvp.style.display = 'none';
20+ }
21+ </script>
22+ {% endif %}
23+
24+</article>
25+
26+{% endblock content %}