diff --git a/src/views/AboutUs.vue b/src/views/AboutUs.vue
index 0950440..ba3e7db 100644
--- a/src/views/AboutUs.vue
+++ b/src/views/AboutUs.vue
@@ -1,24 +1,22 @@
diff --git a/src/views/BlogDetail.vue b/src/views/BlogDetail.vue
index 019510b..85d47f1 100644
--- a/src/views/BlogDetail.vue
+++ b/src/views/BlogDetail.vue
@@ -1,5 +1,5 @@
diff --git a/src/views/BlogOverview.vue b/src/views/BlogOverview.vue
index 2dd442b..e064114 100644
--- a/src/views/BlogOverview.vue
+++ b/src/views/BlogOverview.vue
@@ -1,5 +1,5 @@
diff --git a/src/views/Contact.vue b/src/views/Contact.vue
index 607fe92..a36c031 100644
--- a/src/views/Contact.vue
+++ b/src/views/Contact.vue
@@ -1,24 +1,22 @@
diff --git a/src/views/HomeView.seo.ts b/src/views/HomeView.seo.ts
index aa45367..43e417f 100644
--- a/src/views/HomeView.seo.ts
+++ b/src/views/HomeView.seo.ts
@@ -1,4 +1,3 @@
-import { onMounted } from 'vue';
import { useSEO } from '../composables/useSEO';
import { useStructuredData } from '../composables/useStructuredData';
import { useHead } from '@vueuse/head';
@@ -6,60 +5,58 @@ import { useHead } from '@vueuse/head';
export function useHomeViewSEO() {
const { addOrganizationSchema, addWebSiteSchema } = useStructuredData();
- onMounted(() => {
- // Set page SEO
- useSEO({
- title: 'Spritesheet Generator - Create Game Spritesheets Online',
- description: 'Free online tool to create spritesheets for game development. Upload sprites, arrange them, and export as a spritesheet with animation preview.',
- url: '/',
- type: 'website',
- keywords: 'spritesheet generator, sprite sheet maker, game development, pixel art, sprite animation, game assets, 2D game tools'
- });
+ // Set page SEO synchronously
+ useSEO({
+ title: 'Spritesheet Generator - Create Game Spritesheets Online',
+ description: 'Free online tool to create spritesheets for game development. Upload sprites, arrange them, and export as a spritesheet with animation preview.',
+ url: '/',
+ type: 'website',
+ keywords: 'spritesheet generator, sprite sheet maker, game development, pixel art, sprite animation, game assets, 2D game tools'
+ });
- // Add organization schema
- addOrganizationSchema();
+ // Add organization schema
+ addOrganizationSchema();
- // Add website schema
- addWebSiteSchema();
+ // Add website schema
+ addWebSiteSchema();
- // Add SoftwareApplication schema
- useHead({
- script: [
- {
- type: 'application/ld+json',
- children: JSON.stringify({
- '@context': 'https://schema.org',
- '@type': 'SoftwareApplication',
- 'name': 'Spritesheet Generator',
- 'applicationCategory': 'DesignApplication',
- 'offers': {
- '@type': 'Offer',
- 'price': '0',
- 'priceCurrency': 'USD'
- },
- 'operatingSystem': 'Web Browser',
- 'description': 'Free online tool to create spritesheets for game development. Upload sprites, arrange them, and export as a spritesheet with animation preview.',
- 'url': 'https://spritesheetgenerator.online',
- 'screenshot': 'https://spritesheetgenerator.online/og-image.png',
- 'featureList': [
- 'Free sprite editor',
- 'Automatic spritesheet generation',
- 'Customizable grid layouts',
- 'Animation preview',
- 'Cross-platform compatibility',
- 'Zero installation required',
- 'Batch processing',
- 'Multiple export formats (PNG, JPG, GIF, ZIP, JSON)'
- ],
- 'browserRequirements': 'Requires JavaScript. Requires HTML5.',
- 'aggregateRating': {
- '@type': 'AggregateRating',
- 'ratingValue': '4.8',
- 'ratingCount': '127'
- }
- })
- }
- ]
- });
+ // Add SoftwareApplication schema
+ useHead({
+ script: [
+ {
+ type: 'application/ld+json',
+ children: JSON.stringify({
+ '@context': 'https://schema.org',
+ '@type': 'SoftwareApplication',
+ 'name': 'Spritesheet Generator',
+ 'applicationCategory': 'DesignApplication',
+ 'offers': {
+ '@type': 'Offer',
+ 'price': '0',
+ 'priceCurrency': 'USD'
+ },
+ 'operatingSystem': 'Web Browser',
+ 'description': 'Free online tool to create spritesheets for game development. Upload sprites, arrange them, and export as a spritesheet with animation preview.',
+ 'url': 'https://spritesheetgenerator.online',
+ 'screenshot': 'https://spritesheetgenerator.online/og-image.png',
+ 'featureList': [
+ 'Free sprite editor',
+ 'Automatic spritesheet generation',
+ 'Customizable grid layouts',
+ 'Animation preview',
+ 'Cross-platform compatibility',
+ 'Zero installation required',
+ 'Batch processing',
+ 'Multiple export formats (PNG, JPG, GIF, ZIP, JSON)'
+ ],
+ 'browserRequirements': 'Requires JavaScript. Requires HTML5.',
+ 'aggregateRating': {
+ '@type': 'AggregateRating',
+ 'ratingValue': '4.8',
+ 'ratingCount': '127'
+ }
+ })
+ }
+ ]
});
}
diff --git a/src/views/PrivacyPolicy.vue b/src/views/PrivacyPolicy.vue
index a4e3582..f5f2239 100644
--- a/src/views/PrivacyPolicy.vue
+++ b/src/views/PrivacyPolicy.vue
@@ -1,24 +1,22 @@