DealPartner.app website
=======================

HOW TO UPLOAD
1. Open your hosting File Manager (or FTP).
2. Go to the folder for DealPartner.app (usually public_html, or the domain's own folder).
3. Delete any old index.html there.
4. Upload ALL files from this folder into that folder (not the folder itself).
   index.html must sit directly in the domain's main folder.
5. IMPORTANT: .app domains only open over HTTPS. Turn on the free SSL certificate
   (AutoSSL / Let's Encrypt) for DealPartner.app in your hosting panel, or the site will not load.

AFTER UPLOADING
- Visit https://dealpartner.app and submit one form yourself.
  FormSubmit will email matabraham@ymail.com an activation link (check spam). Click it once.
  After that, every form goes straight to your inbox.
- Add the site to Google Search Console and submit sitemap.xml.
- If a Facebook preview looks old, paste the link into Facebook's Sharing Debugger and click "Scrape Again".

GOOGLE SHEET (copy of every form submission)
Forms still email you. This also saves each submission as a row in a Google Sheet,
with one tab per form: "Referrals", "Network Agents", "Client Leads".

1. Go to sheets.google.com and create a blank sheet. Name it "DealPartner.app Submissions".
2. In the sheet: Extensions > Apps Script.
3. Delete everything in Code.gs, then paste ALL of google-sheet-script.gs (in this folder). Click Save.
4. Click Deploy > New deployment. Click the gear icon > choose "Web app".
     Description: DealPartner forms
     Execute as:  Me
     Who has access: Anyone
   Click Deploy, then Authorize access and approve with your Google account.
   (If Google says "app isn't verified": Advanced > Go to project > Allow. It's your own script.)
5. Copy the Web app URL (it ends in /exec).
6. Open app.js in a text editor. Near the top find:   var SHEET_URL='';
   Paste the URL between the quotes, e.g.  var SHEET_URL='https://script.google.com/macros/s/XXXX/exec';
   Save and upload app.js again. (Or send Claude the URL and it will do this for you.)
7. Test: submit a form on the live site. A new tab and row appear in the sheet within seconds.

Notes
- If you later edit the script, use Deploy > Manage deployments > Edit > New version,
  so the same URL keeps working.
- The tabs and column headers are created automatically.

LINKS TO SHARE
- Send a referral (agents):         https://dealpartner.app/referral.html
- Your profile:                     https://dealpartner.app/mathews.html
- Join my referral network:         https://dealpartner.app/join-network.html
- Home:                             https://dealpartner.app/

PAGES
index.html                            Home
mathews.html                          About Mathews (profile)
referral.html                         Send a referral (agent form)
join-network.html                     Join my referral network (agent application)
how-it-works.html                     How referrals work + FAQ
tampa-bay-real-estate-agent.html      Tampa Bay residential (buyer/seller contact form)
florida-commercial-real-estate.html   Florida commercial (contact form)
wesley-chapel-real-estate-agent.html  Wesley Chapel (search page, not in menu)

SUPPORTING FILES
styles.css, app.js                    Design and form code (shared by all pages)
google-sheet-script.gs                Paste into Google Apps Script (not uploaded to hosting)
mathews-abraham.jpg                   Profile photo
logo-mark.png, favicon.png,
apple-touch-icon.png                  Logo and browser/phone icons
share-card.jpg, share-network.jpg     Social media link preview images
sitemap.xml, robots.txt               For Google
