ilhamdev commited on
Commit
cdfb5a2
·
1 Parent(s): bd44d77

fix(seo): configure WebSite schema, canonical domain, and og:site_name

Browse files
Files changed (1) hide show
  1. frontend/src/app/layout.js +10 -2
frontend/src/app/layout.js CHANGED
@@ -13,7 +13,7 @@ const jetbrainsMono = JetBrains_Mono({
13
  variable: '--font-mono',
14
  })
15
 
16
- const SITE_URL = (process.env.NEXT_PUBLIC_SITE_URL || 'https://rembg.vercel.app').replace(/\/+$/, '')
17
 
18
  export const viewport = {
19
  themeColor: '#FFEB3B',
@@ -43,7 +43,7 @@ export const metadata = {
43
  title: 'RemBG: Pemotong Latar Belakang Foto',
44
  description: 'Pisahkan latar belakang foto menjadi format PNG transparan secara cepat menggunakan model BiRefNet dan ISNet.',
45
  url: SITE_URL,
46
- siteName: 'RemBG',
47
  locale: 'id_ID',
48
  type: 'website',
49
  },
@@ -71,6 +71,14 @@ export const metadata = {
71
  const jsonLd = {
72
  '@context': 'https://schema.org',
73
  '@graph': [
 
 
 
 
 
 
 
 
74
  {
75
  '@type': 'WebApplication',
76
  '@id': `${SITE_URL}/#app`,
 
13
  variable: '--font-mono',
14
  })
15
 
16
+ const SITE_URL = (process.env.NEXT_PUBLIC_SITE_URL || 'https://rembg.mangrusdi.my.id').replace(/\/+$/, '')
17
 
18
  export const viewport = {
19
  themeColor: '#FFEB3B',
 
43
  title: 'RemBG: Pemotong Latar Belakang Foto',
44
  description: 'Pisahkan latar belakang foto menjadi format PNG transparan secara cepat menggunakan model BiRefNet dan ISNet.',
45
  url: SITE_URL,
46
+ siteName: 'RemBG — AI Background Remover',
47
  locale: 'id_ID',
48
  type: 'website',
49
  },
 
71
  const jsonLd = {
72
  '@context': 'https://schema.org',
73
  '@graph': [
74
+ {
75
+ '@type': 'WebSite',
76
+ '@id': `${SITE_URL}/#website`,
77
+ name: 'RemBG — AI Background Remover',
78
+ alternateName: ['RemBG', 'AI Background Remover', 'rembg.mangrusdi.my.id'],
79
+ url: SITE_URL,
80
+ inLanguage: 'id-ID',
81
+ },
82
  {
83
  '@type': 'WebApplication',
84
  '@id': `${SITE_URL}/#app`,