Skip to content

Commit

Permalink
hopefully last commit now:)
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaBonde committed Aug 23, 2024
1 parent eb5096e commit 2eb1713
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 57 deletions.
43 changes: 0 additions & 43 deletions src/hemsedal24/activities.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,10 @@
z-index: 1;
}

.pcarrow {
position: relative;
}
.pcarrow img {
position: absolute;
left: -9rem;
top: -40.5rem;
}

@-moz-document url-prefix() {
p {
font-size: 1.25rem;
}
.pcarrow img {
top: -38rem;
}
@media (max-width: 400px) {
.mobilearrow img {
position: absolute;
right: -12.6%;
top: -99.5rem;
}
}
@media (max-width: 400px) {
.mobilearrow img {
position: absolute;
right: -12.6%;
top: -102.5rem;
}
}
}
.bold {
font-weight: 500;
Expand Down Expand Up @@ -138,14 +112,6 @@ html {
}

@media (max-width: 500px) {
.mobilearrow {
position: relative;
}
.mobilearrow img {
position: absolute;
right: -12.6%;
top: -102.5rem;
}
.blob {
min-width: 40%;
top: 0;
Expand Down Expand Up @@ -204,12 +170,3 @@ html {
font-size: 1.2rem;
}
}

@media (max-width: 400px) and (max-height: 812px) {
.mobilearrow img {
height: 130vh;
position: absolute;
right: -15.6%;
top: -99.5rem;
}
}
14 changes: 0 additions & 14 deletions src/hemsedal24/activities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,8 @@ import ActivityBlock from './components/ActivityBlock';
import hund from './images/hund.svg';
import sykling from './images/sykling.svg';
import via from './images/viaferrata.svg';
import mobilearrow from './images/mobileactivityarrow.svg';
import pcarrow from './images/activityarrow.svg';
import { useState, useEffect } from 'react';
const Activities: NextPage = () => {
const [mobile, setMobile] = useState(false);

useEffect(() => {
const handleWindowSizeChange = () => {
setMobile(window.innerWidth <= 500);
};

handleWindowSizeChange(); // Set initial value after component mounts
window.addEventListener('resize', handleWindowSizeChange);

return () => window.removeEventListener('resize', handleWindowSizeChange);
}, []);
return (
<div id="top" className={styles.tur}>
<meta name="theme-color" content="#EDE8D7" />
Expand Down

0 comments on commit 2eb1713

Please sign in to comment.