Skip to content

TOSINIRL/IRLMEDIA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PureHearted Studioz

Live Website: https://tosinirl.github.io/IRLMEDIA/


Setup Guide

Your website is deployed on GitHub Pages. Follow these steps if you need to re-configure the email form.

Step 1: Set up EmailJS (For Booking Emails)

To make the booking form send emails to you, you need a free EmailJS account.

  1. Create Account: Go to EmailJS.com and sign up for a free account.
  2. Add Service:
    • Click "Email Services" -> "Add New Service".
    • Select "Gmail" (or your preferred provider).
    • Click "Connect Account" and follow the prompts.
    • Click "Create Service".
    • Copy the Service ID (e.g., service_xyz123).
  3. Create Email Template:
    • Click "Email Templates" -> "Create New Template".
    • Design your email. Use these variables in the template (they match your code):
      • {{to_name}} (This will be "PureHearted Studioz")
      • {{from_name}} (Customer's Name)
      • {{from_email}} (Customer's Email)
      • {{service}} (Selected Service)
      • {{date}} (Selected Date)
      • {{message}} (Full message string)
    • Save the template.
    • Copy the Template ID (e.g., template_abc456).
  4. Get Public Key:
    • Go to "Account" (click your name in top right).
    • Copy the Public Key.

Step 2: Update Your Code

You need to paste your keys into the code I wrote.

  1. Open index.html.
    • Find emailjs.init("YOUR_PUBLIC_KEY");.
    • Replace YOUR_PUBLIC_KEY with the key you copied in Step 1.4.
  2. Open script.js.
    • Find emailjs.send('YOUR_SERVICE_ID', 'YOUR_TEMPLATE_ID', templateParams).
    • Replace YOUR_SERVICE_ID with the ID from Step 1.2.
    • Replace YOUR_TEMPLATE_ID with the ID from Step 1.3.

Deployment

This site is hosted on GitHub Pages. Any changes pushed to the gh-pages branch will automatically update the live site.

About

Check me out on IRLMEDIA.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors