RESPAWN RIDERS WEBSITE - MAINTENANCE GUIDE (for Namecheap File Manager)
========================================================================
You can change words, links, videos and recommendations yourself. Nothing has to be rebuilt.
Visitors cannot open this folder (_owner-notes); it is blocked from the web.

WHERE THE SITE LIVES
  Preview copy:  /home/gunmpgsj/respawnriders.com/rr-preview-7k4q9x/
  In cPanel:     File Manager > respawnriders.com > rr-preview-7k4q9x
  (All paths below are inside that folder.)

GOLDEN RULES
  1. BACK UP FIRST: right-click the file > Copy > give the copy a name like  about.html.bak-2026-12-01
  2. Edit: right-click the file > Edit > make the change > Save Changes.
  3. Never touch the file named  .htaccess  in the top folder. It is the preview's password lock.
  4. Never type a password, key or private phone number into any file here.
  5. If something breaks: delete the broken file and rename your .bak copy back to the original name.


1. WHAT EACH FILE CONTROLS
--------------------------
  about.html ................ About Respawn Riders text
  story.html ................ Meet MsMayhem / My Story text
  contact.html .............. Contact page wording (and the form fields)
  privacy.html .............. Privacy Policy
  terms.html ................ Terms of Service
  shipping.html ............. Shipping & Returns
  favorites.html ............ My Favorite Things page headings (NOT the items - see data/favorites.json)
  index.html ................ Home page (locked design - avoid editing)

  data/favorites.json ....... My Favorite Things recommendations (items, descriptions, links)
  data/clips.json ........... My Featured Clips (YouTube videos, titles, order)
  data/rider-feed.json ...... Rider Feed headlines - written by the feed service. Do not edit by hand.

  js/site-config.js ......... Shop links, social media links, Rider Feed on/off, "not ready yet" messages
  forms/config.php .......... Where contact form messages are delivered, and its spam limits

  Leave alone: css/, js/site.js, js/pages.js, forms/contact.php, forms/private/, assets/


2. CHANGE ONE SENTENCE ON A PAGE
--------------------------------
  Example: fix a sentence on the About page.
  a. Back up about.html (Copy > about.html.bak-DATE).
  b. Right-click about.html > Edit.
  c. Scroll to the line that says   EDIT BELOW THIS LINE: PAGE TEXT
     Everything you may change is between that line and   EDIT ABOVE THIS LINE
  d. Each paragraph looks like this:      <p>Welcome to Respawn Riders.</p>
     Change only the words between <p> and </p>. Keep the <p> and </p>.
  e. Save Changes. Reload the page in your browser.

  Special characters you will see (leave them as they are, or type them the same way):
     &rsquo;  = apostrophe  (it&rsquo;s = it's)       &mdash; = long dash
     &ldquo; and &rdquo; = quotation marks            &amp;   = the & sign
  To add a paragraph: copy a whole  <p>...</p>  line, paste it underneath, change the words.
  Do not edit above "EDIT BELOW" or below "EDIT ABOVE" (that is the menu and footer).

  LEGAL PAGES: privacy.html, terms.html and shipping.html show a pink "Draft for review" box.
  Remove that box (the lines from  <div class="subpage__panel subpage__draft">  to its  </div>)
  only after the wording has been reviewed and approved, and update the "Last updated" line.


3. ADD, CHANGE OR REMOVE A FAVORITE THINGS ITEM       file: data/favorites.json
------------------------------------------------------------------------------
  Each item is one block between { and }. Blocks are separated by commas.

      {
        "category": "motorcycle-gear",
        "title": "SHOEI RF-1400 Helmet",
        "description": "One or two sentences.",
        "url": "https://shoei-helmets.com/models/rf-1400/",
        "linkLabel": "View at SHOEI",
        "image": null,
        "imageAlt": "",
        "affiliate": false
      }

  category  must be exactly one of:  "motorcycle-gear"   "gaming-gear"   "smile"
  url       must be the full address starting with https://  (official or authorized seller page)
  image     null = text-only card. To show a picture you have the RIGHT to use: upload it to
            assets/favorites/ and write  "image": "assets/favorites/yourfile.jpg"  and describe it in imageAlt.
            Do not copy product photos from other websites.
  affiliate false. Change to true ONLY if you earn a commission from that link; the page then shows
            the required disclosure and an "Affiliate link" tag automatically.

  TO ADD:     copy a whole block (from { to }), paste it after another block, put a comma between
              blocks, change the words.
  TO REMOVE:  delete the whole block and the comma that went with it.
  TO REORDER: cut and paste whole blocks. Items show in the order listed.
  COMMA RULE: a comma between blocks, NO comma after the last block.


4. REPLACE, ADD OR REMOVE A YOUTUBE VIDEO             file: data/clips.json
-------------------------------------------------------------------------
      {
        "id": "ZxqXsH8IhII",
        "title": "Words shown under the picture",
        "description": "",
        "format": "video",
        "duration": "0:29",
        "thumbnail": null
      }

  id         the 11 characters from the YouTube link:
               https://youtu.be/ZxqXsH8IhII              -> ZxqXsH8IhII
               https://youtube.com/shorts/EvXBFUXYKDw    -> EvXBFUXYKDw
             (Pasting the whole link also works.)
  format     "video" for a normal wide video, "short" for a YouTube Short (tall).
  duration   optional, e.g. "2:48". Use "" for none.
  thumbnail  null = YouTube's own picture. Or upload your own to assets/clips/ and write its path.

  TO REPLACE a video: change the id, title, format and duration of its block.
  The video must be Public or Unlisted on YouTube with "Allow embedding" switched ON
  (YouTube Studio > Content > the video > Show more > Allow embedding). Private videos cannot play.
  The first three show side by side; more than three can be swiped sideways.


5. CHANGE A SHOPPING LINK OR A SOCIAL MEDIA LINK      file: js/site-config.js
---------------------------------------------------------------------------
  Find the "shop" section:
        clothing: null,
  null means "not open yet" (visitors get the polite not-open message).
  To switch a link on, replace null with the real address in double quotes - keep the comma:
        clothing: "https://shop.respawnriders.com/collections/clothing",
  Same for decals, accessories, browseAll, and for social: facebook, instagram, tiktok, youtube.
  To switch a link off again, put  null  back (no quotes).
  Only paste addresses of pages that really exist. Never guess one.


6. CONTACT FORM                                        file: forms/config.php
----------------------------------------------------------------------------
  'to'   = the mailbox that receives inquiries (hello@respawnriders.com). Not shown to visitors.
  'from' = must be a real mailbox on this hosting account, or Namecheap will not send the mail.
  Quick health check (while logged in to the preview): open
        https://respawnriders.com/rr-preview-7k4q9x/forms/contact.php?check=1
  All four answers should say true.
  The folder forms/private holds only spam counters (never messages). Leave it in place.


7. RIDER FEED SETTINGS                                 file: js/site-config.js  ("feed" section)
----------------------------------------------------------------------------------------------
  The Rider Feed is OFF until the feed service is installed and its news sources are approved
  (a separate job - see the feed service's own README). The home page then shows:
  "The Rider Feed isn't switched on yet."
  Do NOT type headlines into data/rider-feed.json. The feed service writes that file by itself.

  Settings you may change in js/site-config.js:
        endpoint: "data/rider-feed.json",     where the page reads headlines. To force the feed OFF
                                              at any time, change this to:   endpoint: null,
        maxItems: 6,                          headlines in the desktop row (3 visible, rest swipe)
        maxItemsPhone: 3,                     headlines on phones (stacked)
        maxAgeDays: 21,                       headlines older than this are never shown
        images: { motorcycle: null, gaming: null }
                                              optional picture on every card of that kind. Upload a
                                              picture you have the right to use to assets/feed/ and
                                              write e.g.  motorcycle: "assets/feed/motorcycle.jpg"
  Which news sources are used, the 60/40 motorcycle/gaming mix and the filters are set on the
  server in the feed service folder (config.local.php), not in the website files.


8. CHECK YOUR CHANGE (do this every time)
-----------------------------------------
  a. JSON files (data/*.json): before saving, copy the whole text into  https://jsonlint.com
     and press Validate. Fix anything it flags (almost always a missing or extra comma or quote).
     If a JSON file is broken the site does not crash: that section just shows a plain
     "on the way / couldn't be loaded" line until the file is fixed.
  b. Reload the page in a Private/Incognito window and look at the part you changed.
  c. Click the link or play the video you changed.
  d. Check it once on your phone.


9. BACK UP AND RESTORE
----------------------
  ONE FILE:   right-click > Copy > name it  filename.bak-DATE.  To restore: delete (or rename) the
              broken file, then rename the .bak copy to the original name.
  WHOLE SITE: go up one level, right-click the folder rr-preview-7k4q9x > Compress > Zip Archive.
              IMPORTANT: in the box that asks where to save the archive, type a place OUTSIDE the
              website, for example   /rr-backups/rr-preview-DATE.zip   (create the folder rr-backups in
              your home folder first). A zip saved inside respawnriders.com could be downloaded by
              anyone. Then download the zip to your computer as a second copy.
              To restore: Extract the zip into /respawnriders.com - it puts every file back.
  Keep the last good backup until the new change has been checked.
