/kromatic2023

Primary LanguageJavaScriptMIT LicenseMIT

kromatic2023

This is an eleventy site for Kromatic - (brainstorming changes for 2023).

Getting Started

  1. Clone this repo
  2. npm install
  3. npm run serve to start a local server

Deploying

This site is deployed to Netlify. Pushing to the main branch will trigger a new deploy.

Netlify Status

Editing Content

This site uses Eleventy to manage content (markdown files).

Adding a new page

  1. Create a new markdown file in the src directory
  2. Add the following frontmatter to the top of the file:
---
layout: base.njk

eleventyNavigation:
  key: <Page Title>
  order: <1>

---

  1. Add content below the frontmatter

Testing

This site uses Playwright for testing. To run the tests, run npm run test.

To update teh reference screenshots :

npx playwright test --update-snapshots