First commit
All checks were successful
Build tesses.net / build-and-push-image (push) Successful in 49s
All checks were successful
Build tesses.net / build-and-push-image (push) Successful in 49s
This commit is contained in:
33
src/components/shell.tcross
Normal file
33
src/components/shell.tcross
Normal file
@@ -0,0 +1,33 @@
|
||||
func Components.Shell(title,body)
|
||||
{
|
||||
return <!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/css/styles-new.css">
|
||||
<title>Tesses - {title}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2 class="nav-bar-print">(Tesses) {"https://tesses.net/"}</h2>
|
||||
<nav class="nav-bar">
|
||||
<div id="branding">
|
||||
<img src="/img/favicon.svg" width="32" height="32" alt="LOGO">
|
||||
<h1>Tesses</h1>
|
||||
</div>
|
||||
<ul>
|
||||
|
||||
|
||||
<li class="nav-link"><a href="/">Home</a></li>
|
||||
<li class="nav-link"><a href="/othersites">My Other Sites</a></li>
|
||||
<li class="nav-link"><a href="/apps">Apps</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<main class=".content">
|
||||
<raw(body)>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
;
|
||||
}
|
||||
Reference in New Issue
Block a user