Cambodia#CambodiaNeedPeace

Quick Start

Getting Started with banner for websites

Banner

To support Cambodia

Support Cambodia - add the #CambodiaNeedPeace banner to the website your manage. Share an anti-war message with the world and help protect our beautiful land from misjudgment and misinformation.

Usage

Example

Next.js: to load the script, import next/script and include the script link directly in your layout component.

app/layout.tsx
import Script from 'next/script'; 

export default function RootLayout() {
  return (
    <html>
      <body>
        ...
      </body>
      <Script src="https://cambodianeedpeace.org/script.js" data-position="top" />  {}
    </html>
  );
}

Others: to load the script, use script tag with script link directly in your html file.

index.html
 <html>
  <body>
    ...
  </body>
  <script src="https://cambodianeedpeace.org/script.js" data-position="top" defer></script> 
</html>

Customization

PropTypeDefault
data-position?
top | bottom
top