update
This commit is contained in:
parent
5f3954ed66
commit
e3bc669118
7 changed files with 46 additions and 17 deletions
|
|
@ -11,7 +11,7 @@ import Crafter.CppDOM;
|
|||
using namespace Crafter;
|
||||
|
||||
export namespace Catcrafts {
|
||||
HtmlElementView* body = new HtmlElementView("body", R"(
|
||||
HtmlElementPtr body("body", R"(
|
||||
<header>
|
||||
<div class="nav-container">
|
||||
<a href="/" class="logo">🐱 Catcrafts</a>
|
||||
|
|
@ -36,12 +36,13 @@ export namespace Catcrafts {
|
|||
</div>
|
||||
</footer>)");
|
||||
|
||||
HtmlElementView* head = new HtmlElementView("head", R"(
|
||||
HtmlElementPtr head("head", R"(
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Catcrafts.net</title>
|
||||
<link rel="stylesheet" href="/styles.css">
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||
)");
|
||||
|
||||
HtmlElementView* main = new HtmlElementView("main");
|
||||
HtmlElementPtr main("main");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue