Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

update titles (#250)

Jonathan Fishnercf96830bfaf9
diff --git a/index.html b/index.html
index 6a520fac..b687cb6d 100644
--- a/index.html
+++ b/index.html
@@ -6,8 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
- content="Free and Open-source database diagrams editor, visualize and design your database with a single query.
- Tool to help you draw your DB relationship diagrams and export DDL scripts."
+ content="Free and Open-source database diagrams editor, visualize and design your database with a single query. Tool to help you draw your DB relationship diagrams and export DDL scripts."
/>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
@@ -17,8 +16,7 @@
/>
<meta
property="og:description"
- content="Free and Open-source database diagrams editor, visualize and design your database with a single query.
-Tool to help you draw your DB relationship diagrams and export DDL scripts."
+ content="Free and Open-source database diagrams editor, visualize and design your database with a single query. Tool to help you draw your DB relationship diagrams and export DDL scripts."
/>
<meta
property="og:image"
@@ -32,15 +30,14 @@ Tool to help you draw your DB relationship diagrams and export DDL scripts."
/>
<meta
name="twitter:description"
- content="Free and Open-source database diagrams editor, visualize and design your database with a single query.
-Tool to help you draw your DB relationship diagrams and export DDL scripts."
+ content="Free and Open-source database diagrams editor, visualize and design your database with a single query. Tool to help you draw your DB relationship diagrams and export DDL scripts."
/>
<meta
name="twitter:image"
content="https://github.com/chartdb/chartdb/raw/main/public/ChartDB.png"
/>
<meta name="robots" content="max-image-preview:large" />
- <title>ChartDB</title>
+ <title>ChartDB - Database schema diagrams visualizer</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
diff --git a/src/context/chartdb-context/chartdb-provider.tsx b/src/context/chartdb-context/chartdb-provider.tsx
index 924439d7..6f71f39a 100644
--- a/src/context/chartdb-context/chartdb-provider.tsx
+++ b/src/context/chartdb-context/chartdb-provider.tsx
@@ -52,9 +52,10 @@ export const ChartDBProvider: React.FC<React.PropsWithChildren> = ({
useEffect(() => {
if (diagramName) {
- document.title = `ChartDB - ${diagramName}`;
+ document.title = `ChartDB - ${diagramName} Diagram | Visualize Database Schemas`;
} else {
- document.title = 'ChartDB - Create Diagram';
+ document.title =
+ 'ChartDB - Create & Visualize Database Schema Diagrams';
}
}, [diagramName]);
diff --git a/src/pages/examples-page/examples-page.tsx b/src/pages/examples-page/examples-page.tsx
index d4a4cd6a..253da13d 100644
--- a/src/pages/examples-page/examples-page.tsx
+++ b/src/pages/examples-page/examples-page.tsx
@@ -8,7 +8,7 @@ import { useTheme } from '@/hooks/use-theme';
export const ExamplesPage: React.FC = () => {
const { effectiveTheme } = useTheme();
useEffect(() => {
- document.title = 'ChartDB - Examples';
+ document.title = 'ChartDB - Example Database Diagrams & Schemas';
}, []);
return (