Skip to content

Olah-Barbershop/website

Repository files navigation

Logo

Oláh Barbershop website

The official website for Oláh Barbershop, built using SvelteKit, hosted by GitHub Pages

License: GPL v3   GitHub Release   GitHub Workflow Status (with event)   Website

Bugs and feature requests

Create an issue, or open a pull request

Content, features

General:

  • Simple wave animation at the bottom to give it some life

Home page:

  • A kind of intro message, since I had no idea what to put here

Contact page:

  • All the ways to reach, follow, and interact with us

Services page:

  • What we offer

Locations page:

  • Our locations listed in a nice, modular format

About page:

  • The About us section. Nothing special

Running / Building locally

git clone https://github.com/Olah-Barbershop/website
cd website
pnpm install

OPTIONAL: The default API URL is "https://olahbarbershop.codes"; however, this can be changed

In the .env file, create the VITE_BASE_URL variable

VITE_BASE_URL=[the base URL of your API instance]

Running

pnpm dev --open

Building

pnpm build
pnpm preview --open

IMPORTANT If you're building the site and not serving it from your root directory, add the absolute path that your build is served from to a .env file, e.g. "/website" if you're serving from example.com/website

BASE_PATH=[your path]