Tour stuff
This commit is contained in:
1 parent
abf1c2990c
commit
a213bb33fb
3 files changed
+86
-14
No files matched your search
@@ -1 +1,4 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 282 210" width="282" height="210"><path d="M 51.365,195.097 L 48.979,194.944 L 49.115,185.097 L 49.250,175.250 L 141.635,175.124 L 234.021,174.997 L 233.885,185.071 L 233.750,195.144 L 143.750,195.197 C 94.250,195.226 52.677,195.181 51.365,195.097 Z M 48.214,165.350 C 47.822,165.130 47.500,164.550 47.500,164.062 C 47.500,162.915 42.931,144.945 38.839,130.000 C 37.898,126.562 36.852,122.513 36.516,121.000 C 36.179,119.487 35.458,116.706 34.914,114.819 C 34.370,112.932 33.626,110.007 33.262,108.319 C 32.897,106.631 31.884,102.550 31.009,99.250 C 30.134,95.950 29.136,91.948 28.790,90.356 C 28.038,86.894 27.682,86.479 25.177,86.154 C 22.563,85.816 18.493,83.403 17.144,81.393 C 14.679,77.718 14.453,71.702 16.656,68.433 C 18.189,66.157 21.639,63.636 24.141,62.962 C 29.917,61.407 36.106,64.923 38.240,70.972 C 39.343,74.098 39.180,76.381 37.634,79.436 L 36.268,82.136 L 39.491,84.943 C 41.263,86.487 46.112,90.900 50.265,94.750 C 63.913,107.401 67.741,110.902 69.042,111.926 C 71.811,114.104 77.418,117.684 80.750,119.401 C 84.069,121.112 84.508,121.207 89.250,121.228 C 93.444,121.246 94.693,121.058 97.000,120.060 C 104.292,116.905 108.730,109.979 115.987,90.429 C 116.767,88.328 117.895,85.515 118.494,84.179 C 119.093,82.843 120.587,79.050 121.813,75.750 C 123.039,72.450 124.453,68.850 124.954,67.750 C 125.456,66.650 126.342,64.396 126.925,62.740 C 127.507,61.085 129.472,56.135 131.292,51.740 C 133.112,47.346 134.710,43.175 134.843,42.472 C 135.044,41.412 134.630,40.806 132.413,38.912 C 128.749,35.781 127.302,32.769 127.416,28.512 C 127.534,24.120 128.114,22.324 130.260,19.705 C 133.689,15.521 138.191,13.738 143.159,14.596 C 146.772,15.220 148.317,15.931 150.803,18.113 C 155.862,22.555 157.142,28.713 154.218,34.541 C 153.092,36.785 150.509,39.703 148.674,40.805 C 147.672,41.407 147.859,42.315 150.004,47.250 C 152.459,52.899 156.900,64.079 161.227,75.500 C 162.946,80.037 164.815,84.763 165.380,86.000 C 165.944,87.237 167.483,90.950 168.799,94.250 C 175.276,110.492 180.551,117.561 188.404,120.523 C 192.726,122.154 198.023,121.749 203.000,119.407 C 208.192,116.965 214.342,112.415 220.259,106.640 C 225.274,101.744 232.059,95.522 236.750,91.518 C 240.671,88.172 246.500,82.432 246.500,81.917 C 246.500,81.660 246.121,80.730 245.657,79.850 C 243.051,74.905 244.645,67.768 249.033,64.727 C 255.886,59.978 264.928,63.188 267.256,71.196 C 268.213,74.489 268.059,76.328 266.548,79.644 C 265.252,82.489 262.587,84.723 259.572,85.492 C 255.246,86.594 255.131,86.694 254.525,89.845 C 253.855,93.335 253.201,96.081 251.932,100.750 C 250.318,106.683 250.066,107.645 249.248,111.000 C 248.244,115.113 241.633,141.077 239.317,150.000 C 237.107,158.515 235.232,164.935 234.842,165.325 C 234.383,165.784 49.034,165.809 48.214,165.350 Z M 85.500,115.727 C 82.041,114.530 79.176,112.996 77.120,111.240 C 76.092,110.362 74.744,109.483 74.125,109.288 C 72.520,108.781 72.491,109.055 75.510,96.250 C 75.770,95.150 76.306,92.675 76.702,90.750 C 77.098,88.825 77.777,85.945 78.211,84.351 C 79.383,80.043 79.272,79.315 77.300,78.374 C 70.723,75.238 70.769,63.926 77.369,61.168 C 79.645,60.217 83.497,60.212 85.308,61.158 C 88.491,62.820 91.000,66.974 91.000,70.583 C 91.000,72.079 89.412,75.686 88.507,76.246 C 87.206,77.050 87.457,77.438 98.635,91.898 C 100.186,93.904 102.260,96.870 103.243,98.489 L 105.032,101.433 L 102.798,105.740 C 100.351,110.455 98.336,113.015 95.560,114.935 C 93.278,116.513 88.794,116.866 85.500,115.727 Z M 188.266,114.613 C 185.653,113.179 183.095,110.189 181.022,106.145 C 180.346,104.828 179.388,103.210 178.891,102.551 C 178.018,101.390 178.021,101.297 178.983,99.667 C 179.529,98.741 183.356,93.505 187.488,88.032 C 191.620,82.559 195.000,77.843 195.000,77.553 C 195.000,77.262 194.547,76.287 193.994,75.387 C 191.613,71.513 191.712,67.751 194.295,63.963 C 198.210,58.222 207.062,58.908 210.350,65.208 C 210.804,66.077 211.104,67.933 211.093,69.804 C 211.072,73.427 209.821,75.760 206.797,77.815 C 204.599,79.308 204.570,79.849 206.280,87.250 C 206.980,90.275 208.189,95.900 208.967,99.750 C 209.746,103.600 210.546,107.145 210.746,107.628 C 211.032,108.319 210.702,108.676 209.196,109.305 C 208.144,109.744 205.926,111.069 204.267,112.249 C 200.086,115.222 197.957,116.002 194.064,115.988 C 191.410,115.979 190.255,115.705 188.266,114.613 Z" fill="#000000" fill-rule="evenodd" /></svg>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 282 210" width="282" height="210">
|
||||||
|
<path d="M 51.365,195.097 L 48.979,194.944 L 49.115,185.097 L 49.250,175.250 L 141.635,175.124 L 234.021,174.997 L 233.885,185.071 L 233.750,195.144 L 143.750,195.197 C 94.250,195.226 52.677,195.181 51.365,195.097 Z M 48.214,165.350 C 47.822,165.130 47.500,164.550 47.500,164.062 C 47.500,162.915 42.931,144.945 38.839,130.000 C 37.898,126.562 36.852,122.513 36.516,121.000 C 36.179,119.487 35.458,116.706 34.914,114.819 C 34.370,112.932 33.626,110.007 33.262,108.319 C 32.897,106.631 31.884,102.550 31.009,99.250 C 30.134,95.950 29.136,91.948 28.790,90.356 C 28.038,86.894 27.682,86.479 25.177,86.154 C 22.563,85.816 18.493,83.403 17.144,81.393 C 14.679,77.718 14.453,71.702 16.656,68.433 C 18.189,66.157 21.639,63.636 24.141,62.962 C 29.917,61.407 36.106,64.923 38.240,70.972 C 39.343,74.098 39.180,76.381 37.634,79.436 L 36.268,82.136 L 39.491,84.943 C 41.263,86.487 46.112,90.900 50.265,94.750 C 63.913,107.401 67.741,110.902 69.042,111.926 C 71.811,114.104 77.418,117.684 80.750,119.401 C 84.069,121.112 84.508,121.207 89.250,121.228 C 93.444,121.246 94.693,121.058 97.000,120.060 C 104.292,116.905 108.730,109.979 115.987,90.429 C 116.767,88.328 117.895,85.515 118.494,84.179 C 119.093,82.843 120.587,79.050 121.813,75.750 C 123.039,72.450 124.453,68.850 124.954,67.750 C 125.456,66.650 126.342,64.396 126.925,62.740 C 127.507,61.085 129.472,56.135 131.292,51.740 C 133.112,47.346 134.710,43.175 134.843,42.472 C 135.044,41.412 134.630,40.806 132.413,38.912 C 128.749,35.781 127.302,32.769 127.416,28.512 C 127.534,24.120 128.114,22.324 130.260,19.705 C 133.689,15.521 138.191,13.738 143.159,14.596 C 146.772,15.220 148.317,15.931 150.803,18.113 C 155.862,22.555 157.142,28.713 154.218,34.541 C 153.092,36.785 150.509,39.703 148.674,40.805 C 147.672,41.407 147.859,42.315 150.004,47.250 C 152.459,52.899 156.900,64.079 161.227,75.500 C 162.946,80.037 164.815,84.763 165.380,86.000 C 165.944,87.237 167.483,90.950 168.799,94.250 C 175.276,110.492 180.551,117.561 188.404,120.523 C 192.726,122.154 198.023,121.749 203.000,119.407 C 208.192,116.965 214.342,112.415 220.259,106.640 C 225.274,101.744 232.059,95.522 236.750,91.518 C 240.671,88.172 246.500,82.432 246.500,81.917 C 246.500,81.660 246.121,80.730 245.657,79.850 C 243.051,74.905 244.645,67.768 249.033,64.727 C 255.886,59.978 264.928,63.188 267.256,71.196 C 268.213,74.489 268.059,76.328 266.548,79.644 C 265.252,82.489 262.587,84.723 259.572,85.492 C 255.246,86.594 255.131,86.694 254.525,89.845 C 253.855,93.335 253.201,96.081 251.932,100.750 C 250.318,106.683 250.066,107.645 249.248,111.000 C 248.244,115.113 241.633,141.077 239.317,150.000 C 237.107,158.515 235.232,164.935 234.842,165.325 C 234.383,165.784 49.034,165.809 48.214,165.350 Z M 85.500,115.727 C 82.041,114.530 79.176,112.996 77.120,111.240 C 76.092,110.362 74.744,109.483 74.125,109.288 C 72.520,108.781 72.491,109.055 75.510,96.250 C 75.770,95.150 76.306,92.675 76.702,90.750 C 77.098,88.825 77.777,85.945 78.211,84.351 C 79.383,80.043 79.272,79.315 77.300,78.374 C 70.723,75.238 70.769,63.926 77.369,61.168 C 79.645,60.217 83.497,60.212 85.308,61.158 C 88.491,62.820 91.000,66.974 91.000,70.583 C 91.000,72.079 89.412,75.686 88.507,76.246 C 87.206,77.050 87.457,77.438 98.635,91.898 C 100.186,93.904 102.260,96.870 103.243,98.489 L 105.032,101.433 L 102.798,105.740 C 100.351,110.455 98.336,113.015 95.560,114.935 C 93.278,116.513 88.794,116.866 85.500,115.727 Z M 188.266,114.613 C 185.653,113.179 183.095,110.189 181.022,106.145 C 180.346,104.828 179.388,103.210 178.891,102.551 C 178.018,101.390 178.021,101.297 178.983,99.667 C 179.529,98.741 183.356,93.505 187.488,88.032 C 191.620,82.559 195.000,77.843 195.000,77.553 C 195.000,77.262 194.547,76.287 193.994,75.387 C 191.613,71.513 191.712,67.751 194.295,63.963 C 198.210,58.222 207.062,58.908 210.350,65.208 C 210.804,66.077 211.104,67.933 211.093,69.804 C 211.072,73.427 209.821,75.760 206.797,77.815 C 204.599,79.308 204.570,79.849 206.280,87.250 C 206.980,90.275 208.189,95.900 208.967,99.750 C 209.746,103.600 210.546,107.145 210.746,107.628 C 211.032,108.319 210.702,108.676 209.196,109.305 C 208.144,109.744 205.926,111.069 204.267,112.249 C 200.086,115.222 197.957,116.002 194.064,115.988 C 191.410,115.979 190.255,115.705 188.266,114.613 Z" fill-rule="evenodd" style="fill: rgb(114, 101, 76);"/>
|
||||||
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
@@ -9,6 +9,7 @@ import MapView, { PlaceMarker } from "../MapView";
|
|||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import { usePermissions } from "@/hooks/usePermission";
|
import { usePermissions } from "@/hooks/usePermission";
|
||||||
import PermissionCheck from "../PermissionCheck";
|
import PermissionCheck from "../PermissionCheck";
|
||||||
|
import clsx from "clsx";
|
||||||
|
|
||||||
export default function Tour() {
|
export default function Tour() {
|
||||||
const [ stepStr, setStep ] = useLocalStorage(PREF.step, "0");
|
const [ stepStr, setStep ] = useLocalStorage(PREF.step, "0");
|
||||||
@@ -57,11 +58,17 @@ export default function Tour() {
|
|||||||
<div className={styles["screen-container"]}>
|
<div className={styles["screen-container"]}>
|
||||||
<div className={styles["top-bar"]}>
|
<div className={styles["top-bar"]}>
|
||||||
<div className={styles["top-bar-content"]}>
|
<div className={styles["top-bar-content"]}>
|
||||||
|
<div className={styles["corner-bar"]}>
|
||||||
|
<img src="/container/Ecke_Verzierung.webp" className={clsx(styles["corner"])} style={{rotate: "90deg"}} />
|
||||||
|
<img src="/container/Ecke_Verzierung.webp" className={clsx(styles["corner"])} style={{rotate: "180deg"}} />
|
||||||
|
</div>
|
||||||
|
<img src="/icons/krone.svg" className={clsx(styles["crown"])} />
|
||||||
|
<p className="eisenkraft-regular">Rufpunkte</p>
|
||||||
<div className={styles["points-outer-box"]}>
|
<div className={styles["points-outer-box"]}>
|
||||||
<div className={styles["points-inner-box"]}>
|
<div className={styles["points-inner-box"]}>
|
||||||
Your content goes here
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<p className="eisenkraft-regular" style={{marginTop: "4px"}}>6500 / 10.000</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles["main-content"]}>
|
<div className={styles["main-content"]}>
|
||||||
|
|||||||
+74
-12
@@ -11,7 +11,6 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 120px;
|
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
||||||
@@ -49,7 +48,7 @@
|
|||||||
background-image: url('/bg/Hintergrund_ohne_Verzierung.webp');
|
background-image: url('/bg/Hintergrund_ohne_Verzierung.webp');
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: top center;
|
background-position: top center;
|
||||||
box-shadow: inset 0px -15px 32px 0px #0000004d;
|
box-shadow: inset 0px -15px 24px 0px #0000004d;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
|
|
||||||
--b: var(--border-width);
|
--b: var(--border-width);
|
||||||
@@ -69,9 +68,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.top-bar-content {
|
.top-bar-content {
|
||||||
padding: 8px;
|
padding-left: 8px;
|
||||||
|
padding-right: 8px;
|
||||||
|
padding-bottom: 28px;
|
||||||
|
padding-top: 3.5dvh;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-content {
|
.main-content {
|
||||||
@@ -94,7 +100,6 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
/*height: 100%; TODO: fullsize when doing this*/
|
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
background-color: #000000AA;
|
background-color: #000000AA;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
@@ -112,16 +117,73 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.points-outer-box {
|
.points-outer-box {
|
||||||
position: relative;
|
--radius: 5px;
|
||||||
width: 300px;
|
--border-size: 4px;
|
||||||
height: 200px;
|
--inner-radius: calc(var(--radius) + var(--border-size));
|
||||||
background-color: #3498db;
|
--offset: calc(-1 * var(--border-size));
|
||||||
color: #fff;
|
|
||||||
|
|
||||||
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 200'%3E%3Cpath d='M 20 0 Q 0 0 0 20 L 0 180 Q 0 200 20 200 L 300 200 Q 320 200 320 180 L 320 200 Z'/%3E%3C/svg%3E");
|
width: 70%;
|
||||||
|
height: 18px;
|
||||||
|
background-color: #72654c;
|
||||||
|
padding: var(--border-size);
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
-webkit-mask:
|
||||||
|
radial-gradient(var(--radius) at top left, #0000 98%, #000) top left,
|
||||||
|
radial-gradient(var(--radius) at top right, #0000 98%, #000) top right,
|
||||||
|
radial-gradient(var(--radius) at bottom left, #0000 98%, #000) bottom left,
|
||||||
|
radial-gradient(var(--radius) at bottom right, #0000 98%, #000) bottom right;
|
||||||
|
mask:
|
||||||
|
radial-gradient(var(--radius) at top left, #0000 98%, #000) top left,
|
||||||
|
radial-gradient(var(--radius) at top right, #0000 98%, #000) top right,
|
||||||
|
radial-gradient(var(--radius) at bottom left, #0000 98%, #000) bottom left,
|
||||||
|
radial-gradient(var(--radius) at bottom right, #0000 98%, #000) bottom right;
|
||||||
|
|
||||||
|
-webkit-mask-size: 51% 51%;
|
||||||
|
mask-size: 51% 51%;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.points-inner-box {
|
.points-inner-box {
|
||||||
padding: 30px;
|
width: 60%;
|
||||||
color: #fff;
|
height: 100%;
|
||||||
|
background-color: #fff;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
-webkit-mask:
|
||||||
|
radial-gradient(var(--inner-radius) at var(--offset) var(--offset), #0000 98%, #000) top left,
|
||||||
|
radial-gradient(var(--inner-radius) at calc(100% + var(--border-size)) var(--offset), #0000 98%, #000) top right,
|
||||||
|
radial-gradient(var(--inner-radius) at var(--offset) calc(100% + var(--border-size)), #0000 98%, #000) bottom left,
|
||||||
|
radial-gradient(var(--inner-radius) at calc(100% + var(--border-size)) calc(100% + var(--border-size)), #0000 98%, #000) bottom right;
|
||||||
|
mask:
|
||||||
|
radial-gradient(var(--inner-radius) at var(--offset) var(--offset), #0000 98%, #000) top left,
|
||||||
|
radial-gradient(var(--inner-radius) at calc(100% + var(--border-size)) var(--offset), #0000 98%, #000) top right,
|
||||||
|
radial-gradient(var(--inner-radius) at var(--offset) calc(100% + var(--border-size)), #0000 98%, #000) bottom left,
|
||||||
|
radial-gradient(var(--inner-radius) at calc(100% + var(--border-size)) calc(100% + var(--border-size)), #0000 98%, #000) bottom right;
|
||||||
|
|
||||||
|
-webkit-mask-size: 51% 51%;
|
||||||
|
mask-size: 51% 51%;
|
||||||
|
-webkit-mask-repeat: no-repeat;
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.corner-bar {
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding-left: 6dvw;
|
||||||
|
padding-right: 6dvw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.corner {
|
||||||
|
width: 21%;
|
||||||
|
max-width: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.crown {
|
||||||
|
width: 2rem;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user