SEO - Metadata
// @project
import branding from '@/branding.json';
...
/*************************** SEO METADATA - MAIN LAYOUT ***************************/
const title = `${branding.brandName} ${branding.title}`;
const description = `The multipurpose SaaS UI Kit built with React and Material UI is designed for businesses of all sizes to streamline customer management, sales tracking, and marketing optimization. Create stunning SaaS landing and admin with just few clicks!`;
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
}
};Last updated