@@ -5,6 +5,31 @@ interface Props {
55}
66
77const { title, description = " LibreDB Studio - The Modern, AI-Powered Open-Source SQL IDE for Cloud-Native Teams" } = Astro .props ;
8+ const canonicalURL = new URL (Astro .url .pathname , Astro .site );
9+ const siteURL = " https://libredb.org" ;
10+
11+ // Structured Data for SEO
12+ const structuredData = {
13+ " @context" : " https://schema.org" ,
14+ " @type" : " SoftwareApplication" ,
15+ " name" : " LibreDB Studio" ,
16+ " applicationCategory" : " DeveloperApplication" ,
17+ " operatingSystem" : " Web Browser" ,
18+ " description" : description ,
19+ " url" : siteURL ,
20+ " offers" : {
21+ " @type" : " Offer" ,
22+ " price" : " 0" ,
23+ " priceCurrency" : " USD"
24+ },
25+ " author" : {
26+ " @type" : " Organization" ,
27+ " name" : " LibreDB" ,
28+ " url" : siteURL
29+ },
30+ " license" : " https://opensource.org/licenses/MIT" ,
31+ " keywords" : " SQL IDE, database editor, PostgreSQL, MySQL, SQLite, MongoDB, AI SQL, open source"
32+ };
833---
934
1035<!doctype html >
@@ -13,21 +38,41 @@ const { title, description = "LibreDB Studio - The Modern, AI-Powered Open-Sourc
1338 <meta charset =" UTF-8" />
1439 <meta name =" viewport" content =" width=device-width, initial-scale=1.0" />
1540 <meta name =" description" content ={ description } />
16- <meta name =" keywords" content =" SQL IDE, database editor, PostgreSQL, MySQL, SQLite, MongoDB, AI SQL, open source" />
41+ <meta name =" keywords" content =" SQL IDE, database editor, PostgreSQL, MySQL, SQLite, MongoDB, AI SQL, open source, web-based database tool, AI query assistant" />
42+ <meta name =" author" content =" LibreDB" />
43+ <meta name =" robots" content =" index, follow" />
44+ <meta name =" theme-color" content =" #4f46e5" />
45+
46+ <!-- Canonical URL -->
47+ <link rel =" canonical" href ={ canonicalURL } />
1748
1849 <!-- Open Graph -->
1950 <meta property =" og:title" content ={ title } />
2051 <meta property =" og:description" content ={ description } />
2152 <meta property =" og:type" content =" website" />
22- <meta property =" og:url" content =" https://libredb.org" />
23- <meta property =" og:image" content =" https://libredb.org/og-image.png" />
53+ <meta property =" og:url" content ={ canonicalURL } />
54+ <meta property =" og:image" content ={ ` ${siteURL }/og-image.png ` } />
55+ <meta property =" og:image:width" content =" 1200" />
56+ <meta property =" og:image:height" content =" 630" />
57+ <meta property =" og:image:alt" content =" LibreDB Studio - AI-Powered SQL IDE" />
58+ <meta property =" og:site_name" content =" LibreDB Studio" />
59+ <meta property =" og:locale" content =" en_US" />
2460
2561 <!-- Twitter -->
2662 <meta name =" twitter:card" content =" summary_large_image" />
2763 <meta name =" twitter:title" content ={ title } />
2864 <meta name =" twitter:description" content ={ description } />
65+ <meta name =" twitter:image" content ={ ` ${siteURL }/og-image.png ` } />
66+ <meta name =" twitter:image:alt" content =" LibreDB Studio - AI-Powered SQL IDE" />
2967
68+ <!-- Structured Data (JSON-LD) -->
69+ <script is:inline type =" application/ld+json" set:html ={ JSON .stringify (structuredData )} />
70+
71+ <!-- Favicons -->
3072 <link rel =" icon" type =" image/svg+xml" href =" /logo.svg" />
73+ <link rel =" apple-touch-icon" href =" /logo.svg" />
74+
75+ <!-- Fonts -->
3176 <link rel =" preconnect" href =" https://fonts.googleapis.com" />
3277 <link rel =" preconnect" href =" https://fonts.gstatic.com" crossorigin />
3378 <link href =" https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap" rel =" stylesheet" />
0 commit comments