/wcd-ssg-antd

JAMstack, TypeScript, React, Nextjs, Vercel, Static Site Generation, Cloudinary, Graymatter, Remark (md to html)

Primary LanguageTypeScriptMIT LicenseMIT

wcd-ssg-antd 🐜🐜SSG🐜🐜BUILD🐜🐜🐜🐜

Browserl.ist - target browsers

CSS Modules - Code Splitting

Antd layout breakpoint width

.breakpointWidth{
  xs: '480px';
  sm: '576px';
  md: '768px';
  lg: '992px';
  xl: '1200px';
  xxl: '1600px';
}

React Components - Foundation of Ant Design

Transitions

Default Antd styling by component

generate JSX from .svg files via the command line

$ npx @svgr/cli --icon Logo.svg
  • target the .svg file
  • copy paste the output of the command line into a .tsx (or .jsx) file
  • voila

[name].module.css - component level styles

Deep Dive - Rendering on the Web READ THIS → yes, the reader

Use less with antd

Next vs Gatsby vs CRApp