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 {Card, CardDeck, CardGroup, CardImg} from "react-bootstrap";
export function Partners({data}) {
@ -8,21 +7,12 @@ export function Partners({data}) {
<div className="features">
{data.content.map(item =>{
return <section>
{/*<span className={`icon major ${iconClass}`} />*/}
<h3><a href={item.link}>{item.title}</a></h3>
<a href={item.link} target="_blank">
<img className="icon major" src={item.logo}/>
<h3>{item.title}</h3>
</a>
</section>
})}
</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>
}

View File

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