|
|
|
@ -11,10 +11,26 @@ export default class Footer extends Component { |
|
|
|
|
return ( |
|
|
|
|
<> |
|
|
|
|
{window.innerWidth > 1000 ? ( |
|
|
|
|
<footer className="footer d-flex flex-column"> |
|
|
|
|
<div className="footer-container d-flex"> |
|
|
|
|
<div className="footer-container__content d-flex"> |
|
|
|
|
<div className="footer-container__content--box first d-flex flex-column"> |
|
|
|
|
<footer |
|
|
|
|
className={`footer d-flex flex-column ${ |
|
|
|
|
window.lang === "en" ? "align-items-end" : "" |
|
|
|
|
}`}
|
|
|
|
|
> |
|
|
|
|
<div |
|
|
|
|
className={`footer-container d-flex ${ |
|
|
|
|
window.lang === "en" ? "flex-row-reverse" : "" |
|
|
|
|
}`}
|
|
|
|
|
> |
|
|
|
|
<div |
|
|
|
|
className={`footer-container__content d-flex ${ |
|
|
|
|
window.lang === "en" ? "flex-row-reverse" : "" |
|
|
|
|
}`}
|
|
|
|
|
> |
|
|
|
|
<div |
|
|
|
|
className={`footer-container__content--box first d-flex flex-column ${ |
|
|
|
|
window.lang === "en" ? "align-items-start" : "" |
|
|
|
|
}`}
|
|
|
|
|
> |
|
|
|
|
<h1>{window.t("دانوین کجاست؟")}</h1> |
|
|
|
|
<p className="mt-2"> |
|
|
|
|
{window.t( |
|
|
|
@ -74,9 +90,19 @@ export default class Footer extends Component { |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div className="footer-container__content--box second d-flex flex-column"> |
|
|
|
|
<h1>{window.t("دسترسی سریع")}</h1> |
|
|
|
|
<ul> |
|
|
|
|
<div |
|
|
|
|
className={`footer-container__content--box second d-flex flex-column ${ |
|
|
|
|
window.lang === "en" ? "align-items-start" : "" |
|
|
|
|
}`}
|
|
|
|
|
> |
|
|
|
|
<h1 className={`${window.lang === "en" ? "text-start" : ""}`}> |
|
|
|
|
{window.t("دسترسی سریع")} |
|
|
|
|
</h1> |
|
|
|
|
<ul |
|
|
|
|
className={`d-flex flex-column ${ |
|
|
|
|
window.lang === "en" ? "align-items-start" : "" |
|
|
|
|
}`}
|
|
|
|
|
> |
|
|
|
|
{fastAccess.map((item, i) => ( |
|
|
|
|
<li key={i}> |
|
|
|
|
<Link to={item.link}>{item.name}</Link> |
|
|
|
@ -84,9 +110,17 @@ export default class Footer extends Component { |
|
|
|
|
))} |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
<div className="footer-container__content--box second d-flex flex-column"> |
|
|
|
|
<div |
|
|
|
|
className={`footer-container__content--box second d-flex flex-column ${ |
|
|
|
|
window.lang === "en" ? "align-items-start" : "" |
|
|
|
|
}`}
|
|
|
|
|
> |
|
|
|
|
<h1>{window.t("لینک های کاربردی")}</h1> |
|
|
|
|
<ul> |
|
|
|
|
<ul |
|
|
|
|
className={`d-flex flex-column ${ |
|
|
|
|
window.lang === "en" ? "align-items-start" : "" |
|
|
|
|
}`}
|
|
|
|
|
> |
|
|
|
|
{fastAccess.map((item, i) => ( |
|
|
|
|
<li key={i}> |
|
|
|
|
<Link to={item.link}>{item.name}</Link> |
|
|
|
|