Skip to content

Commit 7101d10

Browse files
authored
Add title and font links to app.edge
1 parent cadb594 commit 7101d10

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

  • templates/express-inertia/src/resources/views

templates/express-inertia/src/resources/views/app.edge

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,25 @@
44
<head>
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<title>
8+
{appName} - {title}
9+
</title>
10+
<link rel="preconnect" href="https://fonts.googleapis.com" />
11+
<link
12+
rel="preconnect"
13+
href="https://fonts.gstatic.com"
14+
crossOrigin="use-credentials"
15+
/>
16+
<link
17+
href="https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=DM+Mono:wght@400;500&display=swap"
18+
rel="stylesheet"
19+
/>
720
@inertiaHead
821
@viteReactRefresh
922
@vite(['resources/js/app.jsx', 'resources/css/app.css'])
10-
</head>
11-
23+
</head>
1224
<body>
1325
@inertia
1426
</body>
1527

16-
</html>
28+
</html>

0 commit comments

Comments
 (0)