Finished working in blog
This commit is contained in:
parent
a3570668f1
commit
b21e6b1818
@ -191,6 +191,6 @@
|
||||
@media (max-width: 1375px) {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 535px;
|
||||
height: 605px;
|
||||
}
|
||||
}
|
||||
|
@ -175,7 +175,6 @@
|
||||
.auth-body.active {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 535px;
|
||||
}
|
||||
|
||||
.auth-body {
|
||||
|
10
src/images/blogArrow.svg
Normal file
10
src/images/blogArrow.svg
Normal file
@ -0,0 +1,10 @@
|
||||
<svg width="27" height="27" viewBox="0 0 27 27" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<circle opacity="0.3" cx="13.5" cy="13.5" r="13.5" transform="matrix(-1 0 0 1 27 0)" fill="#807777"/>
|
||||
<rect x="18.5625" y="16.3125" width="10.0195" height="5.625" transform="rotate(180 18.5625 16.3125)" fill="url(#pattern0)"/>
|
||||
<defs>
|
||||
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
|
||||
<use xlink:href="#image0_1082_1300" transform="matrix(0.0244088 0 0 0.0434783 -0.000381388 0)"/>
|
||||
</pattern>
|
||||
<image id="image0_1082_1300" width="41" height="23" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAAXCAMAAAChzpYZAAAAAXNSR0IB2cksfwAAAEJQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjuH28gAAABZ0Uk5TAEK0Cvb/vgaIlxC7oNwcwg/J2f1bS4SvOREAAABWSURBVHicY2CAA0YmZgaiACMLKxs7kQpZOUYV4lPIyUUYgBUSBRiYiFTIysDMBiS5eQgDBrBSXj5ifESSUn6ilQoIDi2lQkTlDqBSYRGiFAKViuKVBgCepwfqGDtvmgAAAABJRU5ErkJggg=="/>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.0 KiB |
@ -3,15 +3,29 @@
|
||||
|
||||
&__breadCrumbs {
|
||||
margin-top: 30px;
|
||||
|
||||
@media (max-width: 1375px) {
|
||||
margin-top: 0;
|
||||
padding-top: 110px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__title {
|
||||
margin: 42px 0 44px 0;
|
||||
|
||||
h1 {
|
||||
font-weight: 500;
|
||||
font-size: 38px;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
padding-top: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
&__return {
|
||||
@ -106,6 +120,19 @@
|
||||
margin: 0 16px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
margin: 20px 0 20px 0;
|
||||
flex-direction: column;
|
||||
|
||||
.publication-date {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.yandex {
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.more-articles {
|
||||
|
@ -6,7 +6,9 @@ import { ProfileBreadcrumbs } from "../../components/ProfileBreadcrumbs/ProfileB
|
||||
import { Footer } from "../../components/Footer/Footer";
|
||||
import CardArticle from "../../components/UI/CardArticle/CardArticle";
|
||||
|
||||
import arrowRight from "../../images/arrowRight.png";
|
||||
// import arrowRight from "../../images/arrowRight.png";
|
||||
import blogArrow from "../../images/blogArrow.svg";
|
||||
|
||||
import cardImg1 from "../../images/cardArticleItem.png";
|
||||
import cardImg2 from "../../images/cardArticleItem2.png";
|
||||
import cardImg3 from "../../images/cardArticleItem3.png";
|
||||
@ -66,10 +68,11 @@ export const Blog = ({}) => {
|
||||
</div>
|
||||
|
||||
<div className="blog__title">
|
||||
<div>
|
||||
<h1>Блог</h1>
|
||||
<div className="blog__title-arrow">
|
||||
<img src={arrowRight} />
|
||||
<img src={blogArrow} className="blog__title-arrow" />
|
||||
</div>
|
||||
|
||||
<h3>
|
||||
Из первых уст рассказываем о себе пользователям, делимся полезными и
|
||||
важными материалами, стремимся получать обратную связь
|
||||
@ -89,6 +92,10 @@ export const Blog = ({}) => {
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
|
||||
<div className="blog__load-more">
|
||||
<button>Загрузить еще</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Footer />
|
||||
|
@ -3,6 +3,15 @@
|
||||
|
||||
&__breadCrumbs {
|
||||
margin-top: 30px;
|
||||
|
||||
@media (max-width: 1375px) {
|
||||
margin-top: 0;
|
||||
padding-top: 100px;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__title {
|
||||
@ -21,20 +30,23 @@
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 28px;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
div {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
&-arrow {
|
||||
margin: 0 27px 0 20px;
|
||||
background: #80777769;
|
||||
border-radius: 44px;
|
||||
width: 30px;
|
||||
height: 27px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 56%;
|
||||
@media (max-width: 600px) {
|
||||
padding-top: 110px;
|
||||
flex-direction: column;
|
||||
|
||||
div {
|
||||
margin: 0 0 15px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -44,4 +56,22 @@
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
&__load-more {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 35px;
|
||||
|
||||
button {
|
||||
background: #52b709;
|
||||
border-radius: 44px;
|
||||
width: 202px;
|
||||
height: 50px;
|
||||
color: white;
|
||||
font-size: 16px;
|
||||
line-height: 32px;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user