Skip to content

paccao/allerthsbageri.se

Folders and files

NameName
Last commit message
Last commit date

Latest commit

339f58c · Feb 9, 2025
Apr 26, 2023
Oct 23, 2024
Oct 19, 2024
Feb 9, 2025
Oct 19, 2024
Jan 20, 2025
Oct 23, 2024
Oct 19, 2024
Nov 4, 2024
Nov 4, 2024
Jul 17, 2023
Jul 17, 2023
May 1, 2023

Repository files navigation

Allerths bageri

A website made with Astro and Tailwind CSS.

Allerths herb bakery

Development

Install Node.js 20 and pnpm 9.

git clone https://github.com/paccao/allerthsbageri.se.git && \
cd allerthsbageri.se/ && \
pnpm i && \
pnpm dev

Email Spam Protection

  1. Make a copy of .env.example and name it .env.
  2. Add your email to PUBLIC_EMAIL in .env.
  3. Add a strong random password to encrypt/decrypt your email to PUBLIC_PASSWORD in .env.
  4. Open a terminal and run pnpm encrypt:email. Then copy the output (make sure you get every character) and add it to PUBLIC_PAYLOAD in .env.
  5. Now, the email should be accessible in the <EncryptedEmail /> component. Easily available for users, but most basic spam bots will not be able to extract the email.