Skip to content

Commit 06e6ea8

Browse files
author
hexagoncircle
committed
2 parents 76e4337 + 4efe5bb commit 06e6ea8

File tree

6 files changed

+36
-156
lines changed

6 files changed

+36
-156
lines changed

netlify.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
[[redirects]]
1919
from = "/conf"
20-
to = "https://jamstackconf.com/"
20+
to = "https://jamstackconf.com/conf/"
2121
status = 200
2222

2323
[[redirects]]
@@ -27,7 +27,7 @@
2727

2828
[[redirects]]
2929
from = "/conf/*"
30-
to = "https://jamstackconf.com/:splat"
30+
to = "https://jamstackconf.com/conf/:splat"
3131
status = 200
3232

3333
[[redirects]]

src/css/tailwind.css

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
}
1919
}
2020
h2 {
21-
@apply text-white text-3xl font-bold leading-none mb-8;
21+
@apply text-white text-3xl font-bold leading-none mb-2;
2222
}
2323
@screen md {
2424
h2 {
25-
@apply text-4xl;
25+
@apply text-3xl;
2626
}
2727
}
2828
}
@@ -282,11 +282,6 @@ details[open] .summary-swap-open {
282282
font-size: 4em; /* 64px /16 */
283283
}
284284
}
285-
.hero-text-img {
286-
height: 1.244444444em;
287-
width: auto;
288-
margin-top: -0.1111111111111em; /* -4px /36 */
289-
}
290285

291286
.rounded-xl-embed {
292287
border-radius: 0.9375rem; /* 15px /16 */

src/site/_includes/header.njk

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
21
{%
32
set linkList = [
4-
{ "url": "/resources", "text": "Learn", "children": [
5-
{ "url": "/what-is-jamstack/", "text": "What is the Jamstack?" },
6-
{ "url": "/why-jamstack/", "text": "Why Jamstack?" },
7-
{ "url": "/best-practices/", "text": "Jamstack best practices" },
8-
{ "url": "/glossary/", "text": "Glossary" }
3+
{ "url": "/", "text": "Home", "children": [
94
]},
5+
{ "url": "/glossary/", "text": "Glossary" },
106
{ "url": "/women-of-jamstack/", "text": "Women of Jamstack"},
117
{ "url": "/tv/", "text": "Jamstack TV" },
128
{ "url": "/generators/", "text": "Site Generators" },
@@ -24,7 +20,9 @@
2420

2521
<header class="page-header md:flex md:flex-col md:h-screen">
2622
<a href="/" class="block text-white hover:text-pink-900 mx-8 py-8">
27-
<svg role="img" aria-hidden="true" focusable="false" width="163" height="31"><use xlink:href="#logo-jamstack"></use></svg>
23+
<svg role="img" aria-hidden="true" focusable="false" width="163" height="31">
24+
<use xlink:href="#logo-jamstack"></use>
25+
</svg>
2826
<span class="sr-only">Jamstack</span>
2927
</a>
3028
<details open data-force-state
@@ -52,17 +50,22 @@
5250
<div class="text-center text-sm mb-4 text-gray-300">Connect with us</div>
5351
<div class="grid grid-cols-3 divide-x divide-gray-700 text-gray-300">
5452
<a href="https://discord.gg/jamstack" target="_BLANK" rel="noopener" class="flex items-center justify-center p-4 hover:text-pink-500">
55-
<svg role="img" aria-label="Discord" focusable="false" width="36" height="36" class="fill-current"><use xlink:href="#logo-discord"></use></svg>
53+
<svg role="img" aria-label="Discord" focusable="false" width="36" height="36" class="fill-current">
54+
<use xlink:href="#logo-discord"></use>
55+
</svg>
5656
</a>
5757
<a href="https://twitter.com/jamstackconf" target="_BLANK" rel="noopener" class="flex items-center justify-center p-4 hover:text-pink-500">
58-
<svg role="img" aria-label="Twitter" focusable="false" width="34" height="28" class="fill-current"><use xlink:href="#logo-twitter"></use></svg>
58+
<svg role="img" aria-label="Twitter" focusable="false" width="34" height="28" class="fill-current">
59+
<use xlink:href="#logo-twitter"></use>
60+
</svg>
5961
</a>
6062
<a href="https://github.com/jamstack/jamstack.org" target="_BLANK" rel="noopener" class="flex items-center justify-center p-4 hover:text-pink-500">
61-
<svg role="img" aria-label="GitHub" focusable="false" width="36" height="36" class="fill-current"><use xlink:href="#logo-github"></use></svg>
63+
<svg role="img" aria-label="GitHub" focusable="false" width="36" height="36" class="fill-current">
64+
<use xlink:href="#logo-github"></use>
65+
</svg>
6266
</a>
6367
</div>
64-
<a href="https://jamstackconf.com/" class="block p-4 mt-4 bg-gradient-jams hover:bg-gradient-pink-orange font-bold text-center">Jamstack Conf</a>
6568
</div>
6669
</nav>
6770
</details>
68-
</header>
71+
</header>

src/site/_includes/layouts/base.njk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ ogimage: "/img/og/default-og-image.png"
5353
{% include "header.njk" %}
5454
</div>
5555
<div>
56-
{% include "banner.njk" %}
5756
{{ content | safe }}
5857
<div class="border-blue-800 border-t">
5958
{% include "footer.njk" %}

src/site/best-practices.njk

Lines changed: 0 additions & 68 deletions
This file was deleted.

src/site/index.njk

Lines changed: 17 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,23 @@ layout: layouts/base.njk
77
{% import "components/section-heading.njk" as section %}
88
{% import "components/zinger-cta.njk" as zinger %}
99

10-
<section class="mt-16">
11-
<p class="w-1/2">Comprehensive guide for building Jamstack sites and home of the global Jamstack community.</p>
12-
<h1 class="hero-text">The modern way to&nbsp;build <img src="/img/svg/websites-and-apps.svg" width="545" height="88" alt="Websites and Apps" class="inline-block mr-2 hero-text-img"> that delivers better performance</h1>
13-
<a href="/community" class="cta">Join the global community</a>
14-
</section>
15-
16-
<section class="mb-10 p-0">
10+
<section class="my-10 p-0">
1711
{{ ticker.icons() }}
1812
{{ ticker.main() }}
1913
</section>
2014

15+
<section class="relative p-10 mb-16">
16+
<div class="p-2 rounded-lg bg-gradient-jams" w-full>
17+
<div class="flex flex-col bg-blue-900 p-10">
18+
<a class="border-b-0" name="what-is-jamstack">
19+
<h1>What is <span class="font-extrabold text-transparent bg-clip-text bg-gradient-jams">Jamstack</span>?</h1>
20+
</a>
21+
22+
<p>Jamstack is an architectural approach that decouples the web experience layer from data and business logic, improving flexibility, scalability, performance, and maintainability. Jamstack removes the need for business logic to dictate the web experience. It enables a composable architecture for the web where custom logic and 3rd party services are consumed through APIs.</p>
23+
</div>
24+
</div>
25+
</section>
26+
2127
<section class="mb-10">
2228
<div class="border-2 border-white block rounded-xl shadow-lg text-center ">
2329
<img src="/img/conf-2022-tout.png" alt="Jamstack Conf 2022" class="rounded-xl w-2/3 mx-auto my-6">
@@ -35,62 +41,11 @@ layout: layouts/base.njk
3541
</div>
3642
</section>
3743

44+
{% include "components/join-the-movement.njk" %}
3845

39-
40-
<section class="mb-20">
41-
<h2>Why Jamstack</h2>
42-
<p class="w-2/3 mb-12">
43-
The Jamstack architecture has many benefits, whether you’re building a large e-commerce site, SaaS application or personal blog.
44-
</p>
45-
46-
{{ section.icons() }}
47-
48-
49-
50-
{{ section.benefit(
51-
"Better Performance",
52-
"#pink_lightning",
53-
"<p>
54-
Why wait for pages to build on the fly when you can generate them at deploy time? When it comes to minimizing the time to first byte, nothing beats pre-built files served over a CDN.
55-
</p>")
56-
}}
57-
{{ section.benefit(
58-
"Higher Security",
59-
"#blue_shield",
60-
"<p>
61-
With server-side processes abstracted into microservice APIs, surface areas for attacks are reduced. You can also leverage the domain expertise of specialist third-party services.
62-
</p>")
63-
}}
64-
{{ section.benefit(
65-
"Cheaper, Easier Scaling",
66-
"#orange_coins",
67-
"<p>
68-
When your deployment amounts to a stack of files that can be served anywhere, scaling is a matter of serving those files in more places. CDNs are perfect for this, and often include scaling in all of their plans.
69-
</p>")
70-
}}
71-
{{ section.benefit(
72-
"Better Developer Experience",
73-
"#teal_browser",
74-
"<p>
75-
Loose coupling and separation of controls allow for more targeted development and debugging, and the expanding selection of CMS options for site generators remove the need to maintain a separate stack for content and marketing.
76-
</p>")
77-
}}
78-
<a href="/why-jamstack" class="cta">Read more about the benefits of Jamstack</a>
79-
</section>
80-
81-
<div class="bg-gray-100 mb-20">
82-
<section>
83-
<h2 class="text-2xl">The future is highly distributed</h2>
84-
<p class="mt-6 mb-8">
85-
Jamstack is the new standard architecture for the web. Using Git workflows and modern build tools, pre-rendered content is served to a CDN and made dynamic through APIs and serverless functions. Technologies in the stack include JavaScript frameworks, Static Site Generators, Headless CMSs, and CDNs.
86-
</p>
87-
<img src="/img/svg/architecture.svg" alt="Jamstack architecture diagram, Bidirectional arrows between Client and CDN, Client and Microservices">
88-
</section>
89-
</div>
90-
91-
<section class="text-center mb-20">
46+
<section class=" mb-16">
9247
<div class="md:w-8/12 mx-auto">
93-
<h2>Rise of the Jamstack</h2>
48+
<h2>The Roots of Jamstack</h2>
9449
<p class="mt-6 mb-8">
9550
<a href="https://www.netlify.com/authors/matt-biilmann/">Matt Biilmann</a> took the concept of Jamstack mainstream with his presentation at Smashing Conf 2016. Watch the quintessential introduction to the Jamstack.
9651
</p>
@@ -101,8 +56,4 @@ layout: layouts/base.njk
10156
</div>
10257
<a href="/resources/" class="cta">See more videos and resources</a>
10358
</div>
104-
</section>
105-
106-
107-
{% include "components/join-the-movement.njk" %}
108-
59+
</section>

0 commit comments

Comments
 (0)