jsanz / links

Minimal website to share the main links to my different profiles in the Internet

Home Page:https://links.jorgesanz.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Links

Netlify Status

This is a website to share the main links that point to my Internet presence. You can check it at https://links.jorgesanz.net/.

If you have any feedback or comment, feel free to create an issue or use my contact form. Have a great day!

Details

Technically, this is a minimal website hosted on Netlify and using Parcel for zero configuration deployment. Check the package.json file for details.

The site publishing is composed of three steps:

  1. First the data with texts and links is joined with a Handlebars template producing a index.html that does not need any JavaScript code to render.
  2. Second the final stylesheet is created from the rendered HTML and the Tachyons source only with the necessary CSS classes.
  3. Finally Parcel produces a dist folder with all the needed assets: minified HTML and CSS, images, etc.

The dist folder can be hosted anywhere, I use Netlify to run the publishing process and hosting but you can use Github Pages, Vercel, or any other PaaS. You can check an example of publishing in Github Pages using a Github Action on the LinksGeo clone.

The structure of the data.json file is straight forward:

  • The metadata section populates the website <head> element.
  • texts just set up the header and footer, html is allowed
  • The links array defines the buttons to show.
  • On each link there are two ways to specify the icon you want to see on the website:
    • icon-simpleicons refers to a SimpleIcons identifier. Check the website for the brands available or the node_modules/simple-icons/icons folder.
    • icon-fontawesome refers to a free Font Awesome icon. Check the node_modules/@fortawesome/fontawesome-free/svgs/ folder and use the relative path without the .svg extension for example solid/microphone.

The layout of the website is simple and only using Tachyons classes so changing fonts, colors, borders, etc. is just a matter of editing the index.hbs file (uncomment the full Tachyons CSS while developing).

About

Minimal website to share the main links to my different profiles in the Internet

https://links.jorgesanz.net/

License:MIT License


Languages

Language:Handlebars 97.8%Language:JavaScript 2.2%