feat: implement multilingual support for sitemap and SEO, update structured data, and improve locale middleware configuration
This commit is contained in:
@@ -63,10 +63,42 @@ abstract class StructuredData
|
||||
$siteName = static::siteName();
|
||||
|
||||
$node = [
|
||||
'@type' => 'Organization',
|
||||
'@type' => 'ProfessionalService',
|
||||
'@id' => $siteUrl . '#organization',
|
||||
'name' => $siteName,
|
||||
'url' => $siteUrl,
|
||||
'priceRange' => '$$',
|
||||
'geo' => [
|
||||
'@type' => 'GeoCoordinates',
|
||||
'latitude' => 37.025704,
|
||||
'longitude' => 37.296559,
|
||||
],
|
||||
'areaServed' => [
|
||||
[
|
||||
'@type' => 'AdministrativeArea',
|
||||
'name' => 'Gaziantep',
|
||||
],
|
||||
[
|
||||
'@type' => 'Country',
|
||||
'name' => 'Turkey',
|
||||
]
|
||||
],
|
||||
'knowsAbout' => [
|
||||
'Yazılım Geliştirme',
|
||||
'Web Tasarım',
|
||||
'Mobil Uygulama Geliştirme',
|
||||
'E-Ticaret Sistemleri',
|
||||
'SEO Danışmanlığı',
|
||||
'Gaziantep Yazılım Şirketleri'
|
||||
],
|
||||
'openingHoursSpecification' => [
|
||||
[
|
||||
'@type' => 'OpeningHoursSpecification',
|
||||
'dayOfWeek' => ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'],
|
||||
'opens' => '09:00',
|
||||
'closes' => '18:00',
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
$logo = setting('site_logo');
|
||||
@@ -93,6 +125,10 @@ abstract class StructuredData
|
||||
$node['address'] = [
|
||||
'@type' => 'PostalAddress',
|
||||
'streetAddress' => $address,
|
||||
'addressLocality' => 'Şahinbey',
|
||||
'addressRegion' => 'Gaziantep',
|
||||
'postalCode' => '27190',
|
||||
'addressCountry' => 'TR',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user