Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 813 Bytes

docs.md

File metadata and controls

6 lines (5 loc) · 813 Bytes

Documentation

Some things I learned while making this website

#####Next.js

  • Apparently, stand-alone Next Component files are typically named in PascalCase, while files for Components used in routing are in hyphenated-lower-case
  • Finding a way to pass props to an SVG file was a first-time experience and took longer than expected. Next's <Image> component doesn't really allow modification to the src link's content, and I was pretty adamant on not using inline svg's for cleanliness and modularity's sake. Props wouldn't pass on the svg tag's attributes, but a combination of setting the color attribute to currentColor a div wrapper did the trick!