+
Skip to content

xmbsm/svglogo

 
 

Repository files navigation

关于

本站将专注收录国内矢量 LOGO 素材,目前包含国内社媒、大学校徽、气象预警及工具产品等。
正持续收录中……
欢迎 提交or反馈 你想要的 LOGO
你可以在svgl 找到国外热门矢量 LOGO,本站也基于此开源项目开发。
还可以在urongda找到更全的中国大学矢量校徽和相关物料。

支持我

👋 嗨!我是 Huazi 你可以通过微信支付宝支持我持续更新 打赏码

版权

本网站展示的矢量图形均为网络搜集、整理,仅供学习参考,不保证其权威性、准确性。其版权均严格归属于各自对应公司机构。严禁未经授权的复制、修改、传播或商业使用。本网站无法对用户使用LOGO后的具体行为及其法律后果承担责任。

感谢以下朋友和和开源项目

感谢 @猫柚 @小柒 教我如何部署项目
本站基于开源项目 svgl 开发制作
中国大学矢量校徽合集 @普鲁文
预警信号ICON @岩鸣杨子

🛠️ 技术栈

🚀 启动项目

Important

Before submitting the SVG, make sure that you have permission or that the license of the SVG allows you to add it to svgl. If you are not sure, please contact the company or author.

You will need:

  1. Fork this repository and clone it locally:
git clone git@github.com:your_username/svgl.git
  1. Install dependencies:
# Install pnpm globally if you don't have it:
npm install -g pnpm

# and install dependencies:
pnpm install
  1. Go to the static/library folder and add your .svg logo.

  2. Go to the src/data/svgs.ts and add the information about your logo, following the structure:

  • If the logo is a solid color:
{
  "title": "Title",
  "category": "Category",
  "route": "/library/your_logo.svg",
  "url": "Website"
}
  • If the logo has logo + wordmark version:
{
  "title": "Title",
  "category": "Category",
  "route": "/library/your_logo.svg",
  "wordmark": "/library/your_logo_wordmark.svg",
  "url": "Website"
}
  • If the logo/wordmark has light and dark mode:
{
  "title": "Title",
  "category": "Category",
  "route": {
    "light": "/library/your_logo_light.svg",
    "dark": "/library/your_logo_dark.svg"
  },
  "wordmark": {
    "light": "/library/your_wordmark-logo_light.svg",
    "dark": "/library/your_wordmark-logo_dark.svg"
  },
  "url": "Website"
}

Note

  • The list of categories is here: src/types/categories.ts. You can add a new category if you need it.
  • You can add multiple categories to the same logo, for example: "category": ["Social", "Design"] (max 3 categories per logo).

And create a pull request with your logo 🚀.

  1. (Optional) If you want to run the API locally, you will need to create a .env file in the root of the project with the following variables:
SVGL_API_REQUESTS = 1
UPSTASH_REDIS_URL = ""
UPSTASH_REDIS_TOKEN = ""
```                                            |

## ✌️ Contributing


## 🔑 License

- [MIT](https://github.com/pheralb/svgl/blob/main/LICENSE).

About

免费在线下载矢量LOGO素材,专注收录国内矢量LOGO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 75.7%
  • TypeScript 22.7%
  • Other 1.6%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载