Skip to content

Commit

Permalink
feat: add title and canonical
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelgautier committed Jul 12, 2024
1 parent 622073f commit 57d9b30
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
6 changes: 5 additions & 1 deletion examples/angular-spa/src/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8">
<title>AngularSpa</title>
<title>Angular SPA Example using OpenID Connect</title>
<link rel="canonical" href="https://cerberauth-angular-spa-oidc.pages.dev/" />
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>

<body>
<app-root></app-root>
</body>

</html>
26 changes: 15 additions & 11 deletions examples/react-spa/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="canonical" href="https://cerberauth-react-spa-oidc.pages.dev/" />
<title>React SPA Example using OpenID Connect</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>

</html>

0 comments on commit 57d9b30

Please sign in to comment.