Initial Go web server with Web Awesome hello world
This commit is contained in:
25
static/index.html
Normal file
25
static/index.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Tickets App</title>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@awesome.me/webawesome@3/dist-cdn/styles/themes/default.css">
|
||||
<script type="module" src="https://cdn.jsdelivr.net/npm/@awesome.me/webawesome@3/dist-cdn/webawesome.loader.js"></script>
|
||||
<style>
|
||||
body {
|
||||
font-family: var(--wa-font-sans);
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 2rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<wa-card>
|
||||
<h1 slot="header">Hello World</h1>
|
||||
<p>Welcome to the Tickets App!</p>
|
||||
<wa-button variant="brand">Get Started</wa-button>
|
||||
</wa-card>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user