feat(profile,publications): integrate working Google Scholar import flow and unified faculty profile system

This commit is contained in:
Harshil Vora
2025-10-18 02:53:32 -07:00
parent 8fe0ef8112
commit ba28588e38
19 changed files with 915 additions and 139 deletions

View File

@@ -1,4 +1,6 @@
<link rel="stylesheet" href="{{ asset('assets/frontend/css/app.css') }}">
<!-- Add Font Awesome for icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.navbar-profile-picture {
width: 40px;
@@ -12,6 +14,16 @@
body {
padding-top: 70px;
}
/* Style for dropdown toggle without underline */
.dropdown-toggle:hover {
text-decoration: none;
}
/* Ensure dropdown menu appears above other content */
.dropdown-menu {
z-index: 1030;
}
</style>
<nav class="navbar navbar-expand-lg navbar-dark bgGrad text-white fixed-top">
<div class="container-fluid">
@@ -29,13 +41,35 @@
@if (!Auth::guest())
<ul class="navbar-nav me-md-5">
<div class="d-flex align-items-center bgRightShade">
<div class="dropdown ms-2">
<a class="d-flex align-items-center text-white text-decoration-none dropdown-toggle"
href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<img src="{{ asset('assets/frontend/images/user.png') }}"
alt="profile"
class="navbar-profile-picture me-2">
<span>{{ Auth::user()->name }}</span>
</a>
<div class="d-none d-md-inline ms-2">
{{ auth()->user()->name }}
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
<li>
<a class="dropdown-item" href="{{ route('faculty.profile.index') }}">
<i class="fa-solid fa-id-card me-2 text-primary"></i> Profile
</a>
</li>
<li><hr class="dropdown-divider"></li>
<li>
<form method="POST" action="{{ route('logout') }}">
@csrf
<button type="submit" class="dropdown-item text-danger">
<i class="fa-solid fa-right-from-bracket me-2"></i> Logout
</button>
</form>
</li>
</ul>
</div>
</div>
</ul>
@endif
@yield('login')
</div>
</nav>
</nav>