Skip to content

Gnarly Links is an Open Source HTML Template to link your art/music/game product pages. It's Mobile-First, Social Media optimized, and easy as adding a page to your site.

License

Notifications You must be signed in to change notification settings

NickCulbertson/Gnarly-Links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 

Repository files navigation

Gnarly Links

An Open Source HTML Template to link your digital media product pages. It's as easy as adding a page to your site.

(Click the image to watch Gnarly Links Introduction & Tutorial)

Gnarly Links Introduction & Tutorial

Features

• Clean Mobile-First Design

• Attractive Social Media Embeds

• Store Marketing Badges **

• Easy to Use

• Fully Customizable & Open Source

** All marketing badges are trademarks of their respective companies. They are presented in accordance to their marketing resources and identity guidelines. See their sites for more info on presenting marketing banners to their specifications.

Demos

Website: http://www.gnarlylinks.com

Music Example: http://www.mobypixel.com/synthwave-escape-original-game-soundtrack

Album

Game Example: http://www.mobypixel.com/synthwave-escape

Game

Implementation

  1. Download the "GnarlyLinks_Template" folder. Here you will find index.html, gnarlystyle.css, sample.mp3, .htaccess, and an image folder.

index.html - The page people will see when they visit http://www.YOUR_WEBSITE_NAME.com/YOUR_FOLDER_NAME

gnarlystyle.css - The styles for this page.

sample.mp3 - If you are sharing audio, it might be nice to have a sample. Replace it with your own "sample.mp3" file or delete it if you're not using the audio tag.

.htaccess - This file will remove the need to include "index.html" as url extension.

img - This is where all the art for the page and store badges is stored. Feel free to delete the badges you don't need or add your own.

  1. Change the "GnarlyLinks_Template" folder name to whatever you like. I recommend your project name with a - between words.

  2. Open the index.html in a code editor and update it with all your product information.

  3. Adding your cover artwork by replacing the "cover.png" file in the img folder. You can change the background by replacing the "bg.png" or use the one provided (it does looks pretty sweet).

  4. Add Links to your product. Search through the img folder to see which branding icons are available or add your own. Here is how to add a row:

<!-- Item Row -->
<div class="rowDiv">
    <a href="https://STORE_URL_LINK" class="rowLink" target="_blank"></a>
    <img class="rowIcon" src="img/samplerow.png" height="40" alt="Store Name"></img>
    <img class="rowArrow" src="img/arrow.png" height="20" width="13" alt="Visit Link"></img>
</div>

Example: App Store Link

<!-- Item Row -->
<div class="rowDiv">
    <a href="https://STORE_URL_LINK" class="rowLink" target="_blank"></a>
    <img class="rowIcon" src="img/appstore.png" height="40" alt="App Store"></img>
    <img class="rowArrow" src="img/arrow.png" height="20" width="13" alt="Visit Link"></img>
</div>
  1. Add the entire folder to your site's root directory. Now your page is available at http://www.YOUR_WEBSITE_NAME.com/YOUR_FOLDER_NAME

  2. Share the link and do the happy dance!

Optional Features

You can add an audio sample to your page:

<!-- Audio Sample -->
<audio controls><source src="sample.mp3" type="audio/mpeg"></audio>

If you want a rectangular cover image you can remove or change height value of .coverArt in the gnarlystyle.css file:

gnarlystyle.css

.coverArt {
    ...
    height:  320px;
    ...
}

You can separate your rows into sections by adding headers:

<!-- Section Header -->
<div class="rowHeaderDiv">
    <p>Header Title</p>
</div>

This script can be used if you'd like to redirect your visitors automatically to a store if they are on mobile. This can be useful if you have a game on the App Store and you want iPhone visitors to be redirected to the App Store page instead of your link page. Add this in your <header></header> tag:

<!-- Mobile Auto Redirect -->
<script>
    var agent = navigator.userAgent.toLowerCase();
    if (agent.search("iphone") > -1 || agent.search("ipod") > -1 || agent.search("ipad") > -1 || agent.search("appletv") > -1) {
        //App Store
        window.location.href = "APP_STORE_LINK";
    }else if (agent.search("android") > -1) {
        //Google Play
        window.location.href = "GOOGLE_PLAY_STORE_LINK";
    }else {
         
    }
</script>

Add social media links to the bottom of the page:

<!-- Share Your Socials -->
<div class="textBubbleDiv">
    <p>Follow us:
        <a href="https://www.twitter.com/" target="_blank"><img class="socialLink" src="img/twitter.png" height="25" width="25" alt="Visit Link"></img></a>
        <a href="https://www.facebook.com" target="_blank"><img class="socialLink" src="img/facebook.png" height="25" width="25" alt="Visit Link"></img></a>
        <a href="https://www.instagram.com" target="_blank"><img class="socialLink" src="img/instagram.png" height="25" width="25" alt="Visit Link"></img></a>
    </p>
</div>

Embed a YouTube video by copying the embed code from the "share" button on your video's page, and pasting it inside of your <div class="descriptionDiv"> tag (See the Game Example). Note the changes to the video's width and height:

<!-- YouTube Preview Video -->
<iframe width="320" height="180" src="YOUR_EMBED_LINK" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

About Gnarly Links

This project was born out of necessity. I launched an album to all the platforms, and I relied on a service to share those links in one place. I didn't like the idea of those pages going away if I stopped using their service, so I made my own. I'm making this template Open Source because I want to empower creatives to support themselves. You've worked too hard, too long to give away control. I hope it helps make your first impression for your followers most triumphant!

If you have any questions, suggestions, or feedback please send them my way. This is as much for me as it is for you. If you use it, send me a link! I'd love to see your work.

Enjoy!

Nick Culbertson @MobyPixel

MobyPixel.com

Want to support Gnarly Links?

Share the project and/or drop some change in the tip jar. If I've saved you some time, please consider a small donation so that I can keep making cool stuff. Donations are not required, but greatly appreciated! :D

paypal

About

Gnarly Links is an Open Source HTML Template to link your art/music/game product pages. It's Mobile-First, Social Media optimized, and easy as adding a page to your site.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published