* feat: add nextjs middleware handling split
* fix: eslint errors
* fix: filter boolean from csp list
* fix: feature flag nextjs server start
* feat: add prettier rules for ts,tsx files
* fix: remove unnecessary async from next middleware
* fix: next middleware name
* Update tsconfig.json
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Update next-env.d.ts
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* fix: add typescript linting to lint command
* add comment for unsafe-eval, update webpack to use eval in development
* fix: feature flag typo
Co-authored-by: James M. Greene <JamesMGreene@github.com>
* Middleware overhaul!
- Remove unnecessary 'async' keywords from middleware functions
- Ensure all middleware functions we create have names
- Wrap the method contents of all async middleware functions in a try-catch+next(error) pattern
* Use asyncMiddleware wrapper instead of try-catch+next(error) pattern
* Remove unnecessary try-catch+next(error) pattern from context middleware
* get link liquid tag to accept variables as param
* new liquid tag `link_as_article_card`
* refactor link liquid tag slightly so we can control what props get rendered
* generalize filterCodeExample to use in all guides section
* pass in `js-filter-card-max` instead of hardcode max
* tweaks and add `data` to CSP for images
* add liquid tag tests
* add some browser tests for card filters
* we still need to rely on `getPathWithLanguage` for hrefs that already have the language code embedded
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
* Remove unsafe eval
* Actually, we're not using this anyways
* Reset package-lock, I have no idea why this keeps changing
* Update csp.js
* Update server.js
* Add custom hover shadows
* Support avatars
* Add guide-card include
* Use it in product-landing
* Add gradient styles
* Add guides frontmatter
* Use guideArticles instead of full objects
* Add support for authors
* Add support for category header
* Just pass the whole page
* Use it
* guide.url => guide.href
* Use `*.githubusercontent.com`
* Fix mobile card width
* Remove showDescription check
* Use featureLinks.guideCards
* Forgot an if
* Remove support banner
* Just use login instead of name/avatarUrl
* Change card spacing
* Use circular avatars
* Add margin beneath "Guides"
* Use smaller font
* Even moar spacing
* Remove category
* Remove lead text, move button to bottom right
* update guide cards
* Change author of setting up ci to GitHub
* Attribute node js guide to GitHub
* Add author tag to powershell guide
* update top guides section with correct actions links
* Enforce size for single avatars
* Adjust spacing
Co-authored-by: Cynthia Rich <crichID@users.noreply.github.com>