-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstory.html
More file actions
65 lines (59 loc) · 2.55 KB
/
Copy pathstory.html
File metadata and controls
65 lines (59 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Title will be set dynamically -->
<title>Story App</title>
<!-- Favicon -->
<link rel="icon" type="image" href="assets/icons/story-book.png">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<!-- Custom Stylesheet -->
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body class="bg-gray-50">
<!-- Loading Spinner -->
<div id="page-loader" class="flex justify-center items-center h-screen">
<div class="loader"></div>
</div>
<!-- Main Content (hidden until ready) -->
<div id="page-content" class="hidden w-full">
<!-- Header -->
<header class="main-header">
<nav class="header-nav">
<button id="home-button" class="icon-button" title="Back to Library">
<img src="assets/icons/home.png" alt="Home">
</button>
<div class="flex-1"></div> <!-- Spacer -->
<div class="dropdown">
<button id="dropdown-button" class="icon-button" title="User Menu">
<img src="assets/icons/user.png" alt="User Menu">
</button>
<div id="dropdown-content" class="dropdown-content">
<div class="user-email">
<span id="user-email"></span>
</div>
<button id="signout-button">Sign Out</button>
</div>
</div>
</nav>
</header>
<!-- Story Content -->
<main class="main-container pt-20">
<div class="bg-white p-6 sm:p-8 rounded-lg shadow-md">
<h2 id="story-title" class="text-3xl sm:text-4xl font-bold text-center text-gray-900 mb-6 border-b pb-4">
<!-- Title will be dynamically inserted here -->
</h2>
<div id="story-text" class="story-viewer-content max-w-4xl mx-auto text-gray-700 text-left">
<!-- Story text will be dynamically inserted here -->
<div class="loader mx-auto"></div>
</div>
</div>
</main>
</div>
<!-- JavaScript Modules -->
<script type="module" src="assets/js/auth.js"></script>
<script type="module" src="assets/js/story-viewer.js"></script>
</body>
</html>