Skip to content

Commit

Permalink
feat: set a specific page title for each project
Browse files Browse the repository at this point in the history
This makes it easy to identify one project from another.
Add missing title in meta head for sveltekit.
  • Loading branch information
tbouffard committed Aug 19, 2024
1 parent 306031a commit aeffe27
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions projects/lit-ts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>maxGraph Lit integration example</title>
<title>maxGraph Lit Typescript example</title>
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
<script type="module" src="/src/index.ts"></script>
</head>
<body>
<h1>maxGraph TypeScript example</h1>
<h1>maxGraph Lit Typescript example</h1>
<p>Display a test graph. Activated behaviours:</p>
<ul>
<li>Panning: use mouse right button</li>
Expand Down
4 changes: 2 additions & 2 deletions projects/parcel-ts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>maxGraph TypeScript example</title>
<title>maxGraph Parcel TypeScript example</title>
<link rel="icon" type="image/ico" href="favicon.ico" />
<script type="module" src="src/main.ts"></script>
</head>
<body>
<h1>maxGraph TypeScript example</h1>
<h1>maxGraph Parcel TypeScript example</h1>
<p>Display a test graph. Activated behaviours:</p>
<ul>
<li>Panning: use mouse right button</li>
Expand Down
4 changes: 2 additions & 2 deletions projects/rollup-ts/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>maxGraph TypeScript example</title>
<title>maxGraph Rollup TypeScript example</title>
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" href="style.css" />
<script type="module" src='bundle.js'></script>
</head>
<body>
<h1>maxGraph TypeScript example</h1>
<h1>maxGraph Rollup TypeScript example</h1>
<p>Display a test graph. Activated behaviours:</p>
<ul>
<li>Panning: use mouse right button</li>
Expand Down
6 changes: 5 additions & 1 deletion projects/sveltekit-ts/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
import { Client } from '@maxgraph/core';
</script>

<h1>maxGraph SvelteKit-TypeScript example</h1>
<svelte:head>
<title>maxGraph SvelteKit TypeScript example</title>
</svelte:head>

<h1>maxGraph SvelteKit TypeScript example</h1>
<p>Display a test graph. Activated behaviours:</p>
<ul>
<li>Panning: use mouse right button</li>
Expand Down
4 changes: 2 additions & 2 deletions projects/vitejs-ts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>maxGraph TypeScript example</title>
<title>maxGraph Vite TypeScript example</title>
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<script type="module" src="/src/main.ts"></script>
</head>
<body>
<h1>maxGraph TypeScript example</h1>
<h1>maxGraph Vite TypeScript example</h1>
<p>Display a test graph. Activated behaviours:</p>
<ul>
<li>Panning: use mouse right button</li>
Expand Down

0 comments on commit aeffe27

Please sign in to comment.