Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

LDGUEST/dawn

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1,230 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Cooking with Kahnke - Custom Landing Page

Shopify Dawn Theme with Built-in Customer Integration

A pixel-perfect custom landing page matching your screenshot design, built for the Shopify Dawn theme with Digital Downloads compatibility and Shopify customer integration.


🎯 Overview

This landing page features:

  • Mint green gradient background (#A8E6CF β†’ #7FD9B3)
  • Header card with custom cloche logo, branding, and social icons
  • 4x4 product image grid (16 images total)
  • Product showcase compatible with Digital Downloads app
  • Newsletter signup integrated with Shopify Customers
  • Fully responsive design (mobile, tablet, desktop)
  • Easy customization via Shopify Theme Customizer

πŸ“ File Structure

dawn/
β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ custom-landing-styles.css      # All styling and responsive design
β”‚   └── kahnke-newsletter.js           # Brevo API integration
β”œβ”€β”€ sections/
β”‚   └── custom-landing-page.liquid     # Main landing page section
β”œβ”€β”€ templates/
β”‚   └── page.landing-kahnke.json       # Page template configuration
β”œβ”€β”€ layout/
β”‚   └── theme.liquid                   # Modified to include CSS/JS assets
β”œβ”€β”€ INSTALLATION.md                     # Complete installation guide
β”œβ”€β”€ QUICK_START.md                      # Quick 3-step setup guide
└── README.md                           # This file

πŸš€ Quick Start

1. Files are already in place

All files have been created in your Dawn theme and are ready to use.

2. Create a Page

  • Go to Online Store β†’ Pages β†’ Add page
  • Set template to page.landing-kahnke

3. No email setup needed

  • Newsletter signups go to Shopify β†’ Customers
  • Tagged with "newsletter" for easy filtering
  • Export anytime to your email tool

4. Customize Content

  • Open Theme Customizer
  • Fill in all text fields
  • Upload 16 product images
  • Link Buy button to your Digital Downloads product

See QUICK_START.md for detailed 3-step instructions See INSTALLATION.md for complete setup guide


✨ Features

Design Features

  • βœ… Exact screenshot match
  • βœ… Custom SVG cloche logo with steam
  • βœ… Professional color scheme
  • βœ… Card-based layout with shadows
  • βœ… Smooth hover animations
  • βœ… Modern, clean aesthetic

Technical Features

  • βœ… CSS variables for easy color customization
  • βœ… Mobile-first responsive design
  • βœ… Lazy loading images for performance
  • βœ… Deferred JavaScript loading
  • βœ… AJAX form submission (no page reload)
  • βœ… Error handling and validation
  • βœ… Brevo API integration

Customization Features

  • βœ… All text editable via Theme Customizer
  • βœ… 16 image upload fields
  • βœ… Social media link management
  • βœ… Product info configuration
  • βœ… Newsletter form customization
  • βœ… No coding required for content updates

🎨 Design Specifications

Colors

Primary Teal:        #2D5F5D
Teal Hover:          #234846
Gradient Start:      #A8E6CF (light mint)
Gradient End:        #7FD9B3 (deeper mint)
White Cards:         #FFFFFF
Text Dark:           #333333
Text Gray:           #666666
Text Light:          #999999

Typography

  • System font stack for optimal performance
  • Font sizes: Responsive from 13px to 32px
  • Letter spacing for improved readability
  • Bold weights for headers (700-800)

Spacing

  • Container max-width: 600px
  • Card padding: 40px desktop, 30px mobile
  • Gap between sections: 30px
  • Border radius: 20px (cards), 12px (buttons)

Responsive Breakpoints

  • Desktop: >768px (2-column product layout)
  • Tablet: 768px (1-column stack)
  • Mobile: 480px (optimized spacing)
  • Extra Small: 360px (3-column grid)

πŸ“§ Brevo Integration

How It Works

  1. User fills out newsletter form (first name + email)
  2. JavaScript validates input client-side
  3. AJAX request sent directly to Brevo API
  4. Contact added to specified Brevo list
  5. Success/error message displayed to user

Setup Requirements

  • Brevo account (free tier available)
  • API key with "Contacts" permissions
  • List ID from your Brevo contacts list

Features

  • βœ… Duplicate contact handling
  • βœ… Form validation
  • βœ… Error messages
  • βœ… Success confirmation
  • βœ… Loading states
  • βœ… No page refresh

πŸ›’ Digital Downloads Integration

Compatible With

  • Shopify Digital Downloads app
  • Sky Pilot Digital Downloads
  • SendOwl
  • Any digital product delivery method

How to Connect

  1. Create product in Shopify
  2. Add digital file via your app
  3. Get product URL (e.g., /products/recipe-book)
  4. Enter URL in Buy Button URL setting
  5. Customize button text if desired

πŸ“ Customization Options

Via Theme Customizer (No Coding)

Header Section:

  • Brand name
  • Author name
  • Location text
  • Tagline
  • Social media URLs (TikTok, Instagram, YouTube, Facebook)

Product Section:

  • Product title
  • Product description
  • Product price
  • Buy button text and URL
  • 16 product images (4x4 grid)

Newsletter Section:

  • Social handle
  • Newsletter description
  • Subscribe button text
  • Brevo API key
  • Brevo List ID

Via CSS File (For Developers)

Colors: Edit assets/custom-landing-styles.css lines 7-18

Spacing:

  • Card gap: line 34
  • Card padding: line 44
  • Border radius: line 43

Typography:

  • Font family: line 25
  • Font sizes: throughout file
  • Font weights: throughout file

🎯 Use Cases

This landing page is perfect for:

  • πŸ“• Digital product sales (PDFs, eBooks, courses)
  • πŸ“§ Email list building
  • 🎁 Lead magnets and freebies
  • πŸš€ Product launches
  • 🏠 Store homepage
  • πŸ“± Social media link destination
  • 🎯 Paid ad landing page

πŸ“± Mobile Optimization

Responsive Design

  • Flexbox and CSS Grid layouts
  • Mobile-first approach
  • Touch-friendly tap targets
  • Optimized images for mobile bandwidth
  • Readable text sizes on small screens

Mobile Features

  • Logo/brand stacks on small screens
  • Product grid becomes 3 columns on tiny screens
  • Reduced padding on mobile
  • Optimized spacing for thumbs
  • Fast loading with lazy images

⚑ Performance

Built-In Optimizations

  • Lazy loading images
  • Deferred JavaScript
  • Minimal CSS (no unused code)
  • Compressed SVG icons
  • Efficient grid layouts
  • Native browser features

Performance Tips

  • Compress images before upload (TinyPNG)
  • Use Shopify's image CDN (automatic)
  • Enable theme minification
  • Test with Google PageSpeed Insights
  • Aim for <3 second load time

πŸ› Troubleshooting

Common Issues

Newsletter form not working?

  • Verify Brevo API key is correct
  • Check List ID matches your Brevo list
  • Ensure API key has "Contacts" permission
  • Check browser console for errors (F12)

Styles look wrong?

  • Clear browser cache (Ctrl+F5)
  • Verify CSS file is in assets folder
  • Check theme.liquid includes CSS link
  • Inspect page to verify CSS is loading

Images not showing?

  • Upload via Theme Customizer only
  • Use square images (1:1 ratio)
  • Keep file size under 2MB each
  • Verify images uploaded successfully

Page is blank?

  • Verify correct template is selected
  • Check section exists in sections folder
  • Review for syntax errors in Liquid
  • Check Shopify theme editor for errors

See INSTALLATION.md for detailed troubleshooting


πŸ”’ Security

API Key Handling

  • API key stored in theme settings
  • Key is included in HTML (safe for Brevo's CORS setup)
  • Key only has contact creation permissions
  • Cannot be used to access account settings
  • Rate-limited by Brevo automatically

Best Practices

  • Use API key with minimal permissions
  • Monitor Brevo activity regularly
  • Rotate API keys periodically
  • Consider server-side proxy for extra security

πŸ“ˆ Analytics & Tracking

Recommended Tracking

Google Analytics:

<!-- Track button clicks -->
onclick="gtag('event', 'click', {
  'event_category': 'CTA',
  'event_label': 'Buy Now'
});"

Facebook Pixel: Add conversion tracking for purchases and signups

Shopify Analytics: Monitor traffic, conversions, and revenue automatically


πŸŽ“ Learning Resources

Official Documentation

Community Resources


🀝 Support

Documentation Files

  • QUICK_START.md - 3-step setup guide
  • INSTALLATION.md - Complete installation and configuration
  • README.md - This overview document

Getting Help

  1. Check the documentation files first
  2. Review browser console for errors (F12)
  3. Test in incognito mode to rule out cache issues
  4. Search Shopify Community forums
  5. Contact Brevo support for API issues

πŸ“¦ What's Included

Assets (2 files)

  • custom-landing-styles.css - All styling (415 lines)
  • kahnke-newsletter.js - Brevo integration (157 lines)

Sections (1 file)

  • custom-landing-page.liquid - Main section (355 lines)

Templates (1 file)

  • page.landing-kahnke.json - Page configuration

Layout (1 modification)

  • theme.liquid - Added CSS and JS links

Documentation (3 files)

  • INSTALLATION.md - Complete guide
  • QUICK_START.md - Quick setup
  • README.md - Overview

βœ… Pre-Launch Checklist

  • Page created with correct template
  • Brevo API key configured
  • Brevo List ID configured
  • All 16 images uploaded (800x800px+)
  • Product title and description added
  • Price set correctly
  • Buy button links to Digital Downloads product
  • All social media links working
  • Newsletter form tested successfully
  • Text proofread for typos
  • Page tested on mobile device
  • Page tested on tablet
  • Page tested on desktop
  • Page loads in under 3 seconds
  • All links use HTTPS
  • Google Analytics installed (optional)

πŸŽ‰ You're Ready!

Your custom landing page is fully implemented and ready to use. Follow the QUICK_START.md guide to set up your page in 3 simple steps.

Next Steps

  1. Create your page in Shopify
  2. Add Brevo credentials
  3. Upload images and content
  4. Test everything
  5. Go live!

πŸ“„ License

This code is provided for use with your Shopify Dawn theme. You have full rights to use, modify, and customize it for your store.


🌟 Features Summary

Feature Included
Responsive Design βœ…
Brevo Integration βœ…
Digital Downloads Compatible βœ…
Theme Customizer Settings βœ…
Social Media Links βœ…
4x4 Image Grid βœ…
Gradient Background βœ…
Custom Logo SVG βœ…
Mobile Optimized βœ…
Performance Optimized βœ…
Error Handling βœ…
Form Validation βœ…
Documentation βœ…

Ready to launch your lettuce wrap empire! πŸ₯—

For detailed setup instructions, see QUICK_START.md or INSTALLATION.md.

About

Shopify's first source available reference theme, with Online Store 2.0 features and performance built-in.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Liquid 61.3%
  • CSS 24.0%
  • JavaScript 14.7%