Skip to content

Greetings! This is my portfolio. Let me acquaintance you with my works ;)

License

Notifications You must be signed in to change notification settings

temp4422/temp4422.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio

Link to Portfolio Website

Greetings! This is my dev portfolio. Let me acquaintance you with my works ;)

Philosophy

Trying to KISS, while using latest and greatest core web technologies e.g. Web Components, SVG Sprites, ESNext, etc.

My framework: KISS-x

Use simplest html elements as components and combine them in static pages with simple script.

How is works ?

Make html tamplate with any tags that ends with '-x': <my_tag-x />. Traverse components dir and replace this tags with content of files that named coresponding to this tags. Do this for each page. End result: static pages.

DX is satisfying, because tend to modular approch with simple components, trying to reapeat modern frameworks e.g. React.

KISS-X aims:

  • Build static website without using any secondary libraries in production only core web technologies.
  • DX of modern frameworks like next (at least some), components approach.
  • No config delpoyment, just throw dist folder to any static server.

Rules & Constraints:

  • At the moment have to use tailwindcss for proper classes, because components with same classnames brake code.
  • Flat components encapsulation: at this moment, you can't include component inside another component
  • Currently optimzeCSS() function is not working properly.
  • Do NOT use same class and id names.

Next.js

  • Use Next.js on custom subdomain /next

TODO

  • Use components inside components
  • Fix optimzeCSS() - may take very much time, probably rebuilding from ground up.

CSS

  • Use css classes selectors to make css modules scope, and css tag selectors for global scope.
  • Use css classes inside <style></style> block inside each component, all related css classes will be replaced with ks-<hash>.

Deployment

  1. npm run build - build static pages according to explanation above using custom JS script
  2. Deploy anywhere on static hosting

About

Greetings! This is my portfolio. Let me acquaintance you with my works ;)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published