No description
- JavaScript 43.2%
- SCSS 30.6%
- HTML 24.8%
- Dockerfile 1.4%
| src | ||
| .dockerignore | ||
| .eslintrc.js | ||
| .gitignore | ||
| .stylelintrc | ||
| docker-compose.yml | ||
| Dockerfile | ||
| gulpfile.js | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Url encoder for SVG
http://yoksel.github.io/url-encoder
Usage
- Take
svg. - Encode it with url-encoder.
- Use code as
background-imageorborder-imageormask. - Enjoy!
Demo: https://codepen.io/yoksel/full/WNrLpYW.
Run with Docker
Build and run with Docker Compose:
docker compose up --build
Open: http://localhost:8080
Or build/run directly with Docker:
docker build -t url-encoder .
docker run --rm -p 8080:8080 url-encoder
How to add translate
- Create translation file (use
src/translate/en.jsonas example) and place it tosrc/translate/ - Add new language to section
langsin all translation files - Add item with your language to section
translatesingulpfile.js. - Run
npm startin console (wait until project will be opened in browser) and check all pages:- Link to new page must appear in all pages
- In the page with new translate new language in list must looks like current (bold and black)
- Send pull request