-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/issue 32 shared layout for all pages (#56)
- Loading branch information
1 parent
03756b6
commit 0148fce
Showing
11 changed files
with
131 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
imports: | ||
- ../styles/home.css | ||
--- | ||
|
||
# Welcome to Greenwood! | ||
|
||
```js | ||
return new Response("<h1>Hello World</h1>", { | ||
headers: { | ||
"Content-Type": "text/html", | ||
}, | ||
}); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
h1 { | ||
text-align: center; | ||
} | ||
|
||
pre { | ||
margin: 0 auto !important; | ||
width: 30%; | ||
overflow: scroll; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!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" /> | ||
</head> | ||
|
||
<body> | ||
<app-header></app-header> | ||
|
||
<main> | ||
<page-outlet></page-outlet> | ||
</main> | ||
|
||
<app-footer></app-footer> | ||
</body> | ||
</html> |