Skip to content

Web component to allow users download multiple logotype image types when they trying to grab low resolution logo.

License

Notifications You must be signed in to change notification settings

tiagoporto/logo-downloadtip

Repository files navigation

Logo Downloadtip Open Source Love

Release Downloads install size

Webcomponent to allow users download multiple logotype image types when they trying to grab low resolution logo.

The original ideia for this project was by Nicklas Jarnesjö after seeing relogo, but the microformats rejected the initiative, the project was discontinued and I decided to continue.

Installation 📦

npm i logo-downloadtip

Usage ➡️

<html>
  <head>
    <link
      rel="icon"
      type="image/svg"
      href="./img/logo.svg"
      data-title="Vector file (.svg)"
    />
  </head>

  <logo-downloadtip>
    <img src="./img/logo.svg" alt="Logo" />
  </logo-downloadtip>

  <script type="module" src="./logo-downloadtip.js"></script>
</html>

Options

<logo-downloadtip title="Tolltip Title" position="top|bottom|right|left">
</logo-downloadtip>

Development 🛠

Pre-requirements

Install node

nvm install

Install pnpm

corepack enable pnpm

Install dependencies

pnpm install

Install

pnpm install

License 📄

This project is licensed under the MIT License.