An open API service indexing awesome lists of open source software.

https://github.com/dcdms/social-links-profile

Social links profile UI using Bun and Tailwind CSS.
https://github.com/dcdms/social-links-profile

bun tailwindcss

Last synced: about 1 year ago
JSON representation

Social links profile UI using Bun and Tailwind CSS.

Awesome Lists containing this project

README

          

# Social Links Profile

![Preview](preview.png)

## Hello World!

This is a website with a simple profile card with some social links. This is also my solution to the ["Social links profile" challenge by Frontend Mentor](https://www.frontendmentor.io/challenges/social-links-profile-UG32l9m6dQ).

Honestly, I built this just to satisfy my desire to test Tailwind CLI and Bun together. This is the first time I've used Bun.

## Technologies Used

- HTML and Tailwind CSS to create the UI.
- Bun and TypeScript to build the website for production.

[The build script](scripts/build.ts) also uses the following tools:

- Tailwind CLI to generate a minified CSS file.
- The package [html-minifier-terser](https://www.npmjs.com/package/html-minifier-terser) to minify the HTML.

## Run Yourself

> Make sure you have Git (or GitHub CLI) and Bun installed before continue. See [how to install Bun](https://bun.sh/docs/installation) and [how to install Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) if you need to.

First, clone this repository, go to the created folder and install the dependencies:

```sh
git clone https://github.com/dcdm3g/social-links-profile
cd social-links-profile
bun i
```

Then, you can run the development command:

```sh
bun dev
```

This command start the Tailwind CLI in watch mode, so you can edit the HTML classes and a new CSS file will be generated automatically.

You can also build the website for production using the build command:

```sh
bun run build
```

This command runs the build script, that creates the `public` folder containing the assets and the minified HTML and CSS.