- β‘οΈ Nextjs - The React Framework for Production.
- βοΈ React 18 - A JavaScript library for building user interfaces.
- π Typescript - A superset of JavaScript.
- β Vitest - A blazing fast unit test framework.
- π Chakra UI - Create accessible React apps with speed.
- π₯ Framer Motion - Production-ready motion library.
- π Phosphor Icons - A flexible icon family for everyone.
- β¬οΈ Next-PWA - Zero config PWA plugin for Next.js, with workbox.
You need:
- Clone the repository:
[email protected]:pheralb/svgl.git
- Install dependencies:
npm install
# or
yarn install
- Run:
npm run dev
# or
yarn dev
- Test & Build:
npm run ready
# or
yarn ready
Open localhost:3000 with your browser to see the result.
Yes! Here is a guide for you π₯³:
-
Clone the forked repository:
[email protected]:YOUR_USERNAME/svgl.git
-
Add the .svg logo here:
/public/library
. -
Add your logo information here following the structure:
/data/svgs.json
.
{
"id": 1,
"slug": "/library/your_logo.svg",
"title": "Logo Title",
"category": "Logo Category",
"url": "Your Website / app url"
}
- Create a commit and push:
git add .
git commit -m "π₯° Added my logo"
git push origin main
- Create a pull request with your changes and π₯³ ready.
- /api/all: returns all the logos.
- /api/search?id=2: returns the logo with id 2.
- /api/search?q=logo: returns the logo with query.
- β SVG Library: /public/library/.
- βοΈ SVG JSON logos: /data/.
- MIT.