split home and releases

Nate created

Change summary

server/templates/home.hbs     | 30 ------------
server/templates/releases.hbs | 90 +++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+), 30 deletions(-)

Detailed changes

server/templates/home.hbs ๐Ÿ”—

@@ -1,33 +1,4 @@
 {{#> layout }}
-{{#if releases}}
-
-<div class="bg-white">
-    <div class="container mx-auto py-12 px-8 md:px-12">
-        {{#each releases}}
-        <div class="md:flex md:flex-row mb-32 md:mb-12">
-            <div class="font-display mb-8 md:mb-0 md:text-right w-48">
-                <div class="text-2xl font-bold whitespace-nowrap">
-                    VERSION {{name}}
-                </div>
-                <a class="text-md underline text-yellow-600 hover:text-yellow-700"
-                    href="/releases/{{tag_name}}/{{assets.0.name}}">
-                    DOWNLOAD
-                </a>
-            </div>
-            <div
-                class="prose prose-lg xl:prose-xl border-t md:border-t-0 pt-8 md:border-l border-gray-400 md:ml-8 md:pl-8 md:pt-0 xl:ml-16 xl:pl-16 max-w-5xl font-body">
-                {{{body}}}
-            </div>
-        </div>
-        {{/each}}
-    </div>
-</div>
-
-{{else}}
-
-<div class="bg-dotgrid-sm md:bg-dotgrid-md lg:bg-dotgrid-lg">
-    <img src="/static/svg/hero.svg" class="container mx-auto px-8 md:px-12 py-16 md:py-24 lg:py-32" />
-</div>
 
 <div class="container mx-auto py-24 lg:py-32 px-8 md:px-12 lg:flex lg:flex-row lg:items-center">
     <div class="prose prose-xl md:prose-2xl text-gray-50 prose-gray-50 w-full lg:w-1/2">
@@ -59,5 +30,4 @@
     </form>
 </div>
 
-{{/if}}
 {{/layout}}

server/templates/releases.hbs ๐Ÿ”—

@@ -0,0 +1,90 @@
+{{#> layout }}
+{{#if releases}}
+
+<div class="bg-white">
+    <div class="container mx-auto py-12 px-8 md:px-12">
+        {{#each releases}}
+        <div class="md:flex md:flex-row mb-32 md:mb-12">
+            <div class="font-display mb-8 md:mb-0 md:text-right w-48">
+                <div class="text-2xl font-bold whitespace-nowrap">
+                    VERSION {{name}}
+                </div>
+                <a class="text-md underline text-yellow-600 hover:text-yellow-700"
+                    href="/releases/{{tag_name}}/{{assets.0.name}}">
+                    DOWNLOAD
+                </a>
+            </div>
+            <div
+                class="prose prose-lg xl:prose-xl border-t md:border-t-0 pt-8 md:border-l border-gray-400 md:ml-8 md:pl-8 md:pt-0 xl:ml-16 xl:pl-16 max-w-5xl font-body">
+                {{{body}}}
+            </div>
+        </div>
+        {{/each}}
+    </div>
+</div>
+
+{{else}}
+
+<p>You can't access this without <a href=" /sign_in">logging in</a>.</p>
+
+{{/if}}
+<div class="bg-white">
+    <div class="container mx-auto py-12 px-8 md:px-12 lg:flex lg:flex-row">
+        <div class="mb-16 lg:mb-0 lg:flex-1 lg:mr-8 xl:mr-16">
+            <img src="https://github.com/nathansobo.png?size=200" class="mx-auto mb-4 h-28 rounded-full">
+            <div>
+                <a href="https://github.com/nathansobo"
+                    class="block text-center mb-4 font-display text-2xl font-bold whitespace-nowrap hover:underline">
+                    NATHAN SOBO
+                </a>
+                <div class="prose md:prose-lg lg:prose xl:prose-lg">
+                    Nathan joined GitHub in late 2011 to build the <a href="https://atom.io">Atom text editor</a>, and
+                    he led the Atom team until 2018. He also co-led development of <a
+                        href="https://teletype.atom.io">Teletype for Atom</a>, pioneering one of the first production
+                    uses of conflict-free replicated data types for collaborative text editing. He's been dreaming about
+                    building the worldโ€™s best text editor since he graduated from college, and is excited to finally
+                    have
+                    the knowledge, tools, and resources to achieve this vision.
+                </div>
+            </div>
+        </div>
+        <div class="mb-16 lg:mb-0 lg:flex-1 lg:mr-8 xl:mr-16">
+            <img src="https://github.com/as-cii.png?size=200" class="mx-auto mb-4 h-28 rounded-full">
+            <div>
+                <a href="https://github.com/as-cii"
+                    class="block text-center mb-4 font-display text-2xl font-bold whitespace-nowrap hover:underline">
+                    ANTONIO SCANDURRA
+                </a>
+                <div class="prose md:prose-lg lg:prose xl:prose-lg">
+                    Antonio joined the Atom team in 2014 while still in university after his outstanding open source
+                    contributions caught the attention of the team. He later joined Nathan in architecting <a
+                        href="https://teletype.atom.io">Teletype for
+                        Atom</a> and researching the foundations of what has turned into Zed. For the last two years,
+                    heโ€™s
+                    become an expert in distributed systems and conflict-free replicated data types through the
+                    development of a real-time, distributed, conflict-free database implemented in Rust for <a
+                        href="https://ditto.live">Ditto</a>.
+                </div>
+            </div>
+        </div>
+        <div class="mb-16 lg:mb-0 lg:flex-1">
+            <img src="https://github.com/maxbrunsfeld.png?size=200" class="mx-auto mb-4 h-28 rounded-full">
+            <div>
+                <a href="https://github.com/maxbrunsfeld"
+                    class="block text-center mb-4 font-display text-2xl font-bold whitespace-nowrap hover:underline">
+                    MAX BRUNSFELD
+                </a>
+                <div class="prose md:prose-lg lg:prose xl:prose-lg">
+                    Max joined the Atom team in 2013 after working at Pivotal Labs. While driving Atom towards its 1.0
+                    launch during the day, Max spent nights and weekends building <a
+                        href="https://tree-sitter.github.io">Tree-sitter</a>, a blazing-fast and
+                    expressive incremental parsing framework that currently powers all code analysis at GitHub. Before
+                    leaving to start Zed, Max helped GitHub's semantic analysis team integrate Tree-sitter to support
+                    syntax highlighting and code navigation on <a href="https://github.com">github.com</a>.
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+
+{{/layout}}