Skip to content

Templates Design pass - #66

Merged
gordon-stripe merged 7 commits into
mainfrom
stillings-design-pr64
Jul 14, 2026
Merged

Templates Design pass#66
gordon-stripe merged 7 commits into
mainfrom
stillings-design-pr64

Conversation

@mikestilling-stripe

Copy link
Copy Markdown
Collaborator

A design pass on PR 64.

Currently kicking around ideas—refactoring some things to make it easier to design. Happy to retrofit into the current JS structure once I get something that looks decent. (mostly, moved away from JS and made use of 11ty's built-in templating and data cause I'm not very handy with JS)

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
projects-site Ready Ready Preview, Comment Jul 14, 2026 6:15pm

Request Review

@gordon-stripe gordon-stripe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small comments

Comment thread src/_layouts/main.webc
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" :href="base.siteOrigin + page.url"/>
<link rel="canonical" :href="this.canonicalUrl || (base.siteOrigin + page.url)"/>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the changes to this file for?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to support the new template pages. They need an explicit canonicalUrl / ogUrl override so each generated page gets the correct metadata; all existing pages still use the old base.siteOrigin + page.url fallback.

See src/templates/family.11ty.js and src/templates/variant.11ty.js where we set these values for each of the templates.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it! Thanks!

}
}

const parseResponsiveAttr = (container, baseName) => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this vs just building responsive CSS?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a bigger question than this PR

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikestilling-stripe can you help with this question?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this because I needed to reposition the 3d object within the canvas element. Maybe this is achievable with CSS?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I'm very familiar with 11ty, Tailwind, and Webc—I'm not too familiar with WebGl, this part is fully vibe coded.

@gordon-stripe
gordon-stripe merged commit 351a822 into main Jul 14, 2026
2 checks passed
@gordon-stripe
gordon-stripe deleted the stillings-design-pr64 branch July 14, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants