styling, first start page template

This commit is contained in:
2023-09-27 16:08:39 +02:00
parent b3bfa36c77
commit 7e4b04570e
16 changed files with 62 additions and 101 deletions

View File

@@ -18,8 +18,10 @@
<a href="/account">Account</a> |
<button onclick="changeTheme();" id="themeSelector">&#9789;</button>
</nav>
<img src="/otherAssets/logo.png" alt="libreevent logo" class="logo">
<h1>Welcome to {{ pageName }}!</h1>
<p>{{ data.description }}</p>
<div class="content">
<img src="/otherAssets/logo.png" alt="libreevent logo" class="logo">
<h1>Welcome to {{ pageName }}!</h1>
<p>{{ data.description }}</p>
</div>
</body>
</html>

View File

@@ -18,8 +18,10 @@
<a href="/account">Account</a> |
<button onclick="changeTheme();" id="themeSelector">&#9789;</button>
</nav>
<img src="/otherAssets/logo.png" alt="libreevent logo" class="logo">
<h1>Welcome to {{ pageName }}!</h1>
<p>{{ data.description }}</p>
<div class="content">
<img src="/otherAssets/logo.png" alt="libreevent logo" class="logo">
<h1>Welcome to {{ pageName }}!</h1>
<p>{{ data.description }}</p>
</div>
</body>
</html>

View File

@@ -18,8 +18,10 @@
<a href="/account">Account</a> |
<button onclick="changeTheme();" id="themeSelector">&#9789;</button>
</nav>
<img src="/otherAssets/logo.png" alt="libreevent logo" class="logo">
<h1>Welcome to {{ pageName }}!</h1>
<p>{{ data.description }}</p>
<div class="content">
<img src="/otherAssets/logo.png" alt="libreevent logo" class="logo">
<h1>Welcome to {{ pageName }}!</h1>
<p>{{ data.description }}</p>
</div>
</body>
</html>

View File

@@ -1,25 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200"> -->
<script defer src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<link rel="stylesheet" href="/supportFiles/style.css">
<link rel="stylesheet" href="/startPage/mainStyle">
<script defer src="/startPage/helperFunction"></script>
<title>{{ pageName }} :: Home</title>
</head>
<body>
<nav>
<a class="home">Home</a> |
<a href="/tickets">Tickets</a> |
<a href="/cart">Cart</a> |
<a href="/account">Account</a> |
<button onclick="changeTheme();" id="themeSelector">&#9789;</button>
</nav>
<img src="/otherAssets/logo.png" alt="libreevent logo" class="logo">
<h1>Welcome to {{ pageName }}!</h1>
<p>{{ data.description }}</p>
</body>
</html>

View File

@@ -1 +0,0 @@
{"subtitle":"this is a test","description":"this is a test description"}

View File

@@ -1,31 +0,0 @@
{
"subtitle": {
"id": "subtitle",
"type": "text",
"display": "Subtitle",
"can-be-empty": false
},
"description": {
"id": "description",
"type": "textarea",
"display": "Description",
"textarea-settings": {
"cols": 50,
"rows": 5,
"max-length": 0,
"min-length": 100
},
"can-be-empty": false
},
"banner": {
"id": "banner",
"type": "image",
"display": "Banner",
"image-settings": {
"upload-name": "homeBanner",
"accept-filetype": "image/jpeg",
"height": 200,
"width": 350
}
}
}