SaasAble Documentation
UI-Kit - V1.2.0
UI-Kit - V1.2.0
  • Getting Started
    • Prerequisites
    • Setup
    • Deployment
  • Development
    • Folder structure
    • Routing
    • Env Variables
    • Dependencies
    • SEO - Metadata
    • Favicon
    • MailerLite
    • Error Handling
    • Analytics
    • Branding
    • Components
      • About
        • About 1
        • About 2
        • About 3
      • Auth
        • Login
          • Login1
          • Login2
          • Login3
          • Login4
          • Login5
        • Forgot Password
        • New Password
        • OTP Verification
        • Register
      • Benefit
        • Benefit1
        • Benefit2
        • Benefit3
        • Benefit4
        • Benefit5
        • Benefit6
        • Benefit7
        • Benefit8
        • Benefit9
      • Blog
        • Blog1
        • Blog2
        • Blog3
        • Blog4
        • Blog5
        • Blog6
        • Blog7
      • Clientele
        • Clientele1
        • Clientele2
        • Clientele3
        • Clientele4
        • Clientele5
        • Clientele6
        • Clientele7
      • Contact-us
        • ContactUs1
        • ContactUs2
        • ContactUs3
        • ContactUs4
        • ContactUs5
        • ContactUs6
      • Cookie
        • Cookie1
        • Cookie2
        • Cookie3
      • Cta
        • Cta1
        • Cta2
        • Cta3
        • Cta4
        • Cta5
        • Cta6
        • Cta7
        • Cta8
        • Cta9
        • Cta10
        • Cta11
        • Cta12
      • Faq
        • Faq1
        • Faq2
        • Faq3
        • Faq4
        • Faq5
        • Faq6
        • Faq7
        • Faq8
      • Feature
        • Feature1
        • Feature2
        • Feature3
        • Feature4
        • Feature5
        • Feature6
        • Feature7
        • Feature8
        • Feature9
        • Feature10
        • Feature11
        • Feature12
        • Feature13
        • Feature14
        • Feature15
        • Feature16
        • Feature17
        • Feature18
        • Feature19
        • Feature20
        • Feature21
        • Feature22
        • Feature23
        • Feature24
        • Feature25
      • Footer
      • Gallery
        • Gallery1
        • Gallery2
        • Gallery3
        • Gallery4
      • Hero
        • Hero1
        • Hero2
        • Hero3
        • Hero4
        • Hero5
        • Hero6
        • Hero7
        • Hero8
        • Hero9
        • Hero10
        • Hero11
        • Hero12
        • Hero13
        • Hero14
        • Hero15
        • Hero16
        • Hero17
      • Integration
        • Integration1
        • Integration2
        • Integration3
        • Integration4
        • Integration5
        • Integration6
        • Integration7
        • Integration8
      • maintenance
        • Error404
      • MegaMenu
        • MegaMenu1
        • MegaMenu2
        • MegaMenu3
        • MegaMenu4
        • MegaMenu5
      • Navbar
        • NavMenu
        • Navbar-content
          • NavbarContent1
          • NavbarContent2
          • NavbarContent3
          • NavbarContent4
          • NavbarContent5
          • NavbarContent6
          • NavbarContent7
          • NavbarContent8
          • NavbarContent9
          • NavbarContent10
        • Navbar1
        • Navbar2
        • Navbar3
        • Navbar4
        • Navbar5
        • Navbar6
        • Navbar7
        • Navbar8
        • Navbar9
        • Navbar10
      • Other
        • Other1
        • Other2
        • Other3
      • Pricing
        • Pricing1
        • Pricing2
        • Pricing3
        • Pricing4
        • Pricing5
        • Pricing6
        • Pricing7
        • Pricing8
        • Pricing9
      • Process
        • Process1
        • Process2
        • Process3
        • Process4
        • Process5
        • Process6
        • Process7
      • SmallHero
        • SmallHero1
        • SmallHero2
        • SmallHero3
        • SmallHero4
        • SmallHero5
        • SmallHero6
        • SmallHero7
      • Team
        • Team1
        • Team2
        • Team3
        • Team4
        • Team5
        • Team6
        • Team7
        • Team8
      • Testimonial
        • Testimonial1
        • Testimonial2
        • Testimonial3
        • Testimonial4
        • Testimonial5
        • Testimonial6
        • Testimonial7
        • Testimonial8
        • Testimonial9
        • Testimonial10
        • Testimonial11
      • TopOffer
        • TopOffer1
        • TopOffer2
        • TopOffer3
        • TopOffer4
        • TopOffer5
      • ComingSoon
      • EarlyAccess
      • Onboard
  • Theming
    • Color
    • Typography
      • Font Family
    • Icon
      • Tabler
      • Custom/two tone
  • Global
    • Config
    • Styles
    • Component overrides
Powered by GitBook
On this page
  1. Development

SEO - Metadata

SaasAble maintains all static meta tags in a single place. You can refer to src/metadata.json for more.

All common metadata has been added to the root layout of the theme and will be rendered on all pages unless overridden at the page level.

// @project
import branding from '@/branding.json';
...

/***************************  SEO METADATA - MAIN LAYOUT  ***************************/

const title = `${branding.brandName} ${branding.title}`;
const description = `${branding.brandName} is a cutting-edge software solution designed to revolutionize the way businesses operate. Our platform offers a comprehensive suite of features that enable businesses to streamline their operations, enhance productivity, and drive growth. With ${branding.brandName}, businesses can easily manage their customers, track sales, optimize marketing campaigns, and streamline their internal processes. Whether you're a startup or a large enterprise, ${branding.brandName} has the tools and expertise to help you succeed in today's fast-paced business landscape. Join the ${branding.brandName} community and experience the power of innovative software solutions for business success`;

const ogCommonMetadata = {
  locale: 'en_US',
  type: 'website',
  siteName: `${branding.brandName}`,
  images: '/assets/images/metadata/og.png' // recommended dimensions of 1200x630
};

export const mainMetadata = {
  title: {
    template: `%s | ${title}`,
    default: title // a default is required when creating a template
  },
  description,
  applicationName: title,
  keywords: [
    'SaaS',
    `${branding.brandName}`,
    'Software as a Service',
    'Cloud-based software',
    'Project management tools',
    'Enterprise software'
  ],
  creator: `${branding.company.name}`,
  metadataBase: new URL(process.env.NEXT_PUBLIC_METADATA_BASE || 'http://localhost:3000'),
  alternates: {
    canonical: '/'
  },
  openGraph: {
    title,
    description,
    url: '/',
    ...ogCommonMetadata
  }
};
{
  "brandName": "SaasAble",
  "title": "React Multipurpose UI Kit and Dashboard Template",
  "company": {
    "name": "Phoenixcoded",
    "url": "https://phoenixcoded.net",
    "socialLink": {
      "linkedin": "https://in.linkedin.com/company/phoenixcoded",
      "instagram": "#",
      "facebook": "https://www.facebook.com/Phoenixcoded/",
      "youtube": "https://www.youtube.com/@Phoenixcoded",
      "github": "https://github.com/phoenixcoded",
      "dribble": "https://dribbble.com/Phoenixcoded",
      "discord": "https://discord.com/invite/AfJqqYeG",
      "support": "https://support.phoenixcoded.net"
    }
  },
  "logo": {
    "main": "",
    "logoIcon": "",
    "logoFab": "",
    "logoWatermark": ""
  }
}

This JSON object later referred to a specific page for rendering. E.g. check the About page below. Any update can be made directly to metadata.json to affect the actual page.

export const SEO_CONTENT = {
  about: {
    title: 'About',
    description: 'About'
  },

  benefit: {
    title: 'Benifit',
    description: 'Benifit'
  },
...
...
}
// @next
import { Metadata } from 'next';
import dynamic from 'next/dynamic';

// @project
import { PAGE_PATH } from '@/routes/Path';
import { SEO_CONTENT } from '@/utils/constant';

const About = dynamic(() => import('@/views/sections/About'));

/***************************  METADATA - ABOUT  ***************************/

export const metadata: Metadata = { ...SEO_CONTENT.about, openGraph: { ...SEO_CONTENT.about, url: PAGE_PATH.about } };

/***************************  PAGE - ABOUT  ***************************/

export default function AboutPage() {
  return <About />;
}
PreviousDependenciesNextFavicon