@izosa/website-page
TypeScript icon, indicating that this package has built-in type declarations

0.6.31 • Public • Published

Page

Website component for page

Properties

Name Type Options Default
page Page
download boolean ☑️ true
styles string ☑️⚙️ { heading: '', breadcrumbs: null, content: 'prose prose-slate prose-img:rounded-md prose-img:my-2 prose-h3:text-white prose-h3:text-lg prose-h3:px-2 max-w-none prose-p:mt-0 prose-p:mb-4 prose-a:no-underline prose-a:text-amber-600 hover:prose-a:text-amber-500 prose-h3:bg-amber-60', }
appendStyles string ☑️⚙️

<website-page [page]="new Page('Home', 'home')"></website-page>

Analytics Script

index.html

    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag() {
        dataLayer.push(arguments);
      }
      gtag('js', new Date());
    </script>

SEO Config

enviroments.defaults.ts

  seo: {
    title: 'Website Title',
    brand: 'Website Brand',
    description: 'This is webiste description',
    analytics: 'G-WEB-SITE',
  },

SEO Enable

app.component

  constructor(private seoService: SeoService) {
    this.seoService.init(environment);
  }

Readme

Keywords

none

Package Sidebar

Install

npm i @izosa/website-page

Weekly Downloads

5

Version

0.6.31

License

none

Unpacked Size

258 kB

Total Files

40

Last publish

Collaborators

  • izosa