mirror of
https://github.com/alexandernicholson/s3panoramic.git
synced 2026-05-06 06:50:41 +09:00
feature: v1
This commit is contained in:
parent
6b1e6c945f
commit
6d8acb2752
20
src/templates/layout.ts
Normal file
20
src/templates/layout.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
export function layout(content: string) {
|
||||
return `
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Object Storage Browser</title>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css">
|
||||
<link rel="stylesheet" href="/static/styles.css">
|
||||
<script src="https://unpkg.com/htmx.org@1.9.10"></script>
|
||||
</head>
|
||||
<body>
|
||||
<main class="container">
|
||||
${content}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
`;
|
||||
}
|
||||
Reference in New Issue
Block a user