reza added something

master
RezaAshrafi77 3 years ago
parent 4c15bb68e8
commit 4be4ab6cdb
  1. 2
      src/views/Blog/index.scss
  2. 1
      src/views/Blogs/index.scss
  3. 2
      src/views/Home/HomeSlider/Blog/index.js
  4. 1
      src/views/Home/index.scss
  5. 4
      src/views/QR/PDF/index.js

@ -71,6 +71,8 @@
text-align: right; text-align: right;
max-width: 1250px; max-width: 1250px;
margin: 0px auto; margin: 0px auto;
min-height: calc(100vh - 315px);
&__header { &__header {
direction: rtl; direction: rtl;
width: 100%; width: 100%;

@ -4,6 +4,7 @@
max-width: 1250px; max-width: 1250px;
margin: 0px auto; margin: 0px auto;
direction: rtl; direction: rtl;
min-height: calc(100vh - 288px);
&__header { &__header {
width: 100%; width: 100%;
height: 40px; height: 40px;

@ -25,7 +25,7 @@ export default class Simple extends Component {
height: height, height: height,
}} }}
> >
<Link to={data.link}> <Link to={`/blogs/${data.id}`}>
<img <img
src={`https://dnvn.ir/api/v1/file/${data.fileId}`} src={`https://dnvn.ir/api/v1/file/${data.fileId}`}
alt={data.title} alt={data.title}

@ -5,6 +5,7 @@
padding: 0px 10px; padding: 0px 10px;
direction: rtl; direction: rtl;
padding-top: 60px; padding-top: 60px;
min-height: calc(100vh - 288px);
} }
.mobile-home { .mobile-home {

@ -27,7 +27,7 @@ export default function PDF(props) {
<PictureAsPdfRoundedIcon style={{ fontSize: 30 }} /> فایل PDF <PictureAsPdfRoundedIcon style={{ fontSize: 30 }} /> فایل PDF
</h3> </h3>
<a <a
href={"https://dnvn.ir/api/v1/file/${props.data.fileIds}"} href={`https://dnvn.ir/api/v1/file/${props.data.fileIds}`}
download download
className="pdf-box d-flex flex-column" className="pdf-box d-flex flex-column"
id="pdf" id="pdf"
@ -51,7 +51,7 @@ export default function PDF(props) {
<PictureAsPdfRoundedIcon style={{ fontSize: 30 }} /> فایل PDF <PictureAsPdfRoundedIcon style={{ fontSize: 30 }} /> فایل PDF
</h3> </h3>
<a <a
href={"https://dnvn.ir/api/v1/file/${props.data.fileIds}"} href={`https://dnvn.ir/api/v1/file/${props.data.fileIds}`}
id="pdf" id="pdf"
download download
className="mobile-pdf-box d-flex flex-column" className="mobile-pdf-box d-flex flex-column"

Loading…
Cancel
Save