I've created a new product page layout variant inspired by the Campfire product page design. This layout provides a clean, left-aligned design with a fixed right sidebar for pricing and purchase, matching the actual Campfire page structure.
max-w-7xl
container with 3-column gridlg:col-span-2
)lg:col-span-1
)lg:sticky lg:top-8
)Create a new .md
file in the appropriate product directory (e.g., src/products/templates/
) and set the layout to productCampfire.njk
:
---
layout: productCampfire.njk
mpn: [your-mpn]
# ... other frontmatter
---
The layout uses the same frontmatter structure as the existing productListing.njk
, so you can copy from existing product pages:
---
layout: productCampfire.njk
mpn: 1004
eleventyComputed:
title: ""
# ... other computed values
tags:
- templates
- [other tags]
gumroadLink: [your-gumroad-link]
screenshots:
- /assets/screenshots/image1.jpg
- /assets/screenshots/image2.jpg
productCopy:
highlights: "Your product description..."
testimonial:
name: "Customer Name"
title: "Title"
company: "Company"
image: "/assets/customer.jpg"
quote: "Customer testimonial..."
featuresCapTableYes:
- Feature 1
- Feature 2
- Feature 3
---
The layout conditionally displays sections based on available data:
screenshots
array is providedfeaturesCapTableYes
array is providedtestimonial
object is providedtemplates
tag, is not in prelaunch, and has faqs
datareviews
or flagShowReviews
is providedHeader
├── Navigation Breadcrumbs/Tags
├── Main Layout (3-column grid)
│ ├── Left Content Area (2 columns)
│ │ ├── Hero Section
│ │ │ ├── Title
│ │ │ ├── Subtitle (if available)
│ │ │ └── Description
│ │ ├── "What is it?" Section
│ │ │ ├── Highlights
│ │ │ ├── Model Structure
│ │ │ ├── Modeling Revenues
│ │ │ ├── Modeling Costs
│ │ │ ├── Financial Reporting
│ │ │ ├── Getting Started
│ │ │ └── Support
│ │ ├── Testimonial (if available)
│ │ ├── "Take a closer look" Section
│ │ ├── "What's included?" Section
│ │ ├── Reviews Section
│ │ ├── FAQ Section (no accordion)
│ │ ├── Purchase Details
│ │ ├── Author Information
│ │ └── Additional Content
│ └── Fixed Right Sidebar (1 column)
│ ├── Pricing Card
│ │ ├── Title
│ │ ├── Price & Rating
│ │ ├── CTA Button
│ │ └── User Count
│ └── "What's included?" Card
└── Footer
Feature | Original (productListing.njk ) | New (productCampfire.njk ) |
---|---|---|
Layout | Side-by-side hero | Left content + fixed sidebar |
Container Width | max-w-7xl | max-w-7xl |
Content Structure | Inline sections | Left-aligned with sticky sidebar |
Product Copy | Accordion sections | Inline sections |
FAQ | Accordion questions | Inline questions |
Purchase CTA | In hero section | Fixed in sidebar |
Mobile Experience | Good | Enhanced with stacked layout |
See src/products/templates/cap-table-campfire.md
for a complete example of how to use this layout with an existing product.
The layout leverages existing partials, so any updates to those partials will automatically apply to this layout. You can also customize the layout by:
productCampfire.njk
template directlyTo migrate an existing product page to use this layout:
layout: productListing.njk
to layout: productCampfire.njk
The layout is designed to be a drop-in replacement that works with existing product data structures while providing a more modern, conversion-optimized user experience.