vioott commited on
Commit
1cd055e
·
1 Parent(s): ae01725

feat(ui): unify navigation bar across all pages and disable profile link on start page

Browse files
Files changed (2) hide show
  1. templates/profile.html +4 -0
  2. templates/start.html +7 -0
templates/profile.html CHANGED
@@ -5,6 +5,10 @@
5
  <title>Perfil do Usuário</title>
6
  </head>
7
  <body>
 
 
 
 
8
 
9
  <form class="chat-box" method="POST">
10
  <h1>Gostaria de alterar algo?</h1>
 
5
  <title>Perfil do Usuário</title>
6
  </head>
7
  <body>
8
+ <div class="navbar">
9
+ <a href="/">🏠 Início</a>
10
+ <a href="/chat/{{ user_id }}" class="active">💬 Voltar ao Chat</a>
11
+ </div>
12
 
13
  <form class="chat-box" method="POST">
14
  <h1>Gostaria de alterar algo?</h1>
templates/start.html CHANGED
@@ -16,6 +16,13 @@
16
 
17
  </head>
18
  <body>
 
 
 
 
 
 
 
19
  <!-- Welcome Modal -->
20
  <div id="introModal" class="modal">
21
  <div class="modal-content">
 
16
 
17
  </head>
18
  <body>
19
+ <!-- Navbar (Simplified for Start Page) -->
20
+ <div class="navbar">
21
+ <a href="/" class="active">🏠 Início</a>
22
+ <!-- Link de perfil desativado na home pois ainda não existe ID -->
23
+ <a href="#" style="opacity: 0.5; cursor: not-allowed;" title="Crie um perfil primeiro">👤 Perfil</a>
24
+ </div>
25
+
26
  <!-- Welcome Modal -->
27
  <div id="introModal" class="modal">
28
  <div class="modal-content">