Our Story
{% comment %}
╔══════════════════════════════════════════════════════════════════╗
║ ESOM — Enhanced Page Template ║
║ Brand: Navy #1C2B45 · Cream #E8DFD0 · Gold #C4A35A ║
║ ║
║ HOW TO INSTALL: ║
║ Online Store → Themes → Edit Code ║
║ → templates/ → Add a new template → page ║
║ Name it: page.esom → paste this file ║
║ ║
║ Then on any Page: set template = "page.esom" ║
╚══════════════════════════════════════════════════════════════════╝
{% endcomment %}
{% if section.settings.show_cta %}
{% schema %}
{
"name": "ESOM Page",
"settings": [
{
"type": "header",
"content": "Page Title"
},
{
"type": "checkbox",
"id": "show_title",
"label": "Show page title",
"default": true
},
{
"type": "select",
"id": "title_alignment",
"label": "Title alignment",
"default": "left",
"options": [
{ "value": "left", "label": "Left" },
{ "value": "center", "label": "Center" },
{ "value": "right", "label": "Right" }
]
},
{
"type": "text",
"id": "eyebrow",
"label": "Eyebrow text (above title)",
"placeholder": "Est. 2017 · New York City",
"info": "Small uppercase label shown above the page title"
},
{
"type": "checkbox",
"id": "show_subtitle",
"label": "Show subtitle",
"default": false
},
{
"type": "textarea",
"id": "subtitle",
"label": "Subtitle / hero tagline",
"placeholder": "What started as a dream to give baristas a real stage..."
},
{
"type": "header",
"content": "Hero Style"
},
{
"type": "select",
"id": "hero_style",
"label": "Hero background",
"default": "cream",
"options": [
{ "value": "cream", "label": "Cream (light)" },
{ "value": "simple", "label": "Navy (dark)" },
{ "value": "full", "label": "Full photo hero" }
]
},
{
"type": "image_picker",
"id": "hero_image",
"label": "Hero background photo",
"info": "Only used when 'Full photo hero' is selected"
},
{
"type": "header",
"content": "Stats Bar"
},
{
"type": "checkbox",
"id": "show_stats",
"label": "Show stats bar",
"default": false
},
{
"type": "text",
"id": "stat_1_num",
"label": "Stat 1 — number",
"placeholder": "500+"
},
{
"type": "text",
"id": "stat_1_label",
"label": "Stat 1 — label",
"placeholder": "Students Trained"
},
{
"type": "text",
"id": "stat_2_num",
"label": "Stat 2 — number",
"placeholder": "100+"
},
{
"type": "text",
"id": "stat_2_label",
"label": "Stat 2 — label",
"placeholder": "Events Produced"
},
{
"type": "text",
"id": "stat_3_num",
"label": "Stat 3 — number",
"placeholder": "9"
},
{
"type": "text",
"id": "stat_3_label",
"label": "Stat 3 — label",
"placeholder": "Years Running"
},
{
"type": "text",
"id": "stat_4_num",
"label": "Stat 4 — number",
"placeholder": "#1"
},
{
"type": "text",
"id": "stat_4_label",
"label": "Stat 4 — label",
"placeholder": "NYC Coffee Events Org"
},
{
"type": "header",
"content": "Content Area"
},
{
"type": "select",
"id": "body_bg",
"label": "Content background",
"default": "white",
"options": [
{ "value": "white", "label": "White" },
{ "value": "cream", "label": "Cream" },
{ "value": "navy", "label": "Navy (dark)" }
]
},
{
"type": "range",
"id": "content_width",
"label": "Max content width",
"min": 600,
"max": 1200,
"step": 40,
"unit": "px",
"default": 800
},
{
"type": "range",
"id": "content_padding",
"label": "Vertical padding",
"min": 32,
"max": 120,
"step": 8,
"unit": "px",
"default": 72
},
{
"type": "header",
"content": "Bottom CTA Block"
},
{
"type": "checkbox",
"id": "show_cta",
"label": "Show CTA block at bottom",
"default": false
},
{
"type": "text",
"id": "cta_heading",
"label": "CTA heading",
"placeholder": "Ready to Be Part of the *ESOM Story?*",
"info": "Wrap text in * * to highlight it in gold"
},
{
"type": "text",
"id": "cta_subtext",
"label": "CTA subtext",
"placeholder": "Join us at the next throwdown or book a class."
},
{
"type": "text",
"id": "cta_btn1_label",
"label": "Button 1 label (gold)",
"placeholder": "🏆 See Upcoming Events"
},
{
"type": "url",
"id": "cta_btn1_url",
"label": "Button 1 link"
},
{
"type": "text",
"id": "cta_btn2_label",
"label": "Button 2 label (ghost)",
"placeholder": "🎓 Explore Classes"
},
{
"type": "url",
"id": "cta_btn2_url",
"label": "Button 2 link"
},
{
"type": "text",
"id": "cta_btn3_label",
"label": "Button 3 label (ghost, opens new tab)",
"placeholder": "🌟 Become a Sponsor"
},
{
"type": "url",
"id": "cta_btn3_url",
"label": "Button 3 link"
}
]
}
{% endschema %}
{% if section.settings.hero_style == 'full' %}
{% endif %}
{% if section.settings.show_stats %}
{% if section.settings.eyebrow != blank %}
{{ section.settings.eyebrow }}
{% endif %}
{% unless section.settings.show_title == false %}
{{ page.title }}
{% endunless %} {% if section.settings.show_subtitle and section.settings.subtitle != blank %}{{ section.settings.subtitle }}
{% endif %}
{% if section.settings.stat_1_num != blank %}
{% endif %}
{{ section.settings.stat_1_num }}
{{ section.settings.stat_1_label }}
{% endif %}
{% if section.settings.stat_2_num != blank %}
{{ section.settings.stat_2_num }}
{{ section.settings.stat_2_label }}
{% endif %}
{% if section.settings.stat_3_num != blank %}
{{ section.settings.stat_3_num }}
{{ section.settings.stat_3_label }}
{% endif %}
{% if section.settings.stat_4_num != blank %}
{{ section.settings.stat_4_num }}
{{ section.settings.stat_4_label }}
{% endif %}
{{ page.content }}
{% if section.settings.cta_heading != blank %}
{% endif %}
{{ section.settings.cta_heading | replace: '*', '' | replace: '*', '' }}
{% endif %} {% if section.settings.cta_subtext != blank %}{{ section.settings.cta_subtext }}
{% endif %}
{% if section.settings.cta_btn1_label != blank %}
{{ section.settings.cta_btn1_label }}
{% endif %}
{% if section.settings.cta_btn2_label != blank %}
{{ section.settings.cta_btn2_label }}
{% endif %}
{% if section.settings.cta_btn3_label != blank %}
{{ section.settings.cta_btn3_label }}
{% endif %}