Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 870 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 870 Bytes

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.