Skip to content

Commit

Permalink
shared layout for all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Jun 6, 2024
1 parent 03756b6 commit 190cea6
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
Binary file added src/assets/greenwood-logo-og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions src/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@
<html lang="en" prefix="og:http://ogp.me/ns#">
<head>
<title>Greenwood</title>
<script type="module" src="../components/footer/footer.js" data-gwd-opt="static"></script>
<link rel="stylesheet" href="../styles/theme.css" />
<link rel="stylesheet" href="../styles/main.css" />
</head>

<body>
<h1>Welcome to Greenwood!</h1>
<app-footer></app-footer>
</body>
</html>
36 changes: 36 additions & 0 deletions src/templates/app.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!doctype html>
<html lang="en" prefix="og:http://ogp.me/ns#">
<head>
<title>Greenwood</title>
<meta charset="utf-8" />
<meta
name="description"
content="Greenwood is your workbench for the web, embracing web standards from the ground up to empower your stack from front to back.."
/>
<meta name="twitter:site" content="@PrjEvergreen" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.greenwoodjs.dev" />
<meta property="og:image" content="https://www.greenwoodjs.dev/assets/greenwood-logo-og.png" />
<meta
property="og:description"
content="Greenwood is your workbench for the web, embracing web standards from the ground up to empower your stack from front to back."
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />

<script type="module" src="../components/footer/footer.js" data-gwd-opt="static"></script>
<script type="module" src="../components/header/header.js"></script>
<link rel="stylesheet" href="../styles/theme.css" />
<link rel="stylesheet" href="../styles/main.css" />
</head>

<body>
<app-header></app-header>

<page-outlet></page-outlet>

<app-footer></app-footer>
</body>
</html>

0 comments on commit 190cea6

Please sign in to comment.