Skip to content

Commit

Permalink
CORE-5093: update design
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 committed Jan 31, 2025
1 parent 5d167b7 commit fb9601f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
5 changes: 2 additions & 3 deletions src/modules/header/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ const Header = ({ children, className, id, ...passProps }) => {
onExpand={() => toggleMenu('about')}
className={styles.aboutMenu}
>
<Group id="about" label="About" tag="li" labelTag="a">
<Group id="about" label="About" tag="li">
<Item href="/about">About us</Item>
<Item href="/about#mission">Our mission</Item>
<Item href="/about#team">Team</Item>
Expand All @@ -257,7 +257,6 @@ const Header = ({ children, className, id, ...passProps }) => {
id="community"
label="Community governance"
tag="li"
labelTag="a"
>
<Item href="/governance" className={styles.communitiesMenuItem}>
Governance
Expand All @@ -266,7 +265,7 @@ const Header = ({ children, className, id, ...passProps }) => {
<Item href="/governance/supporters">Board of supporters</Item>
<Item href="/governance/research">Research network</Item>
</Group>
<Group id="innovations" label="Innovations" tag="li" labelTag="a">
<Group id="innovations" label="Innovations" tag="li">
<Item href="/about/research-outputs">Our research</Item>
<Item href="/innovations/labs">CORE Labs</Item>
</Group>
Expand Down
14 changes: 4 additions & 10 deletions src/modules/header/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
font-weight: 400;
color: hsl(var(--component-color) / var(--component-disabled));
letter-spacing: .01em;
text-align: start;
}

.group-list {
Expand Down Expand Up @@ -430,19 +431,19 @@
flex-direction: row;
width: max-content;
max-height: 20rem;
gap: 16px;
gap: 24px;
padding: 10px;
}
}
}

.member-menu-item {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: max-content;
min-width: 172px;
min-width: 215px;
height: 68px;
padding: .5rem;
margin-top: 1rem;
Expand All @@ -452,13 +453,6 @@
}


.member-menu-text {
position: absolute;
top: 50%;
width: 100%;
transform: translate(-50%, -50%);
}

/* search item styles */
.search-bar-item {
--app-bar-padding-y: 0;
Expand Down

0 comments on commit fb9601f

Please sign in to comment.