diff --git a/src/components/About.tsx b/src/components/About.tsx
index 3dc2857..5f67f8d 100644
--- a/src/components/About.tsx
+++ b/src/components/About.tsx
@@ -90,9 +90,7 @@ const About: Component = () => {
Moving Brands
-
- ©2024 All Rights Reserved
-
+ ©2024 All Rights Reserved
);
};
diff --git a/src/components/Carousel.tsx b/src/components/Carousel.tsx
index add8717..f7ca4f7 100644
--- a/src/components/Carousel.tsx
+++ b/src/components/Carousel.tsx
@@ -166,7 +166,7 @@ const Carousel: Component = (props) => {
1}>
-
+
{(url, index) => (
{
});
createEffect(() => {
- const mediaQuery = window.matchMedia("(max-height: 480px)");
+ const mediaQuery = window.matchMedia("(max-height: 700px)");
const updateScreenSize = () => setIsShortScreen(mediaQuery.matches);
updateScreenSize();
@@ -38,6 +38,14 @@ const Nav: Component = () => {
onCleanup(() => mediaQuery.removeEventListener("change", updateScreenSize));
});
+ const isSafari = () => {
+ const userAgent = window.navigator.userAgent;
+ const safari = userAgent.indexOf("Safari") !== -1;
+ const chrome = userAgent.indexOf("Chrome") !== -1;
+ console.log("safari", safari && !chrome);
+ return safari && !chrome;
+ };
+
return (
<>
@@ -48,7 +56,11 @@ const Nav: Component = () => {
: "Brian You, Art Direction and Design, NY")}