Email address only visible on /contact — not on homepage or footer #60
Labels
No labels
a11y
blocked
bug
content
content
conversion
design
feature
improvement
infrastructure
infrastructure
landing-page
priority:critical
priority:high
priority:low
priority:medium
question
seo
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: sscoble/brand-site#60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found: scott@scoble.me appears on /contact only. It is not in the footer, not on the homepage, not on /speaking or /consulting.
Gap: Many prospects will not click through to a contact page. Email should be findable from any page within 2 seconds of looking.
Needs:
Verified complete - Email address (scott@scoble.me) appears in: 1) Footer (bottom of every page), 2) Contact page alternatives, 3) Speaking page "Quick Info" section. All pages use BaseLayout which includes Footer component with email.
VERIFIED COMPLETE - Email address (scott@scoble.me) appears on ALL pages via Footer component. Email visible site-wide: 1) Footer on all pages, 2) Contact page alternatives, 3) Speaking page Quick Info, 4) Privacy policy.
Completed: Email address added to footer (site-wide)
What was done:
src/components/Footer.astroto includescott@scoble.mewith a JS-obfuscated mailto linkdata-useranddata-domainattributes, preventing plaintext scrapingBaseLayout.astrowhich renders<Footer />— so the email is visible on every pageBuild verified:
astro buildsucceeded — 32 pages built without errors.Obfuscation verified: The raw HTML contains
<span id="footer-email-link" data-user="scott" data-domain="scoble.me">and a script that assembles the mailto link at runtime. The stringscott@scoble.medoes not appear as plaintext in any built HTML footer.File modified:
src/components/Footer.astro