Welcome to Links, a Linktree clone designed specifically for developers. This project aims to provide a simple and customizable solution for creators to showcase their links on the web.
- Install Git on your machine.
- Ensure you have Node.js and pnpm (recommended) installed.
- Clone the repository:
git clone https://github.com/pruthivithejan/links.git
- Navigate into the project directory:
cd links
- Install the dependencies using pnpm:
pnpm install
- Start the application in development mode:
pnpm run dev
This will start the project on your localhost:5173
. Open a
web browser and navigate to http://localhost:5173
to see if
it works.
To customize the content, please replace everything in the
content.ts
file with your information. [Image:
Public/preview/content.png]
export const codeRepository = "linktree"; // Pointed to this
repository, but you can fork your own and update it.
export const githubUsername = "pruthivithejan"; // Required
because the site will pull your Github avatar and use it on the
website.
export const heading = "Pruthivi Thejan | Linktree"; // This is
the heading that shows in the browser tab.
export const slogan = {
words: "I'll be myself or", // Slogan, put whatever you like.
hightlight: "die trying", // Part of the slogan to highlight.
};
export const Cards = [
{
href: "https://x.com/pruthivithejan", // Change the link
here to your liking.
icon: "x", // Please check if the `public/` folder has the
SVG to your link or place a one yourself, It must be a .svg
file.
title: "X", // Change the title to your liking.
description: "I share thoughts and updates on various
topics.", // Change the description to your liking.
},
// ... add more
- Change the
meta
tags on index.html if needed. - Save, come back, and see if the changes are made.
If you want any new icons, add them to the public
folder as
SVGs. You can find SVG icons
here.
If you're not using a custom domain, delete the CNAME
file
and add your repository name to vite.config.ts
as base: "/links/,
Deploying is automatically set to GitHub Pages. Make sure you enable GitHub Pages for the repository.
- If you're not seeing any content, make sure the following are
correct:
- https://stackoverflow.com/questions/74518887/blank-page-when-dhttps://stackoverflow.com/questions/74518887/blank-page-when-deploying-a-react-app-to-github-pages-and-vite
- https://stackoverflow.com/questions/77348361/resolved-github-phttps://stackoverflow.com/questions/77348361/resolved-github-pages-deployment-blank-vite-react-ts
✨ Leave a Star on the repository if you like. ✨