📚一个拥有 SVG 徽标的美丽图书馆。使用 Sveltekit 与 Tailwind CSS 构建。 https://svgl.app/
Go to file
2022-07-24 00:45:01 -04:00
data ⚒️ Fix url. 2022-06-29 17:00:56 +01:00
public ⚒️ Resized image. 2022-06-29 17:01:25 +01:00
src fix!: LInk hover 2022-07-24 00:45:01 -04:00
.eslintrc.json ⚒️ New improvements, design and components. 2022-06-20 16:58:05 +01:00
.gitignore ⚒️ Add .swc folder. 2022-06-29 17:00:02 +01:00
.nvmrc docs!: Added nvmrc with version node recommend 2022-07-24 00:08:28 -04:00
LICENSE New design, new icons and license added 2022-02-18 17:19:05 +00:00
next-env.d.ts ⚒️ Preparate boilerplate v2 - Typescript + React 18. 2022-06-03 11:53:50 +01:00
next-seo.config.ts ⚒️ Fix next-seo.config. 2022-06-28 14:00:13 +01:00
next.config.js ⚒️ Add PWA config & meta tags. 2022-06-21 15:17:47 +01:00
package-lock.json ⚒️ Clean dependencies. 2022-06-29 17:00:30 +01:00
package.json ⚒️ Update dependencies. 2022-06-29 16:07:21 +01:00
README.md ⚒️ Fix readme. 2022-06-28 13:15:46 +01:00
tsconfig.json ⚒️ Project structure. 2022-06-04 23:48:13 +01:00
vitest.config.ts ⚒️ Initial vitest config. 2022-06-23 17:20:49 +01:00

SVGL Banner

📦 Packages:

  • 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.

🚀 Getting started:

You need:

  1. Clone the repository:
git@github.com:pheralb/svgl.git
  1. Install dependencies:
npm install
# or
yarn install
  1. Run:
npm run dev
# or
yarn dev
  1. 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 🥳:

  1. Fork the repository.

  2. Clone the forked repository:

git@github.com:YOUR_USERNAME/svgl.git
  1. Add the .svg logo here: /public/library.

  2. 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"
}
  1. Create a commit and push:
git add .
git commit -m "🥰 Added my logo"
git push origin main
  1. Create a pull request with your changes and 🥳 ready.

🚂 Api endpoints:

- /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.

⚒️ Shortcuts:

🔑 License: