codetann / my-links

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My Links

My Links is an open source project that allows users to showcase links to their various sites or social media.

Installation

  1. Fork the my-links repository

  2. Clone repository using http or ssh and install dependencies

  git clone git@github.com:my-account/my-links.git

  cd my-links
  npm install

Setup

To edit the links / info, navigate to ./src/data/index.js

colorMode

You can choose between a light or dark color theme by editing the colorMode variable

export let colorMode = "light";
/* or */
export let colorMode = "dark";

personalInfo

Here you will change the name, photo and bio of your site.

  • photo needs to be a link
export let profileInfo = {
  name: "Tanner Thomas",
  photo:
    "https://pbs.twimg.com/profile_images/1180727567550046208/FfZHC8NX_400x400.jpg",
  bio: "photographyer && web developer",
};

links

Here you will add all of your links. You can add a site name, link to your site, and a colorScheme to display your link

  • link needs to have https://
  • if you dont know what color to use, leave it blank
export let links = [
  { site: "Twitter", link: "https://twitter.com", color: "blue" },
  { site: "Youtube", link: "https://youtube.com", color: "red" },
  { site: "Instagram", link: "https://instagram.com", color: "pink" },
  { site: "Github", link: "https://github.com", color: "purple" },
  { site: "Facebook", link: "https://facebook.com", color: "blue" },
  { site: "Portfolio", link: "https://facebook.com", color: "" },
];

Deployment

To easily deploy this project to github pages

...

Change "homepage" in package.json

  {
      ...

      "homepage": "http://{---add username here---}.github.io/my-links",
  }

Deploy Site to GitHub

This will create a new branch called gh-pages

    npm run deploy

Update GitHub

Go to {your-GitHub-code-repository} -> settings -> GitHub pages section and setup source to the gh-pages branch.

photo

About


Languages

Language:JavaScript 67.2%Language:HTML 32.8%