4 <title>Rising Legends</title>
7 <a href="https://www.flaticon.com/free-icons/dawn" title="dawn icons">Dawn icons created by Smashicons - Flaticon</a>
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>
18 <section id="title-bar">
19 <a href="/" class="title-font">Rising Legends</a>
20 <div id="time-of-day"></div>
24 <div class="avatar-container">
25 <img id="avatar" src="/assets/img/profile-pics/warrior-1.jpg">
27 <div id="player-info">
29 <div id="player-section">
30 <div id="username"></div>
31 <div class="gold"></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>
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>
46 <div id="signup-prompt" class="hidden"></div>
47 <div id="announcements" class="hidden"></div>
49 <div id="alerts"></div>
50 <div id="modal-wrapper"></div>
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">
58 <div id="fight"></div>
60 <section id="settings" class="tab">
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>
69 <div id="chat-messages" hx-trigger="load delay:1s" hx-get="/chat/history" hx-swap="afterbegin"></div>
70 <form id="chat-form" hx-post="/chat">
71 <input type="text" id="message" name="message" autocomplete="off"><button type="submit">Send</button>
75 <section id="game-footer">
78 <a href="#" data-section="settings" data-container="main-nav" hx-get="/settings" hx-target="#settings">Settings</a>
81 <div id="server-stats">...Loading</div>
83 <footer>Another project by <a href="https://xangelo.ca/gardens/rising-legends/">xangelo.ca</a>. <span id="version"></span></footer>
86 <script src="/assets/bundle.js"></script>