Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/murshidazher/zen

⚡️ My personal website — 2023 edition
https://github.com/murshidazher/zen

nextjs personal-website

Last synced: about 5 hours ago
JSON representation

⚡️ My personal website — 2023 edition

Awesome Lists containing this project

README

        

# [zen](https://github.com/murshidazher/zen)

![Next JS](https://img.shields.io/badge/next-black?logo=next.js\&logoColor=white\&style=flat-square)
![GitHub package.json version](https://img.shields.io/github/package-json/v/murshidazher/zen?style=flat-square)
![Netlify](https://img.shields.io/netlify/5bb22eef-8559-4079-be63-e42c63f63770?logo=netlify\&style=flat-square)
![GitHub](https://img.shields.io/github/license/murshidazher/murshid?style=flat-square)
![Blazing Fast](https://img.shields.io/badge/speed-blazing%20%F0%9F%94%A5-brightgreen.svg?style=flat-square)
![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)

- ⚡️ My personal website — 2023 edition

## Table of Contents

- [zen](#zen)
- [Table of Contents](#table-of-contents)
- [Getting Started](#getting-started)
- [Pre-requisite](#pre-requisite)
- [Up and Running](#up-and-running)
- [Contact email setup](#contact-email-setup)
- [Inspirations](#inspirations)
- [Typeface](#typeface)
- [License](#license)

## Getting Started

### Pre-requisite

> 💡 We use [pnpm](https://pnpm.io/) as a drop-in replacement for `npm` for better package management

1. Install either [asdf](https://asdf-vm.com/guide/getting-started.html) or [nvm](https://github.com/nvm-sh/nvm#installing-and-updating) to manage your node version.
2. Install the node version mentioned in the `.nvmrc` file.

```sh
# if you're using asdf
asdf install nodejs
# if you're using nvm
nvm install
```

3. Install `pnpm` globally as package manager,

```sh
npm install -g pnpm
```

4. You need a `postmark` account for sending contact emails.
5. You need a `cloudinary` account for image hosting.

### Up and Running

Clone the repository and install dependencies

```sh
git clone [email protected]:murshidazher/zen.git
pnpm i
```

Create an `.env.local` file with the following variables:

```sh
NEXT_PUBLIC_SITE_URL= # The local / hosted url (i.e. http://localhost:3000)
EMAIL_ADDRESS="" # The email address to send emails
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME="" # Add your cloudinary name
```

To start the development server

```sh
netlify link # link the netlify repo to get site id
netlify build # build the deps
netlify dev # run the development server with email functionality
```

### Contact email setup

> 💡 Read more on setup and usage of [postmark & netlify](https://postmarkapp.com/integrations/netlify) and [env variable config](https://docs.netlify.com/integrations/email-integration/#required-environment-variables).

Set the email directory to in,

```sh
NETLIFY_EMAILS_DIRECTORY="./functions/mail/templates"
```

To check the email provider api locally,

```sh
netlify dev # run on port http://localhost:8888/.netlify/functions/emails
```

## Inspirations

- ✺ [Hayden Bleasel](https://haydenbleasel.com/) - Most of the component styles were heavily inspired and taken from this portfolio.
- 🗞️ [Siddharth Arun](https://sdrn.co/) - The website layout.
- 📦 [radix](https://www.radix-ui.com/) - UI elements.
- ⚙️ [shadn](https://ui.shadcn.com/) - Components and styles.
- 🫐 [qoals](https://qoals.com/) - Blended Blur Background.

## Typeface

The primary typeface used is [Inter](https://rsms.me/inter/), a sleek and minimalist sans-serif font, while [Google Sans](https://flutter.googlesource.com/gallery-assets/+/refs/heads/master/lib/fonts/) is employed for the headings.

## License

[MIT](./LICENSE) © 2023-present Murshid Azher.