Render partners

This commit is contained in:
Alexander Nozik 2021-04-03 22:30:49 +03:00
parent 80fffa8515
commit 6f7c067e26
6 changed files with 8 additions and 18 deletions

View File

@ -1,5 +1,4 @@
import React from 'react'; import React from 'react';
import {Card, CardDeck, CardGroup, CardImg} from "react-bootstrap";
export function Partners({data}) { export function Partners({data}) {
@ -8,21 +7,12 @@ export function Partners({data}) {
<div className="features"> <div className="features">
{data.content.map(item =>{ {data.content.map(item =>{
return <section> return <section>
{/*<span className={`icon major ${iconClass}`} />*/} <a href={item.link} target="_blank">
<h3><a href={item.link}>{item.title}</a></h3> <img className="icon major" src={item.logo}/>
<h3>{item.title}</h3>
</a>
</section> </section>
})} })}
</div> </div>
{/* <CardDeck>
{data.content.map(item => {
return <Card>
<Card.Img variant="top"/>
<Card.Body>
<Card.Title><a href={item.link}>{item.title}</a></Card.Title>
</Card.Body>
</Card>
})}
</CardDeck>*/}
</div> </div>
} }

View File

@ -2,19 +2,19 @@ title: Партнеры
content: content:
- title: ЛФИ - title: ЛФИ
link: https://mipt.ru/education/departments/lpr/ link: https://mipt.ru/education/departments/lpr/
logo: logo: /images/magprog/partners/LPI.jpg
- title: ФПМИ - title: ФПМИ
link: https://mipt.ru/education/departments/fpmi/ link: https://mipt.ru/education/departments/fpmi/
logo: logo:
- title: JetBrains Research - title: JetBrains Research
link: https://research.jetbrains.org/groups/npm/ link: https://research.jetbrains.org/groups/npm/
logo: logo: /images/magprog/partners/JBR.png
- title: JetBrains - title: JetBrains
link: https://www.jetbrains.com/ link: https://www.jetbrains.com/
logo: logo: /images/magprog/partners/jetbrains.png
- title: Таврида Электрик - title: Таврида Электрик
link: https://www.tavrida.com/ter/ link: https://www.tavrida.com/ter/
logo: logo: /images/magprog/partners/Tavrida.png
- title: ИЯИ РАН - title: ИЯИ РАН
link: https://www.inr.ru/ link: https://www.inr.ru/
logo: logo:

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB