localization templates

This commit is contained in:
Elinorre 2020-02-18 23:31:21 +03:00
parent 6e1bb63e34
commit d9a9963988
4 changed files with 30 additions and 30 deletions

View File

@ -6,11 +6,11 @@ const PhysicsPage = (props) => {
const {data} = props;
return(
<Layout>
<ul class="nav nav-tabs">
<li class="nav-item"><Link id="project" class="nav-link " to="./projects/physics">Физика</Link></li>
<li class="nav-item"><Link id="project" class="nav-link active" to="./projects/education">Образование</Link></li>
<li class="nav-item"><Link id="project" class="nav-link " to="./projects/math">Математика</Link></li>
<li class="nav-item"><Link id="project" class="nav-link " to="./projects/software">Программное обеспечение</Link></li>
<ul className="nav nav-tabs">
<li className="nav-item"><Link id="project" className="nav-link " to="./projects/physics">Физика</Link></li>
<li className="nav-item"><Link id="project" className="nav-link active" to="./projects/education">Образование</Link></li>
<li className="nav-item"><Link id="project" className="nav-link " to="./projects/math">Математика</Link></li>
<li className="nav-item"><Link id="project" className="nav-link " to="./projects/software">Программное обеспечение</Link></li>
</ul>
<h1 style = {{marginTop: `20px`}}> Образовательные проекты </h1>
@ -33,8 +33,8 @@ const PhysicsPage = (props) => {
const id = project.frontmatter.id;
const courseName = project.frontmatter.courseName;
return(
<div class="row" id={id}>
<div class="col-lg-12">
<div className="row" id={id}>
<div className="col-lg-12">
<hr/>
<h2 name={id}>{title}</h2>
<p
@ -42,8 +42,8 @@ const PhysicsPage = (props) => {
__html: project.html,
}}
/>
<div class="card" style={{backgroundColor: `#F5F5F5`}}>
<div class="card-body" style={{padding: `10px`}}>
<div className="card" style={{backgroundColor: `#F5F5F5`}}>
<div className="card-body" style={{padding: `10px`}}>
<p style={{textAlign: `center`, margin: `5px`}}>
Подробная информация доступна на <Link to={`./pages/${courseName}`}>странице курса</Link>
</p>

View File

@ -6,11 +6,11 @@ const PhysicsPage = (props) => {
const {data} = props;
return(
<Layout>
<ul class="nav nav-tabs">
<li class="nav-item"><Link id="project" class="nav-link " to="./projects/physics">Физика</Link></li>
<li class="nav-item"><Link id="project" class="nav-link " to="./projects/education">Образование</Link></li>
<li class="nav-item"><Link id="project" class="nav-link active" to="./projects/math">Математика</Link></li>
<li class="nav-item"><Link id="project" class="nav-link " to="./projects/software">Программное обеспечение</Link></li>
<ul className="nav nav-tabs">
<li className="nav-item"><Link id="project" className="nav-link " to="./projects/physics">Физика</Link></li>
<li className="nav-item"><Link id="project" className="nav-link " to="./projects/education">Образование</Link></li>
<li className="nav-item"><Link id="project" className="nav-link active" to="./projects/math">Математика</Link></li>
<li className="nav-item"><Link id="project" className="nav-link " to="./projects/software">Программное обеспечение</Link></li>
</ul>
<h1 style = {{marginTop: `20px`}}> Математические методы </h1>
@ -34,8 +34,8 @@ const PhysicsPage = (props) => {
const title = project.frontmatter.title;
const id = project.frontmatter.id;
return(
<div class="row" id={id}>
<div class="col-lg-12">
<div className="row" id={id}>
<div className="col-lg-12">
<hr/>
<h2 name={id}>{title}</h2>
<p

View File

@ -6,11 +6,11 @@ const PhysicsPage = (props) => {
const {data} = props;
return(
<Layout>
<ul class="nav nav-tabs">
<li class="nav-item"><Link id="project" class="nav-link active" to="./projects/physics">Физика</Link></li>
<li class="nav-item"><Link id="project" class="nav-link " to="./projects/education">Образование</Link></li>
<li class="nav-item"><Link id="project" class="nav-link " to="./projects/math">Математика</Link></li>
<li class="nav-item"><Link id="project" class="nav-link " to="./projects/software">Программное обеспечение</Link></li>
<ul className="nav nav-tabs">
<li className="nav-item"><Link id="project" className="nav-link active" to="./projects/physics">Физика</Link></li>
<li className="nav-item"><Link id="project" className="nav-link " to="./projects/education">Образование</Link></li>
<li className="nav-item"><Link id="project" className="nav-link " to="./projects/math">Математика</Link></li>
<li className="nav-item"><Link id="project" className="nav-link " to="./projects/software">Программное обеспечение</Link></li>
</ul>
<h1 style = {{marginTop: `20px`}}> Ядерная физика </h1>
@ -34,8 +34,8 @@ const PhysicsPage = (props) => {
const title = project.frontmatter.title;
const id = project.frontmatter.id;
return(
<div class="row" id={id}>
<div class="col-lg-12">
<div className="row" id={id}>
<div className="col-lg-12">
<hr/>
<h2 name={id}>{title}</h2>
<p

View File

@ -6,11 +6,11 @@ const PhysicsPage = (props) => {
const {data} = props;
return(
<Layout>
<ul class="nav nav-tabs">
<li class="nav-item"><Link id="project" class="nav-link " to="./projects/physics">Физика</Link></li>
<li class="nav-item"><Link id="project" class="nav-link " to="./projects/education">Образование</Link></li>
<li class="nav-item"><Link id="project" class="nav-link " to="./projects/math">Математика</Link></li>
<li class="nav-item"><Link id="project" class="nav-link active" to="./projects/software">Программное обеспечение</Link></li>
<ul className="nav nav-tabs">
<li className="nav-item"><Link id="project" className="nav-link " to="./projects/physics">Физика</Link></li>
<li className="nav-item"><Link id="project" className="nav-link " to="./projects/education">Образование</Link></li>
<li className="nav-item"><Link id="project" className="nav-link " to="./projects/math">Математика</Link></li>
<li className="nav-item"><Link id="project" className="nav-link active" to="./projects/software">Программное обеспечение</Link></li>
</ul>
<h1 style = {{marginTop: `20px`}}> Научное программное обеспечение </h1>
@ -34,8 +34,8 @@ const PhysicsPage = (props) => {
const title = project.frontmatter.title;
const id = project.frontmatter.id;
return(
<div class="row" id={id}>
<div class="col-lg-12">
<div className="row" id={id}>
<div className="col-lg-12">
<hr/>
<h2 name={id}>{title}</h2>
<p