Fixing things

This commit is contained in:
Vladislav Khorev 2024-02-24 12:07:50 +00:00
parent e3a5ed72e0
commit 67b935b47f
9 changed files with 32 additions and 44 deletions

View File

@ -30,6 +30,7 @@ const AboutUs = () => {
</ul>
</p>
</div>
<p>Photo By Mzximvs VdB from Brussels, belgium - Road to Issyk-Kul (south shore), CC BY-SA 2.0</p>;
</div>
);
};

View File

@ -8,22 +8,8 @@ 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="/">
@ -55,7 +41,7 @@ const Footer = () => {
))}
</li>
</ul>
{creditsInFooter}
<p className="text-white">Photo By ThomasG, CC BY-SA 3.0</p>
</div>
{/*
<div className="footer__apps">

View File

@ -57,7 +57,8 @@ const HomeMap: React.FC<IHomeMapProps> = ({
const createCustomIcon = (icon: StaticImageData) => {
const customIcon = new Icon({
iconUrl: icon.src,
iconSize: [64, 64],
iconSize: [32, 32],
iconAnchor: [16, 32]
});
return customIcon;

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="38"
height="100"
viewBox="0 0 38 100"
height="50"
viewBox="0 0 38 50"
fill="none"
version="1.1"
id="svg1"
@ -45,8 +45,8 @@
fill="#ffffff"
id="ellipse1" />
<circle
cx="18.821751"
cy="18.950451"
cx="19"
cy="19"
r="7.5"
fill="#8fde6a"
id="circle1" />

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="38"
height="100"
viewBox="0 0 38 100"
height="50"
viewBox="0 0 38 50"
fill="none"
version="1.1"
id="svg1"
@ -25,7 +25,7 @@
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="7.77"
inkscape:cx="17.631918"
inkscape:cy="29.66538"
inkscape:cy="29.79408"
inkscape:window-width="1920"
inkscape:window-height="991"
inkscape:window-x="-9"
@ -45,8 +45,8 @@
fill="#ffffff"
id="ellipse1" />
<circle
cx="18.727512"
cy="18.773014"
cx="19"
cy="19"
r="7.5"
fill="#ffac33"
id="circle1" />

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="38"
height="100"
viewBox="0 0 38 100"
height="50"
viewBox="0 0 38 50"
fill="none"
version="1.1"
id="svg1"
@ -25,7 +25,7 @@
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="15.54"
inkscape:cx="18.661519"
inkscape:cy="53.185328"
inkscape:cy="22.297297"
inkscape:window-width="1920"
inkscape:window-height="991"
inkscape:window-x="-9"
@ -45,8 +45,8 @@
fill="#ffffff"
id="ellipse1" />
<circle
cx="18.773014"
cy="18.99272"
cx="19"
cy="19"
r="7.5"
fill="#c288e2"
id="circle1" />

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="38"
height="100"
viewBox="0 0 38 100"
height="50"
viewBox="0 0 38 50"
fill="none"
version="1.1"
id="svg1"
@ -45,8 +45,8 @@
fill="#ffffff"
id="ellipse1" />
<circle
cx="18.821751"
cy="18.950451"
cx="19"
cy="19"
r="7.5"
fill="#87289d"
id="circle1" />

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="38"
height="100"
viewBox="0 0 38 100"
height="50"
viewBox="0 0 38 50"
fill="none"
version="1.1"
id="svg1"
@ -24,8 +24,8 @@
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="10.988439"
inkscape:cx="27.30142"
inkscape:cy="35.264334"
inkscape:cx="27.301421"
inkscape:cy="35.264336"
inkscape:window-width="1920"
inkscape:window-height="991"
inkscape:window-x="-9"
@ -45,8 +45,8 @@
fill="#ffffff"
id="ellipse1" />
<circle
cx="18.762922"
cy="18.933889"
cx="19"
cy="19"
r="7.5"
fill="#e64452"
id="circle1" />

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="38"
height="100"
viewBox="0 0 38 100"
height="50"
viewBox="0 0 38 50"
fill="none"
version="1.1"
id="svg1"
@ -45,8 +45,8 @@
fill="#ffffff"
id="ellipse1" />
<circle
cx="18.757401"
cy="18.886101"
cx="19"
cy="19"
r="7.5"
fill="#fed363"
id="circle1" />

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB