feat(site): stage TrustedSite trustmark slot (opt-in prop) + setup doc; CSP/verification steps pre-documented
This commit is contained in:
parent
af0b1d2306
commit
780b4219d3
2 changed files with 56 additions and 1 deletions
|
|
@ -15,9 +15,11 @@ export interface Props {
|
|||
variant?: "full" | "compact";
|
||||
/** Show the live "Verify" links (default true). */
|
||||
links?: boolean;
|
||||
/** Opt in to render the TrustedSite "Certified Secure" trustmark slot. */
|
||||
trustedsite?: boolean;
|
||||
class?: string;
|
||||
}
|
||||
const { variant = "full", links = true, class: extraClass = "" } = Astro.props;
|
||||
const { variant = "full", links = true, trustedsite = false, class: extraClass = "" } = Astro.props;
|
||||
const compact = variant === "compact";
|
||||
---
|
||||
|
||||
|
|
@ -70,6 +72,18 @@ const compact = variant === "compact";
|
|||
<span class="pw-trust__s">Compliant TLS (ImmuniWeb)</span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
{trustedsite && (
|
||||
<li class="pw-trust__item pw-trust__trustedsite">
|
||||
{/* TRUSTEDSITE_TRUSTMARK — paste the TrustedSite seal markup here after
|
||||
account signup + first scan. See docs/trustedsite-setup.md.
|
||||
Example:
|
||||
<a href="https://www.trustedsite.com/verify?host=performancewest.net" target="_blank" rel="noopener">
|
||||
<img src="https://cdn.ywxi.net/meter/performancewest.net/27.svg" alt="TrustedSite Certified Secure" height="36" />
|
||||
</a>
|
||||
*/}
|
||||
</li>
|
||||
)}
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue