Cleanup
This commit is contained in:
parent
1e537b74ab
commit
6b0e3eeacf
@ -10,7 +10,7 @@ const MagProgLayout = ({children}) => {
|
||||
const intl = useIntl();
|
||||
const lang = intl.locale;
|
||||
return (
|
||||
<body>
|
||||
<>
|
||||
<SEO lang={lang} title={intl.formatMessage({id: "title"})}/>
|
||||
<Helmet>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
|
||||
@ -34,7 +34,7 @@ const MagProgLayout = ({children}) => {
|
||||
</div>
|
||||
</footer>*/}
|
||||
|
||||
</body>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -49,13 +49,14 @@ const NpmNavbar = () => {
|
||||
<Nav.Link as="span" eventKey="partners"><FormattedMessage
|
||||
id="header.partners"/></Nav.Link>
|
||||
</Link>
|
||||
{/*
|
||||
<Link to={`/${intl.locale}/magprog`} className="nav-item" activeClassName="active"
|
||||
partiallyActive={true}>
|
||||
{/* magprog */}
|
||||
<Nav.Link as="span" eventKey="magprog">
|
||||
<FormattedMessage id="header.magprog"/>
|
||||
</Nav.Link>
|
||||
</Link>
|
||||
*/}
|
||||
</Nav>
|
||||
<Nav.Link eventKey="language" className="nav-item language">
|
||||
<Language/>
|
||||
|
@ -17,7 +17,7 @@ export default function Projects({projects, project_type}) {
|
||||
const link = node.frontmatter.shortTitle;
|
||||
const id = node.frontmatter.id;
|
||||
return (
|
||||
<li><Link to={`/projects/${project_type}#${id}`}>{link}</Link></li>
|
||||
<li key={id}><Link to={`/projects/${project_type}#${id}`}>{link}</Link></li>
|
||||
)
|
||||
})}
|
||||
</ul>
|
||||
@ -26,7 +26,7 @@ export default function Projects({projects, project_type}) {
|
||||
const title = node.frontmatter.title;
|
||||
const id = node.frontmatter.id;
|
||||
return (
|
||||
<div className="row" id={id}>
|
||||
<div className="row" id={id} key={id}>
|
||||
<div className="col-lg-12">
|
||||
<hr/>
|
||||
<h2 id={id}>{title}</h2>
|
||||
|
@ -8,13 +8,5 @@ order: 2
|
||||
published: true
|
||||
language: ru
|
||||
---
|
||||
<table>
|
||||
<tbody><tr><td>
|
||||
<div className="col-lg-9">
|
||||
<img src="/images/projects/math/gears_animated.gif" alt="Under construction...">
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div className="col-lg-8" align="center"><h3>Этот раздел дорабатывается...</h3></div>
|
||||
</td>
|
||||
</tr></tbody></table>
|
||||
<img src="/images/projects/math/gears_animated.gif" alt="Under construction...">
|
||||
<h3>Этот раздел дорабатывается...</h3>
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
content_type: project
|
||||
project_type: software
|
||||
id: dataforge
|
||||
id: kmath
|
||||
shortTitle: Kmath
|
||||
title: "Экспериментальная математическая библиотека на kotlin"
|
||||
order: 2
|
||||
|
@ -38,7 +38,7 @@ const AboutPage = ({data}) => {
|
||||
const path = "../../images/members/"
|
||||
if (photo === null)
|
||||
return (
|
||||
<div>
|
||||
<div key={node.id}>
|
||||
<hr/>
|
||||
<div className="row">
|
||||
<div className="col-lg-2"/>
|
||||
@ -51,7 +51,7 @@ const AboutPage = ({data}) => {
|
||||
)
|
||||
else
|
||||
return (
|
||||
<div>
|
||||
<div key={node.id}>
|
||||
<hr/>
|
||||
<div className="row">
|
||||
<div className="col-lg-2">
|
||||
@ -77,6 +77,7 @@ export const query = graphql`
|
||||
sort: {fields: frontmatter___order, order: ASC}) {
|
||||
edges{
|
||||
node {
|
||||
id
|
||||
html
|
||||
frontmatter {
|
||||
title
|
||||
@ -91,6 +92,7 @@ export const query = graphql`
|
||||
sort: {fields: frontmatter___order, order: ASC}) {
|
||||
edges{
|
||||
node {
|
||||
id
|
||||
html
|
||||
frontmatter {
|
||||
title
|
||||
|
@ -68,7 +68,7 @@ const IndexPage = ({data}) => {
|
||||
const date = node.frontmatter.date;
|
||||
const html = node.html;
|
||||
return (
|
||||
<div className="card"
|
||||
<div className="card" key={node.id} id={node.id}
|
||||
style={{marginBottom: `15px`, borderRadius: `0px`, boxShadow: `0 2px 2px #A2A2A2`}}>
|
||||
<div className="card-body">
|
||||
<h2 className="title">
|
||||
@ -92,6 +92,7 @@ export const query = graphql`
|
||||
{
|
||||
edges{
|
||||
node{
|
||||
id
|
||||
html
|
||||
frontmatter {
|
||||
date(formatString: "DD.MM.YYYY")
|
||||
@ -107,6 +108,7 @@ export const query = graphql`
|
||||
{
|
||||
edges{
|
||||
node{
|
||||
id
|
||||
html
|
||||
frontmatter {
|
||||
date(formatString: "DD.MM.YYYY")
|
||||
|
@ -49,9 +49,7 @@ function team(edges) {
|
||||
<div className="content">
|
||||
<div className="inner">
|
||||
<h2>{name}</h2>
|
||||
<p>
|
||||
{Parser(edge.node.html)}
|
||||
</p>
|
||||
{Parser(edge.node.html)}
|
||||
{/*
|
||||
<ul className="actions">
|
||||
<li><a href="generic.html" className="button">Learn more</a></li>
|
||||
|
Loading…
Reference in New Issue
Block a user