File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,14 +68,19 @@ const handleLogout = async () => {
6868 <nav class =" navbar py-2 px-3" style =" background-color : #F5F5F5 ;" >
6969 <div class =" container-fluid" >
7070 <div class =" d-flex align-items-center justify-content-between w-100" >
71- <RouterLink to="/" class="navbar-brand d-flex align-items-center me-3">
72- <img
73- :src =" logoUrl"
74- alt =" Situation Room logo"
75- class =" logo"
76- style =" height : 2.5rem ; width : auto ;"
77- />
78- </RouterLink >
71+ <div class =" logo-wrapper" >
72+ <RouterLink to="/" class="navbar-brand d-flex align-items-center me-3">
73+ <img
74+ :src =" logoUrl"
75+ alt =" Situation Room logo"
76+ class =" logo"
77+ style =" height : 2.5rem ; width : auto ;"
78+ />
79+ </RouterLink >
80+ <span v-if =" authStore.isAuthenticated.value" class =" badge bg-dark text-white px-2 py-1 d-none d-sm-inline" >
81+ {{ authStore.userType.value === 'journalist' ? 'Journalist' : 'Activist' }}
82+ </span >
83+ </div >
7984
8085 <div class =" flex-grow-1 text-center d-none d-md-block fw-bold fs-6 fs-lg-5" >
8186 {{ pageTitle }}
@@ -112,9 +117,6 @@ const handleLogout = async () => {
112117 <i class =" fas fa-user" ></i >
113118 <span class =" d-none d-xl-inline ms-1" >Profile</span >
114119 </button >
115- <span class =" badge bg-dark text-white px-2 py-1 d-none d-lg-inline" >
116- {{ authStore.userType.value === 'journalist' ? 'Journalist' : 'Activist' }}
117- </span >
118120 <button
119121 @click =" handleLogout"
120122 class =" btn btn-outline-danger btn-sm d-flex align-items-center"
@@ -265,6 +267,16 @@ const handleLogout = async () => {
265267 }
266268}
267269
270+ .logo-wrapper {
271+ display : flex ;
272+ flex-direction : row ;
273+ align-items : baseline ;
274+ .badge {
275+ position : relative ;
276+ bottom : 0.325rem ;
277+ }
278+ }
279+
268280.messages-mobile {
269281 position : relative ;
270282 .unreadMessages {
You can’t perform that action at this time.
0 commit comments