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.
- Host: GitHub
- URL: https://github.com/dcdms/social-links-profile
- Owner: dcdms
- Created: 2024-06-29T14:56:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-03T16:26:39.000Z (almost 2 years ago)
- Last Synced: 2024-12-21T12:23:29.909Z (over 1 year ago)
- Topics: bun, tailwindcss
- Language: HTML
- Homepage: https://social-links-profile-one-alpha.vercel.app
- Size: 157 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Social Links Profile

## 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.