feat: add account navigation and footer
Move Inbox into a top-right account area, add a profile page for the authenticated user, and introduce a configurable sitemap and useful-links footer. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
0d8a25e73f
commit
83d14d23a2
9 changed files with 388 additions and 36 deletions
|
|
@ -455,9 +455,26 @@ button {
|
|||
margin-top: auto;
|
||||
padding: 1rem 0.4rem 0;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
.sidebar-signout {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
justify-content: center;
|
||||
gap: 0.55rem;
|
||||
padding: 0.7rem;
|
||||
color: #aac0ca;
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
font: inherit;
|
||||
font-size: 0.82rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
.sidebar-signout:hover {
|
||||
color: white;
|
||||
border-color: rgba(255, 255, 255, 0.25);
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
.user-chip {
|
||||
display: flex;
|
||||
|
|
@ -480,9 +497,150 @@ button {
|
|||
}
|
||||
.main-content {
|
||||
margin-left: 255px;
|
||||
padding: clamp(2rem, 4vw, 4.2rem) clamp(1.2rem, 4vw, 4.8rem);
|
||||
padding: clamp(1rem, 2vw, 1.8rem) clamp(1.2rem, 4vw, 4.8rem) 0;
|
||||
max-width: 1550px;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.workspace-utilities {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
gap: 0.55rem;
|
||||
}
|
||||
.utility-link {
|
||||
min-height: 40px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.55rem;
|
||||
padding: 0.4rem 0.7rem;
|
||||
color: #526872;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 10px;
|
||||
font-size: 0.84rem;
|
||||
font-weight: 700;
|
||||
transition:
|
||||
color 0.2s,
|
||||
border-color 0.2s,
|
||||
background 0.2s;
|
||||
}
|
||||
.utility-link:hover,
|
||||
.utility-link.active {
|
||||
color: var(--navy);
|
||||
border-color: #d5e3e6;
|
||||
background: rgba(255, 255, 255, 0.62);
|
||||
}
|
||||
.profile-utility {
|
||||
padding-left: 0.45rem;
|
||||
}
|
||||
.workspace-content {
|
||||
flex: 1;
|
||||
padding-top: clamp(1.6rem, 3vw, 3rem);
|
||||
}
|
||||
.app-footer {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(220px, 1.25fr) minmax(300px, 1fr);
|
||||
gap: 2rem;
|
||||
margin-top: clamp(3rem, 6vw, 6rem);
|
||||
padding: 2rem 0;
|
||||
color: #667d88;
|
||||
border-top: 1px solid #dbe6e8;
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
.app-footer-brand {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.8rem;
|
||||
}
|
||||
.app-footer-brand strong {
|
||||
color: var(--navy);
|
||||
font-family: 'Manrope';
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
.app-footer-brand p {
|
||||
max-width: 330px;
|
||||
margin: 0.25rem 0 0;
|
||||
line-height: 1.55;
|
||||
}
|
||||
.footer-navigation {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 2rem;
|
||||
}
|
||||
.footer-navigation section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.45rem;
|
||||
}
|
||||
.footer-navigation h2 {
|
||||
margin: 0 0 0.25rem;
|
||||
color: var(--navy);
|
||||
font-family: 'DM Sans';
|
||||
font-size: 0.78rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.09em;
|
||||
}
|
||||
.footer-navigation a:hover {
|
||||
color: var(--cyan-dark);
|
||||
}
|
||||
.footer-meta {
|
||||
grid-column: 1 / -1;
|
||||
margin: 0;
|
||||
padding-top: 1rem;
|
||||
color: #8a9ca4;
|
||||
border-top: 1px solid #e3ebed;
|
||||
}
|
||||
.profile-card {
|
||||
max-width: 820px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.profile-identity {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 1.5rem;
|
||||
color: white;
|
||||
background: var(--navy);
|
||||
}
|
||||
.profile-identity h2 {
|
||||
margin: 0 0 0.4rem;
|
||||
color: white;
|
||||
}
|
||||
.profile-avatar {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
.profile-details {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
margin: 0;
|
||||
}
|
||||
.profile-details > div {
|
||||
min-width: 0;
|
||||
padding: 1.35rem 1.5rem;
|
||||
border-right: 1px solid var(--line);
|
||||
}
|
||||
.profile-details > div:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
.profile-details dt {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.45rem;
|
||||
color: var(--muted);
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
.profile-details dd {
|
||||
overflow-wrap: anywhere;
|
||||
margin: 0.55rem 0 0;
|
||||
color: var(--ink);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
|
|
@ -2117,6 +2275,22 @@ fieldset {
|
|||
width: 100%;
|
||||
margin-left: 0;
|
||||
}
|
||||
.app-footer {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.footer-meta {
|
||||
grid-column: 1;
|
||||
}
|
||||
.profile-details {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.profile-details > div {
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.profile-details > div:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
|
|
@ -2223,6 +2397,18 @@ fieldset {
|
|||
.schedule-form-actions .button {
|
||||
width: 100%;
|
||||
}
|
||||
.workspace-utilities {
|
||||
gap: 0.25rem;
|
||||
}
|
||||
.utility-link {
|
||||
padding-inline: 0.5rem;
|
||||
}
|
||||
.profile-utility > span:last-child {
|
||||
display: none;
|
||||
}
|
||||
.footer-navigation {
|
||||
gap: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue