Skip to content
/ Linkhub Public template
forked from digitalmalayali/Linkhub

A minimal and super-lightweight free web template to use as an alternative to Linktree or Link-in-bio.

License

Notifications You must be signed in to change notification settings

Eavox/Linkhub

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

45 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Linkhub

A super-simple free web template to store and share your links like Linktree or Link-in-bio.

Static Badge Gem (including prereleases) Gem

Static Badge WordPress Theme Version WordPress Theme Downloads

Features

  • 😊 No installation or fancy setup; just replace links/icons!
  • πŸ“Έ Add links to Instagram posts similar to Later's link-in-bio!
  • ⚑ Uses a modified version of the lightweight CSS framework chota; the entire size of the site is around 250kb with minimum assets!
  • πŸŒ™ Switch between dark and light modes; automatically choose the mode based on your system preference!
  • 😍 Icons powered by iconify; find tons of free icons for almost any purpose!
  • πŸ”  Categorize links; store your links under various categories!

Screenshots

Dark Mode

Dark Mode

Dark Mode

Insta link-in-bio expanded

Dark Mode

Light Mode

Also available as

Usage

The first step is to click the Use this template button above the file list to create a new repository.

Modify social media links

Go to index.html file. Social media links are under,

<nav class="nav">

Just replace the existing links with yours and you're done!

<a class="brand" href="https://www.instagram.com/example/" target="_blank" aria-label="Instagram">

Change icons and icon colour

Go to iconify icon sets and search for the icon you want. E.g., if you want to replace the existing Instagram icon with another from a different set, copy the unique icon name and paste it into the data-icon attribute. You can also change the icon colour right there to match your branding or specific needs.

<span class="iconify-inline" data-icon="iconoir:instagram" style="color: #0054ff"></span>

Use custom icons in buttons

Add your custom svg icon inside <span class="custom-icon">. You can use SVGOMG to optimize SVG.

<a class="button outline secondary" href="https://productraid.com/" target="_blank">
  <span class="custom-icon">
    <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2" viewBox="0 0 3 3"><path d="M.652.2h1.446l-.238.886h.975l-.352 1.313H1.292l.114-.428h.749l.122-.457h-.374c-.684 0-1.283.46-1.46 1.12H0L.652.201ZM.98.63l-.122.457h.56L1.54.629H.98Z"/></svg>
  </span>Product Raid
</a>

Add/remove a social media icon along with the link

Just add/remove that entire <a> tag!

<a class="brand" href="https://www.instagram.com/example/" target="_blank" aria-label="Instagram">
  <span class="iconify-inline" data-icon="ri:instagram-fill" style="color: #0054ff"></span>
</a>

Add/remove Insta link-in-bio

If you'd like to completely remove the Insta link-in-bio, remove the entire <section>.

<section>
  <details>
    <summary class="text-center text-error">Insta Link-in-Bio</summary>
    <div class="insta-gallery">
      <div class="insta-item">
        <a href="https://radio.digitalmalayali.in/" target="_blank" aria-label="Insta link-in-bio">
          <img class="insta-img text-center" src="https://i.ibb.co/KykYQC8/radio.webp" width="100%"
              height="100%" alt="Insta post"></a>
      </div>
    </div>
  </details>
</section>

Also, make sure to remove these CSS classes from style.css as well:

section,
summary {
    margin: .8em 0 .5em
}
 
.insta-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
}

.insta-item {
    aspect-ratio: 1;
    margin: .2em;
    overflow: hidden
}

.insta-img {
    object-fit: cover;
    object-position: center
}

Adding a new link-in-bio is super easy. Make sure to add it at the start.

<div class="insta-item">
  <a href="https://radio.digitalmalayali.in/" target="_blank" aria-label="Insta link-in-bio">
    <img class="insta-img text-center" src="https://i.ibb.co/KykYQC8/radio.webp" width="100%"
      height="100%" alt="Insta post"></a>
</div>

Modifying link buttons

Link buttons are in the <main> tag. You can replace the existing links and icons just like you did for social media links.

<a class="button outline secondary" href="https://www.example.com/" target="_blank">
  <span class="iconify-inline" data-icon="ri:ball-pen-fill"></span>Example
</a>

Add/remove a button

Add/remove the entire class named row.

<div class="row">
  <div class="col is-center">
    <a class="button outline secondary" href="https://www.example.com" target="_blank">
      <span class="iconify-inline" data-icon="ri:ball-pen-fill"></span>Example
    </a>
  </div>
</div>

Add/remove a category

Add/remove the <h5> tag.

<h5 class="text-center">Blogs</h5>

Add/remove the NEW tag

Add/remove the <span class="tag">. Also, make sure to use/remove <div class="col link"> instead of <div class="col">.

<div class="row">
  <div class="col link is-center">
      <a class="button outline secondary" href="https://radio.digitalmalayali.in/" target="_blank"><span
        class="iconify-inline" data-icon="ri:radio-fill"></span>24/7
        Radio <span class="tag is-small bd-success text-success">New</span>
      </a>
  </div>
</div>

About

A minimal and super-lightweight free web template to use as an alternative to Linktree or Link-in-bio.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%