Skip to content

Commit

Permalink
CORE-4825 new posi title (#1099) (#1100)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 authored Feb 5, 2024
1 parent 92e2965 commit 0a0f7c7
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 1 deletion.
2 changes: 2 additions & 0 deletions data/home.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ features:

join:
title: Join CORE
subTitle: An open scholarly infrastructure for researchers by researchers
subPart: Committed to the [POSI](https://openscholarlyinfrastructure.org/posse/)
children:
- caption: Become a data provider
action: '/benefits'
Expand Down
9 changes: 9 additions & 0 deletions pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { useState } from 'react'
import { Carousel, Button, Card } from '@oacore/design/lib'
import { classNames } from '@oacore/design/lib/utils'

import posi from '../public/images/posi.svg'
import styles from './index.module.scss'
import Testimonial from '../components/testimonial'

Expand Down Expand Up @@ -135,6 +136,14 @@ const IndexPage = () => {
</Section>
<Section className={styles.sectionJoin} useFullPageWidth>
<h3 className={styles.title}>{page.join.title}</h3>
<div className={styles.posiTitleWrapper}>
<img src={posi} alt="posi" />
<div className={styles.subTitle}>
{page.join.subTitle}
<span className={styles.divider}>|</span>
<Markdown>{page.join.subPart}</Markdown>
</div>
</div>
<JoinList className={styles.sectionJoinList}>
{page.join.children.map(({ caption, url, picture }) => (
<JoinItem
Expand Down
27 changes: 26 additions & 1 deletion pages/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,31 @@
}
}

.posi-title-wrapper {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 36px;
.sub-title {
display: flex;
align-items: center;
justify-content: center;
color: #000;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 130%;
letter-spacing: 0.024px;
}
.divider {
margin: 0 10px;
font-weight: 800;
}
img {
margin-right: 10px;
}
}

.section {
&-oai {
background-color: var(--gray-200);
Expand Down Expand Up @@ -120,7 +145,7 @@
}

.title {
margin-bottom: 3rem;
margin-bottom: 20px;
}

.statistic-label {
Expand Down
18 changes: 18 additions & 0 deletions public/images/posi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0a0f7c7

Please sign in to comment.