chore(release): 0.2.9
[risinglegends.git] / public / index.html
1 <!doctype html>
2 <html>
3   <head>
4     <title>Rising Legends</title>
5     <meta charset="utf-8">
6     <!--
7 <a href="https://www.flaticon.com/free-icons/dawn" title="dawn icons">Dawn icons created by Smashicons - Flaticon</a>
8 -->
9     <meta name="viewport" content="width=device-width, initial-scale=1" />
10     <link rel="stylesheet" href="/assets/css/reset.css">
11     <link rel="stylesheet" href="/assets/css/game.css">
12     <link rel="stylesheet" href="/assets/css/sky.css">
13     <script src="https://unpkg.com/htmx.org@1.9.4" integrity="sha384-zUfuhFKKZCbHTY6aRR46gxiqszMk5tcHjsVFxnUo8VMus4kHGVdIYVbOYYNlKmHV" crossorigin="anonymous"></script>
14     <script src="/socket.io/socket.io.js"></script>
15   </head>
16   <body>
17     <div id="view">
18       <section id="title-bar">
19         <a href="/" class="title-font">Rising Legends</a>
20         <div id="time-of-day"></div>
21       </section>
22
23       <header>
24         <div class="avatar-container">
25           <img id="avatar" src="/assets/img/profile-pics/warrior-1.jpg">
26         </div>
27         <div id="player-info">
28           <div id="stat-bars">
29             <div id="player-section">
30               <div id="username"></div>
31               <div class="gold"></div>
32             </div>
33             <div id="ap-bar"></div>
34             <div class="progress-bar" id="hp-bar"></div>
35             <div class="progress-bar" id="exp-bar"></div>
36           </div>
37           <nav>
38             <li><a href="#" class="active" hx-get="/player" hx-target="#profile">Profile</a></li>
39             <li><a href="#" hx-get="/player/inventory" hx-target="#inventory">Inventory</a></li>
40             <li><a href="#" hx-get="/player/skills" hx-target="#skills">Skills</a></li>
41             <li><a href="#" hx-get="/player/explore" hx-target="#explore">Explore</a></li>
42           </nav>
43         </div>
44       </header>
45
46       <div id="signup-prompt" class="hidden"></div>
47       <div id="announcements" class="hidden"></div>
48
49       <div id="alerts"></div>
50       <div id="modal-wrapper"></div>
51
52       <div id="main-nav">
53         <section id="profile" class="tab">PROFILE</section>
54         <section id="inventory" class="tab">INVENTORY</section>
55         <section id="skills" class="tab">SKILLS</section>
56         <section id="explore" class="tab active">
57           <div id="map"></div>
58           <div id="fight"></div>
59         </section>
60         <section id="settings" class="tab">
61           <div>
62             <p class="alert error">If you haven't set a username/password you will not be able to access this character again.</p>
63             <p><button class="btn" id="logout">Logout</button></p>
64           </div>
65         </section>
66       </div>
67
68       <section id="chat">
69         <div id="chat-messages" hx-trigger="load delay:1s" hx-get="/chat/history" hx-swap="afterend"></div>
70         <form id="chat-form" hx-post="/chat">
71           <input type="text" id="message" name="message" autocomplete="off"><button type="submit">Send</button>
72         </form>
73       </section>
74
75       <section id="game-footer">
76         <div>
77           <nav>
78             <a href="#" data-section="settings" data-container="main-nav" hx-get="/settings" hx-target="#settings">Settings</a>
79           </nav>
80         </div>
81         <div id="server-stats">...Loading</div>
82       </section>
83       <footer>Another project by <a href="https://xangelo.ca/gardens/rising-legends/">xangelo.ca</a>. <span id="version"></span></footer>
84     </div>
85   </body>
86   <script src="/assets/bundle.js"></script>
87 </html>