Make release version prep

This commit is contained in:
Vladislav Khorev committed 2024-02-24 11:38:42 +00:00
1 parent 3b365d7742
commit e3a5ed72e0
21 files changed
+360 -83

No files matched your search

+19 -3
View File
@@ -8,8 +8,22 @@ import facebook from "./icons/facebook.svg";
import instagram from "./icons/instagram.svg";
import app_store_btn from "./icons/app-store-btn.svg";
import play_market_btn from "./icons/play-market-btn.svg";
import { usePathname } from 'next/navigation';
const Footer = () => {
const pathname = usePathname();
const isHomePage = pathname === '/';
const isAboutPage = pathname === '/about';
let creditsInFooter;
if (isHomePage) {
creditsInFooter = <p className="text-white">Photo By ThomasG, CC BY-SA 3.0</p>;
} else if (isAboutPage) {
creditsInFooter = <p className="text-white">Photo By Mzximvs VdB from Brussels, belgium - Road to Issyk-Kul (south shore), CC BY-SA 2.0</p>;
} else {
creditsInFooter = <p></p>;
}
return (
<footer className="footer">
<Link href="/">
@@ -31,8 +45,8 @@ const Footer = () => {
<div className="footer__contacts">
<h4>Контакты</h4>
<ul>
<li>namename@gmail.com</li>
<li>+09646895467</li>
<li>admin@kgroad.org</li>
<li>+9960312394038</li>
<li>
{[youtube, facebook, instagram].map((net, i) => (
<Link key={i} href="#">
@@ -41,8 +55,9 @@ const Footer = () => {
))}
</li>
</ul>
{creditsInFooter}
</div>
{/*
<div className="footer__apps">
<h4>Скачивай наше приложение</h4>
<div className="footer__apps-btns">
@@ -53,6 +68,7 @@ const Footer = () => {
))}
</div>
</div>
*/}
</footer>
);
};
+2 -2
View File
@@ -13,10 +13,10 @@ const Header = () => {
/>
<div className="header__text">
<h1>
Borem ipsum dolor sit amet, consectetur adipiscing elit.
Дороги Кыргызстана
</h1>
<p>
Borem ipsum dolor sit amet, consectetur adipiscing elit.
Сделаем дороги безопасными! Актуальная информация о состоянии дорог.
</p>
</div>
+1 -1
View File
@@ -57,7 +57,7 @@ const HomeMap: React.FC<IHomeMapProps> = ({
const createCustomIcon = (icon: StaticImageData) => {
const customIcon = new Icon({
iconUrl: icon.src,
iconSize: [32, 32],
iconSize: [64, 64],
});
return customIcon;
@@ -1,5 +1,53 @@
<svg width="38" height="50" viewBox="0 0 38 50" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 0C8.52334 0 0 8.74812 0 19.501C0 32.8456 17.0031 48.5901 17.7271 49.4175C18.407 50.1948 19.5942 50.1935 20.2729 49.4175C20.9969 48.5901 38 32.8456 38 19.501C37.9998 8.74812 29.4766 0 19 0Z" fill="#3998E8" fill-opacity="0.7"/>
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/>
<circle cx="18.5" cy="18.5" r="7.5" fill="#8FDE6A"/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="38"
height="100"
viewBox="0 0 38 100"
fill="none"
version="1.1"
id="svg1"
sodipodi:docname="geo-green.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="5.4942197"
inkscape:cx="33.671751"
inkscape:cy="42.317201"
inkscape:window-width="1920"
inkscape:window-height="991"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<path
d="M 19,0 C 8.52334,0 0,8.74812 0,19.501 c 0,13.3446 17.0031,29.0891 17.7271,29.9165 0.6799,0.7773 1.8671,0.776 2.5458,0 C 20.9969,48.5901 38,32.8456 38,19.501 37.9998,8.74812 29.4766,0 19,0 Z"
fill="#3998e8"
fill-opacity="0.7"
id="path1" />
<ellipse
cx="18.786699"
cy="19"
rx="9.8877497"
ry="10"
fill="#ffffff"
id="ellipse1" />
<circle
cx="18.821751"
cy="18.950451"
r="7.5"
fill="#8fde6a"
id="circle1" />
</svg>

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 1.5 KiB

@@ -1,5 +1,53 @@
<svg width="38" height="50" viewBox="0 0 38 50" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 0C8.52334 0 0 8.74812 0 19.501C0 32.8456 17.0031 48.5901 17.7271 49.4175C18.407 50.1948 19.5942 50.1935 20.2729 49.4175C20.9969 48.5901 38 32.8456 38 19.501C37.9998 8.74812 29.4766 0 19 0Z" fill="#3998E8" fill-opacity="0.7"/>
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/>
<circle cx="18.5" cy="18.5" r="7.5" fill="#FFAC33"/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="38"
height="100"
viewBox="0 0 38 100"
fill="none"
version="1.1"
id="svg1"
sodipodi:docname="geo-orange.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="7.77"
inkscape:cx="17.631918"
inkscape:cy="29.66538"
inkscape:window-width="1920"
inkscape:window-height="991"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<path
d="M 19,0 C 8.52334,0 0,8.74812 0,19.501 c 0,13.3446 17.0031,29.0891 17.7271,29.9165 0.6799,0.7773 1.8671,0.776 2.5458,0 C 20.9969,48.5901 38,32.8456 38,19.501 37.9998,8.74812 29.4766,0 19,0 Z"
fill="#3998e8"
fill-opacity="0.7"
id="path1" />
<ellipse
cx="18.786699"
cy="19"
rx="9.8877497"
ry="10"
fill="#ffffff"
id="ellipse1" />
<circle
cx="18.727512"
cy="18.773014"
r="7.5"
fill="#ffac33"
id="circle1" />
</svg>

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 1.5 KiB

@@ -1,5 +1,53 @@
<svg width="38" height="50" viewBox="0 0 38 50" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 0C8.52334 0 0 8.74812 0 19.501C0 32.8456 17.0031 48.5901 17.7271 49.4175C18.407 50.1948 19.5942 50.1935 20.2729 49.4175C20.9969 48.5901 38 32.8456 38 19.501C37.9998 8.74812 29.4766 0 19 0Z" fill="#3998E8" fill-opacity="0.7"/>
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/>
<circle cx="18.5" cy="18.5" r="7.5" fill="#C288E2"/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="38"
height="100"
viewBox="0 0 38 100"
fill="none"
version="1.1"
id="svg1"
sodipodi:docname="geo-pink.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="15.54"
inkscape:cx="18.661519"
inkscape:cy="53.185328"
inkscape:window-width="1920"
inkscape:window-height="991"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<path
d="M 19,0 C 8.52334,0 0,8.74812 0,19.501 c 0,13.3446 17.0031,29.0891 17.7271,29.9165 0.6799,0.7773 1.8671,0.776 2.5458,0 C 20.9969,48.5901 38,32.8456 38,19.501 37.9998,8.74812 29.4766,0 19,0 Z"
fill="#3998e8"
fill-opacity="0.7"
id="path1" />
<ellipse
cx="18.786699"
cy="19"
rx="9.8877497"
ry="10"
fill="#ffffff"
id="ellipse1" />
<circle
cx="18.773014"
cy="18.99272"
r="7.5"
fill="#c288e2"
id="circle1" />
</svg>

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 1.5 KiB

@@ -1,5 +1,53 @@
<svg width="38" height="50" viewBox="0 0 38 50" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 0C8.52334 0 0 8.74812 0 19.501C0 32.8456 17.0031 48.5901 17.7271 49.4175C18.407 50.1948 19.5942 50.1935 20.2729 49.4175C20.9969 48.5901 38 32.8456 38 19.501C37.9998 8.74812 29.4766 0 19 0Z" fill="#3998E8" fill-opacity="0.7"/>
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/>
<circle cx="18.5" cy="18.5" r="7.5" fill="#87289D"/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="38"
height="100"
viewBox="0 0 38 100"
fill="none"
version="1.1"
id="svg1"
sodipodi:docname="geo-purple.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="15.54"
inkscape:cx="18.983269"
inkscape:cy="25"
inkscape:window-width="1920"
inkscape:window-height="991"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<path
d="M 19,0 C 8.52334,0 0,8.74812 0,19.501 c 0,13.3446 17.0031,29.0891 17.7271,29.9165 0.6799,0.7773 1.8671,0.776 2.5458,0 C 20.9969,48.5901 38,32.8456 38,19.501 37.9998,8.74812 29.4766,0 19,0 Z"
fill="#3998e8"
fill-opacity="0.7"
id="path1" />
<ellipse
cx="18.786699"
cy="19"
rx="9.8877497"
ry="10"
fill="#ffffff"
id="ellipse1" />
<circle
cx="18.821751"
cy="18.950451"
r="7.5"
fill="#87289d"
id="circle1" />
</svg>

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 1.5 KiB

@@ -1,5 +1,53 @@
<svg width="38" height="50" viewBox="0 0 38 50" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 0C8.52334 0 0 8.74812 0 19.501C0 32.8456 17.0031 48.5901 17.7271 49.4175C18.407 50.1948 19.5942 50.1935 20.2729 49.4175C20.9969 48.5901 38 32.8456 38 19.501C37.9998 8.74812 29.4766 0 19 0Z" fill="#3998E8" fill-opacity="0.7"/>
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/>
<circle cx="18.5" cy="18.5" r="7.5" fill="#E64452"/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="38"
height="100"
viewBox="0 0 38 100"
fill="none"
version="1.1"
id="svg1"
sodipodi:docname="geo-red.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="10.988439"
inkscape:cx="27.30142"
inkscape:cy="35.264334"
inkscape:window-width="1920"
inkscape:window-height="991"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<path
d="M 19,0 C 8.52334,0 0,8.74812 0,19.501 c 0,13.3446 17.0031,29.0891 17.7271,29.9165 0.6799,0.7773 1.8671,0.776 2.5458,0 C 20.9969,48.5901 38,32.8456 38,19.501 37.9998,8.74812 29.4766,0 19,0 Z"
fill="#3998e8"
fill-opacity="0.7"
id="path1" />
<ellipse
cx="18.786699"
cy="19"
rx="9.8877497"
ry="10"
fill="#ffffff"
id="ellipse1" />
<circle
cx="18.762922"
cy="18.933889"
r="7.5"
fill="#e64452"
id="circle1" />
</svg>

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 1.5 KiB

@@ -1,5 +1,53 @@
<svg width="38" height="50" viewBox="0 0 38 50" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19 0C8.52334 0 0 8.74812 0 19.501C0 32.8456 17.0031 48.5901 17.7271 49.4175C18.407 50.1948 19.5942 50.1935 20.2729 49.4175C20.9969 48.5901 38 32.8456 38 19.501C37.9998 8.74812 29.4766 0 19 0Z" fill="#3998E8" fill-opacity="0.7"/>
<ellipse cx="18.7867" cy="19" rx="9.88775" ry="10" fill="white"/>
<circle cx="18.5" cy="18.5" r="7.5" fill="#FED363"/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="38"
height="100"
viewBox="0 0 38 100"
fill="none"
version="1.1"
id="svg1"
sodipodi:docname="geo-yellow.svg"
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="15.54"
inkscape:cx="18.983269"
inkscape:cy="25"
inkscape:window-width="1920"
inkscape:window-height="991"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<path
d="M 19,0 C 8.52334,0 0,8.74812 0,19.501 c 0,13.3446 17.0031,29.0891 17.7271,29.9165 0.6799,0.7773 1.8671,0.776 2.5458,0 C 20.9969,48.5901 38,32.8456 38,19.501 37.9998,8.74812 29.4766,0 19,0 Z"
fill="#3998e8"
fill-opacity="0.7"
id="path1" />
<ellipse
cx="18.786699"
cy="19"
rx="9.8877497"
ry="10"
fill="#ffffff"
id="ellipse1" />
<circle
cx="18.757401"
cy="18.886101"
r="7.5"
fill="#fed363"
id="circle1" />
</svg>

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 1.5 KiB

+3
View File
@@ -88,7 +88,10 @@ const SignInForm = () => {
<button className="sign-in-form__btns_first" type="submit">
{loader ? <Loader /> : "Войти"}
</button>
{/*
<GoogleButton />
*/}
</div>
</form>
);
+3
View File
@@ -119,7 +119,10 @@ const SignUpForm = () => {
<button className="sign-up-form__btns_first" type="submit">
{loader ? <Loader /> : "Войти"}
</button>
{/*
<GoogleButton />
*/}
</div>
</form>
);