* Create folder for vercel app
* Ignore vercel directory for CI
* Exclude contents of vercel folder from package
* Initialize Svelte+TS project
* Add API endpoint for getting all languages
* Convert YAML to JSON in build
* Add API endpoint for getting a single language
* Don't stringify JSON before responding
* Add function to get language data
Conditionally gets data based on environment. If in production, then it
is gotten from the API, but if in development, it gets it from the local
file.
* Pluralize API
* Add some styling with a simple navbar
* Add route to ASCII preview
* Colorize ASCII previews
* Reduce vertical spacing in ASCII previews
* Add installation instructions to homepage
* Set type of key parameter
Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
* Fix incorrect response value
Requesting an individual language value was actually returning all languages.
Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
* Darken background of dark preview
The "terminal" background was too light and not representative of a typical configuration.
Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
* Display colored chip next to name in preview
* Move chip out of `<h3>`
Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
* Add language count to preview header
Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
* Fix chip on different line than title
* remove unused div
* fix hyperlink
* remove useless css class
* remove bg color of nav
* remove unused div
* remove app.css
* try to fix build
* bump sakura.css dep
* revert change on tsconfig.ts
* update tsconfig
* remove api
* directly read from yaml
* revert change on tsconfig
* bg set to white when dark checkbox is false
* remove yarn.lock
* reorganize folders
* link sakura.css from HTML
* switch to black if not dark and color is white
* only default to terminal fg color when ansi
* add .gitattributes file to exclude vercel from stats
* switch to language-documentation
* fix ally warning + type
* simplify logic for true color checkbox
* run prettier on all files
* added eslint
* run prettier
* run prettier
* static assets are served from root path
* prettier on .svelte files
* Resolve type error on YAML
* Ignore `dist/`
If a user runs `npm run build` locally to build the Vite deployment,
this folder will be generated with built assets. We probably don't want
those assets to be tracked.
* Make `languages.yaml` module pattern more specific
* use sakura earthly theme
* Add Vercel Deployment CI
* Fix labels for preview checkboxes
* Fix check step
* Fix styling of labels
* Make svelte-check more strict in CI
* Rename main vercel CI job
* Register Vercel subproject for dependabot
* fix alignement of label + checkbox
* add entry for vercel/ in CODEOWNERS
* fix svelte check
Co-authored-by: o2sh <ossama-hjaji@live.fr>