summaryrefslogtreecommitdiff
path: root/master
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-30 14:14:04 +0200
committerHampusM <hampus@hampusmat.com>2022-05-30 14:18:16 +0200
commit72e3bb715157fb5aabcbc889f4f7143bf87b90f5 (patch)
treeeea858c1a1add3786d1f0430469fb10b88a1134b /master
parentec20c707ea677c9b2c8e585b78c9837a2f6e7372 (diff)
feat(master): add map
Diffstat (limited to 'master')
-rw-r--r--master/public/g7-map.svg16
-rw-r--r--master/src/components/G7Map.vue85
-rw-r--r--master/src/scss/_breakpoints.scss8
-rw-r--r--master/src/views/Home.vue14
4 files changed, 122 insertions, 1 deletions
diff --git a/master/public/g7-map.svg b/master/public/g7-map.svg
new file mode 100644
index 0000000..a44ed7a
--- /dev/null
+++ b/master/public/g7-map.svg
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ version="1.1"
+ viewBox="0 0 2045.3333 1294.6667"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg"
+>
+ <g>
+ <path
+ style="display:inline;fill:#ffffff;stroke-width:1.33333"
+ d="M 1.0035769,802.66667 0.66666666,311.99999 H 33.666666 l 33,2e-5 v -6.66667 c 0,-6.51852 0.08889,-6.66667 4,-6.66667 h 3.999999 v 21.33334 21.33333 h -3.999999 c -3.911111,0 -4,-0.14814 -4,-6.66666 v -6.66667 H 41.999999 17.333333 v 284.66667 284.66668 h 75.999999 75.999998 v -5.33334 c 0,-5.03704 0.22223,-5.33333 4,-5.33333 h 4 v 16.66667 16.66666 h -4 c -3.96032,0 -4,-0.0728 -4,-7.34434 v -7.34434 L 93.666665,905.65568 18,906.00002 17.661989,1091 17.323978,1276 H 333.99531 650.66666 v -98 -98 h -8.66667 -8.66667 v -4 -4 h 21.33334 21.33333 v 4 4 h -8.66667 -8.66666 v 98 98 h 91.99999 92 v -130.6666 -130.6667 h -90.66666 c -79.70371,0 -90.66667,0.2418 -90.66667,2 0,1.5354 1.70371,2 7.33334,2 7.25925,0 7.33333,0.04 7.33333,4 v 4 h -21.33333 -21.33334 v -4 -4 h 10 10 v -6 -6 h 94.66667 94.66666 v -52.00001 -52 h 118 117.99995 v 4 4 H 1070 h -8.6667 v 20 20 h 4 c 3.5556,0 4,0.44444 4,4 v 4 h -14 -14 v -4 c 0,-3.85185 0.2222,-4 6,-4 h 6 v -20 -20 H 951.99998 850.66665 V 1093.3334 1276 h 84 84.00005 V 1169.3334 1062.6667 H 1036 1053.3333 V 1053.3334 1044 h -6 c -5.7778,0 -6,-0.1481 -6,-4 v -4 H 1056.6666 1072 v 4 c 0,3.7778 -0.2963,4 -5.3334,4 h -5.3333 v 9.3334 9.3333 h 9.3333 H 1080 V 1058 c 0,-4.2963 0.3174,-4.6666 4,-4.6666 h 4 v 14 14 h -4 c -3.7778,0 -4,-0.2963 -4,-5.3334 v -5.3333 h -26.6667 -26.6667 V 1173.3334 1276 h 172 172 V 1140 1004 H 1333.3333 1296 v 33.3334 33.3333 h -69.3334 -69.3333 v 5.4219 c 0,5.0491 -0.2367,5.3929 -3.4421,5 -3.4323,-0.4207 -3.4427,-0.4607 -3.6666,-14.0889 l -0.2246,-13.667 4.0656,3e-4 c 3.8612,3e-4 4.0382,0.2349 3.5208,4.667 -0.5001,4.2836 -0.2583,4.6667 2.9454,4.6667 h 3.4902 l -0.3443,-75.66667 -0.3444,-75.66667 -4.3333,-0.41782 c -3.8103,-0.36737 -4.3334,-0.89041 -4.3334,-4.33333 0,-3.58599 0.3928,-3.91552 4.6667,-3.91552 H 1164 v -25.33333 -25.33334 h 12 12 v -8.66666 -8.66667 h 4 4 v 20 20 h -4 c -3.9596,0 -4,-0.0741 -4,-7.33333 v -7.33334 h -8.6751 -8.675 l 0.3417,101 0.3417,100.99998 58.3333,0.3474 58.3334,0.3473 v -33.3473 -33.34737 h 41.3333 41.3333 v -41.67918 -41.67916 l -26.3456,-26.32084 -26.3454,-26.32083 h -25.7779 -25.7779 l 0.4568,7.33515 0.4567,7.33516 -4,-0.001 -4,-10e-4 v -20 -20 l 4,-0.003 4,-0.003 v 8.33577 8.33576 l 26.6667,0.35656 26.6666,0.35658 28.9643,28.92966 28.9643,28.92967 0.369,18.04711 0.3691,18.04709 h 5.3333 5.3334 l 0.3998,-7.66667 c 0.3918,-7.51044 0.48,-7.66666 4.3334,-7.66666 h 3.9334 v 17.33333 17.33333 h -3.9233 c -3.6625,0 -3.9505,-0.37676 -4.3333,-5.66666 -0.4091,-5.6539 -0.422,-5.66667 -5.7434,-5.66667 h -5.3333 l -0.3387,160.99997 -0.3386,161 H 1703.328 2028 V 1054.6672 833.33386 h -104.6318 -104.6316 l -75.035,59.96492 -75.035,59.96491 -91.6666,0.0351 -91.6667,0.0346 v 6 c 0,5.77777 -0.1481,6 -4,6 h -4 v -17.33334 -17.33333 h 4 4 v 8 8 h 22 c 16.0124,0 22,-0.42812 22,-1.57299 0,-3.09345 -6.9152,-30.42701 -7.6977,-30.42701 -0.4392,0 -4.6268,0.96009 -9.3058,2.13353 -4.679,1.17344 -8.6829,1.92344 -8.8976,1.66667 -0.2148,-0.25677 -0.7536,-1.98655 -1.1974,-3.84392 -0.8024,-3.35849 -0.6846,-3.40744 21.4598,-8.9038 22.8092,-5.66136 24.2346,-5.67005 24.285,-0.14811 0.015,1.62582 -1.9555,2.6799 -7.2052,3.85474 -11.4148,2.55452 -11.1043,1.61278 -6.6395,20.13854 l 3.9612,16.43568 62.6063,0.34672 62.6064,0.34674 4.0122,-2.95724 c 4.8078,-3.54348 141.9687,-112.77949 144.3112,-114.93054 1.2804,-1.17572 0.6588,-6.95748 -2.8833,-26.81893 -7.9016,-44.30487 -19.4397,-110.61729 -19.4275,-111.65342 0,-0.55 -33.4381,-0.97879 -74.3214,-0.95287 l -74.3334,0.0471 -66.6045,53.9574 c -36.6325,29.67658 -67.1528,54.50574 -67.8231,55.17592 -0.9642,0.9643 4.9482,31.26675 6.4739,33.18048 0.1789,0.22444 4.0817,-0.56532 8.6729,-1.755 6.8372,-1.77169 8.549,-1.84553 9.4604,-0.40806 3.1591,4.98185 1.5564,5.85458 -20.2352,11.01906 -11.764,2.78799 -21.6053,4.84411 -21.8697,4.56918 -0.2643,-0.27495 -0.6892,-1.96339 -0.9443,-3.7521 -0.4254,-2.98418 0.2506,-3.43402 8.203,-5.4584 4.7666,-1.21341 8.5828,-2.74992 8.4802,-3.41446 -0.1026,-0.66455 -1.8198,-8.18656 -3.8165,-16.71558 l -3.6301,-15.5073 -60.4986,-49.82603 -60.4986,-49.82603 -0.019,-66.33333 -0.018,-66.33329 h 10.6666 10.6667 v -5.33333 c 0,-5.03704 0.2223,-5.33333 4,-5.33333 h 4 v 14.66666 14.66667 h -4 c -3.7777,0 -4,-0.29629 -4,-5.33333 v -5.33334 H 1390.6666 1384 v 60.39131 60.3913 l 57.3596,47.27537 c 31.5477,26.00144 57.9078,47.46207 58.578,47.69027 1.8485,0.62943 133.5898,-106.50364 133.1297,-108.26198 -0.2204,-0.8419 -16.9007,-25.36345 -37.0673,-54.49233 l -36.6667,-52.9616 -41,-0.0161 -41,-0.0162 v 5.33334 c 0,5.03704 -0.2223,5.33333 -4,5.33333 h -4 v -14.66667 -14.66666 h 4 c 3.7777,0 4,0.29629 4,5.33333 v 5.33333 h 40.6396 40.6396 l 2.7827,-5.45461 c 2.6774,-5.24813 2.691,-5.52413 0.3604,-7.29093 -1.3323,-1.00998 -2.7223,-1.86459 -3.089,-1.89914 -3.0802,-0.29026 -4.04,-2.4755 -2.5364,-5.77557 l 1.6002,-3.51188 14.1348,7.51472 c 7.7741,4.13309 14.3072,7.64028 14.518,7.79376 0.63,0.45872 -2.7454,7.29105 -3.5972,7.28153 -0.4323,-0.005 -2.586,-1.20088 -4.786,-2.65788 -5.5783,-3.69437 -6.5968,-3.40182 -9.3407,2.68288 l -2.4123,5.34955 7.2098,10.37035 c 3.9654,5.70369 21.0098,30.29225 37.8765,54.64123 L 1642,681.3149 l 73.52,0.009 73.52,0.009 0.7893,-27 c 0.4341,-14.85 1.1036,-50.4 1.4879,-79 0.3841,-28.6 1.0786,-65.95 1.5434,-83 l 0.8448,-31 h -81.8745 -81.8745 l -4.3116,7.20836 c -2.3714,3.9646 -4.3115,7.76829 -4.3115,8.45265 0,0.68435 1.5,1.92772 3.3333,2.76306 3.8151,1.73828 3.9991,2.58422 1.3294,6.11154 -1.8467,2.43986 -2.336,2.29558 -12.9576,-3.8201 -6.0711,-3.49566 -11.456,-6.73668 -11.9664,-7.20228 -0.5104,-0.46562 0.1478,-2.27047 1.4629,-4.01079 2.3188,-3.06881 2.4963,-3.09519 5.8853,-0.87464 1.9219,1.25927 4.1475,2.07184 4.9459,1.80573 0.7983,-0.26612 3.6999,-4.37253 6.4479,-9.12536 l 4.9964,-8.6415 84.2614,-0.34328 84.2615,-0.34327 v -3.3234 c 0,-2.9884 -0.5376,-3.32339 -5.3333,-3.32339 -5.0371,0 -5.3334,-0.22223 -5.3334,-4 v -4 h 14 14 v 4 c 0,3.65485 -0.3885,4 -4.503,4 h -4.5031 l -0.8551,35 c -0.4701,19.25 -1.468,74.3 -2.2172,122.33334 l -1.3622,87.33333 6.1013,34.66667 c 3.3557,19.06667 8.4951,48.46667 11.4208,65.33334 2.9259,16.86666 5.5856,31.41666 5.9105,32.33333 0.4659,1.31392 22.4702,1.66667 103.9662,1.66667 H 2028 V 576.65945 327.98533 l -114.3334,0.34079 -114.3333,0.34077 -0.3943,9 -0.3942,9 h 6.0609 c 5.8455,0 6.0609,0.14219 6.0609,4 v 4 h -14 -14 v -4 c 0,-3.69236 0.3636,-4 4.7276,-4 h 4.7276 l -0.3942,-9 -0.3943,-9 H 1764.6666 1738 v 11.00212 11.00213 l -8.3334,-0.003 -8.3333,-0.003 v -34 -34 h 7.9549 7.9548 l 0.3786,14.33333 0.3784,14.33333 153.3333,0.3389 153.3333,0.33889 -0.3369,490.66112 -0.3369,490.66199 H 1022.6666 1.3404872 Z M 1153.5835,1149.3306 c 0.4097,-14.4302 -0.2709,-16.7765 -3.833,-13.2144 -0.999,0.999 -1.7171,1.0166 -2.3103,0.057 -0.8267,-1.3377 5.6034,-5.5063 8.4936,-5.5063 0.9025,0 1.3995,5.9188 1.3995,16.6667 0,14.2217 -0.3056,16.6666 -2.0832,16.6666 -1.7877,0 -2.0241,-2.0807 -1.6666,-14.6693 z m 20.3855,11.9686 c -3.5729,-3.9481 -4.437,-19.2375 -1.4171,-25.0773 3.5348,-6.8356 12.5395,-7.5431 17.1476,-1.3473 3.7337,5.02 3.734,19.8968 5e-4,24.9175 -3.5739,4.8062 -12.0136,5.6147 -15.731,1.5071 z m 12.6689,-2.5787 c 2.4493,-4.5766 2.9898,-13.8085 1.1352,-19.3871 -2.188,-6.5813 -7.4942,-8.086 -10.9775,-3.1128 -2.8486,4.0668 -2.8824,18.1104 -0.053,22.1494 2.5845,3.6899 8.0057,3.8819 9.8957,0.3505 z m -459.67457,-11.4627 c -4.05286,-2.8388 -4.08422,-10.3215 -0.0551,-13.1436 2.73977,-1.919 2.7784,-2.1805 0.66666,-4.5139 -6.83985,-7.558 2.45608,-17.9267 11.99346,-13.3775 4.70382,2.2436 6.08538,9.9371 2.28366,12.717 -2.22729,1.6286 -2.19618,1.8747 0.56172,4.4441 3.99192,3.719 3.96876,11.0634 -0.0437,13.8739 -1.62989,1.1415 -5.0964,2.0756 -7.70339,2.0756 -2.60698,0 -6.07349,-0.9341 -7.70332,-2.0756 z m 13.76735,-3.835 c 1.64792,-2.5151 1.79597,-3.8597 0.65892,-5.9843 -1.75147,-3.2726 -7.62257,-5.0274 -10.59599,-3.167 -2.6712,1.6714 -3.50401,7.9327 -1.39337,10.4758 2.58675,3.1169 8.90423,2.3784 11.33044,-1.3245 z m -0.0341,-18.1836 c 1.10544,-3.4829 -2.87371,-8.1761 -6.47019,-7.6312 -1.42308,0.2156 -3.46105,1.7144 -4.52881,3.3307 -1.77895,2.6928 -1.65303,3.2271 1.50494,6.385 2.78227,2.7823 3.94448,3.1798 6.03163,2.0628 1.42191,-0.761 2.98,-2.6273 3.46243,-4.1473 z M 1632,1095.4445 c 0,-14.0385 -0.9342,-17.9931 -3.3334,-14.1111 -1.056,1.7086 -3.3333,1.732 -3.3333,0.034 0,-1.4909 7.9237,-5.8883 8.8825,-4.9295 1.362,1.3621 0.614,33.5075 -0.7905,33.9757 -0.9568,0.319 -1.4253,-4.6013 -1.4253,-14.9693 z m 19,14.4095 c -3.657,-1.6299 -1.3832,-3.1735 3.5197,-2.3895 4.1957,0.671 5.7239,0.292 8,-1.9842 1.5475,-1.5475 2.8136,-3.7136 2.8136,-4.8136 0,-3.1186 -4.9811,-7.3333 -8.6667,-7.3333 -1.8333,0 -3.3333,-0.6 -3.3333,-1.3334 0,-0.7333 1.4071,-1.3333 3.1267,-1.3333 4.2156,0 8.0278,-4.3625 6.9046,-7.9014 -1.067,-3.3618 -6.1421,-4.8467 -9.8262,-2.875 -1.7938,0.9599 -2.9898,0.9974 -3.5378,0.1109 -0.9706,-1.5707 4.7511,-4.0011 9.4195,-4.0011 3.9063,0 8.5799,4.3294 8.5799,7.948 0,1.4381 -1.2404,3.7704 -2.7566,5.1829 l -2.7565,2.5681 3.5509,3.5509 c 2.787,2.787 3.3611,4.3253 2.6688,7.1505 -0.4852,1.9798 -1.6808,4.4163 -2.6569,5.4145 -1.8664,1.9085 -12.2012,3.3088 -15.0497,2.0391 z M 264.82546,1075.9132 c 3.94599,-8.1144 7.17454,-15.0144 7.17454,-15.3333 0,-0.319 -3.6,-0.5799 -8,-0.5799 -4.44444,0 -8,-0.5926 -8,-1.3333 0,-0.7704 4.22222,-1.3333 10,-1.3333 7.09901,0 10.00658,0.4835 10.02269,1.6666 0.012,0.9167 -3.13752,8.4008 -7,16.6313 -4.68604,9.9854 -7.74623,14.9763 -9.19723,15 -1.70189,0.028 -0.61512,-3.1713 5,-14.7181 z m 647.17453,9.5685 c 0,-0.6517 2.074,-1.574 4.60889,-2.0495 4.60156,-0.8633 10.05777,-6.0777 10.05777,-9.612 0,-2.1985 -0.68779,-2.2595 -4.21184,-0.3735 -3.1901,1.7073 -8.09317,0.7245 -11.02825,-2.2106 -2.52441,-2.5244 -2.68917,-11.0067 -0.27551,-14.1837 2.81446,-3.7044 8.77298,-5.4074 12.91585,-3.6913 5.32979,2.2076 7.0262,6.5076 6.33536,16.0584 -0.543,7.5068 -1.06706,8.728 -5.48176,12.7738 -3.28117,3.0069 -6.19903,4.4734 -8.90093,4.4734 -2.21077,0 -4.01958,-0.5332 -4.01958,-1.185 z m 11.26131,-14.3052 c 5.40998,-2.076 4.92096,-12.2246 -0.73489,-15.2515 -5.53993,-2.9649 -12.12668,5.2101 -8.99368,11.1623 2.46487,4.6829 5.1931,5.8296 9.72857,4.0892 z m 295.4053,-144.50981 c 0,-8.06667 -0.3394,-14.66667 -0.7543,-14.66667 -0.4149,0 -1.9149,0.62111 -3.3333,1.38024 -3.7685,2.01683 -3.1769,-0.68181 0.7074,-3.22689 6.9279,-4.53933 7.3802,-3.64981 7.3802,14.51332 0,13.92592 -0.3288,16.66667 -2,16.66667 -1.6565,0 -2,-2.51852 -2,-14.66667 z m 26.6667,0 c 0,-13.32343 -0.9618,-17.17057 -3.3333,-13.33333 -1.056,1.70865 -3.3334,1.73205 -3.3334,0.0343 0,-1.37436 6.8943,-5.36757 9.2672,-5.36757 0.9025,0 1.3995,5.91877 1.3995,16.66667 0,13.92592 -0.3289,16.66666 -2,16.66666 -1.6565,0 -2,-2.51852 -2,-14.66666 z M 262.66666,903.2448 v -16.75523 l 3.66667,0.42189 c 3.18333,0.36628 3.72121,1.08099 4.08049,5.4219 l 0.41382,5 h 219.25285 219.25283 v -18 -18 h -7.84866 c -7.70139,0 -7.85968,-0.0751 -8.43575,-4 l -0.58707,-4 h 19.76907 19.76908 v 4 c 0,3.9596 -0.0741,4 -7.33334,4 h -7.33333 v 22 22 H 493.99999 270.66666 v 7.33333 c 0,7.25925 -0.0404,7.33333 -4,7.33333 h -4 z M 1614.6666,805.95311 c 0,-15.17761 -0.036,-15.36064 -2.7808,-13.89197 -1.5296,0.81855 -3.1785,1.0906 -3.6646,0.60456 -1.3486,-1.34851 3.8892,-4.66568 7.3669,-4.66568 3.0516,0 3.0785,0.14569 3.0785,16.66667 0,13.92592 -0.3289,16.66666 -2,16.66666 -1.6621,0 -2,-2.5978 -2,-15.38024 z m 16.8052,14.27114 c -0.3769,-0.61002 2.3347,-4.06002 6.026,-7.66667 3.6912,-3.60665 7.6131,-8.27219 8.7152,-10.36783 4.0131,-7.6306 -1.2529,-13.982 -9.2742,-11.18576 -4.1571,1.4492 -6.63,0.23255 -3.5668,-1.75492 6.3905,-4.14649 14.2469,-2.6935 17.0492,3.15318 2.5058,5.2284 0.2309,11.08152 -7.1054,18.28154 -3.2904,3.2293 -5.9825,6.34652 -5.9825,6.92718 0,0.58064 3.3,1.05572 7.3333,1.05572 4.0334,0 7.3334,0.6 7.3334,1.33333 0,1.61275 -19.538,1.82616 -20.5282,0.22423 z m -931.47181,-38.8909 c 0,-3.68253 0.37037,-4 4.66667,-4 h 4.66666 V 552.66351 327.99366 l -274.99999,0.33651 -275,0.33651 -0.40639,6.33333 c -0.3669,5.71803 -0.72313,6.33333 -3.66666,6.33333 H 152 v -21.33333 -21.33334 l 3.66666,-0.003 c 3.48586,-0.003 3.66667,0.31025 3.66667,6.33333 v 6.33549 l 436.99999,0.33535 436.99998,0.33535 v -45.33535 -45.33535 h -4.6667 c -4.2962,0 -4.6666,-0.31746 -4.6666,-4 v -4 h 12.6666 12.6667 v 4 c 0,3.55948 -0.4425,4 -4.0177,4 h -4.0178 l 0.3511,45 0.3511,45 19.6666,0.36898 19.6667,0.36898 v 7.96435 7.96436 h -10 -10 v 12 12 h 8.6667 8.6666 v 4 4 h -20.3773 -20.3774 l 0.1553,-3.66666 c 0.1483,-3.50019 0.4984,-3.68483 7.7107,-4.06654 l 7.5554,-0.39937 v -11.93345 -11.93347 h -167.99998 -168 v 204.66667 204.66667 l 144.33333,-0.004 144.33335,-0.004 23.6736,-22.25989 23.6737,-22.2599 -0.3403,-120.7364 -0.3404,-120.73582 -7.3333,-0.66666 c -6.7643,-0.61495 -7.3314,-0.9253 -7.3081,-4 l 0.025,-3.33334 h 19.975 H 1078 l 0.4219,3.66667 0.4219,3.66667 h -8.7553 -8.7552 v 122.14265 c 0,108.02346 -0.2312,122.05394 -2,121.37518 -2.339,-0.89756 -2.7157,1.2158 -0.4647,2.60701 1.0629,0.65691 0.775,1.50487 -0.9358,2.75583 -2.3489,1.71755 -14.16,12.91724 -36.8567,34.94884 -8.7859,8.52839 -10.5551,9.70948 -12.3334,8.23364 -1.7341,-1.43921 -2.076,-1.36669 -2.076,0.44027 0,1.98216 -12.11062,2.16325 -144.66671,2.16325 H 717.33332 v 16 16 h 5.33333 c 5.03704,0 5.33334,0.22223 5.33334,4 v 4 h -14 -14 z M 1474.6666,663.44446 v -4.77778 h -8 c -5.529,0 -8,-0.51696 -8,-1.6737 0,-3.49067 14.1038,-21.65511 17.1576,-22.09751 2.9426,-0.42628 3.0146,-0.16147 2.7171,10 -0.2583,8.81913 0.039,10.50473 1.9099,10.86897 2.8944,0.56323 2.8498,2.58452 -0.069,3.14672 -1.5174,0.29223 -2.301,1.741 -2.3333,4.31344 -0.027,2.13038 -0.7985,4.12636 -1.7152,4.43552 -1.1279,0.38039 -1.6667,-0.98253 -1.6667,-4.21566 z m 0,-16.37778 c 0,-4.91333 -0.4937,-8.36333 -1.0972,-7.66666 -2.1305,2.4595 -10.9028,15.2818 -10.9028,15.93641 0,0.36497 2.7,0.66359 6,0.66359 h 6 z m 178.2223,-87.95556 c -2.0608,-2.0608 -0.5667,-2.81413 4.2896,-2.16277 4.0916,0.5488 5.7708,0.1024 8,-2.12687 5.68,-5.68005 1.4895,-13.48813 -7.2389,-13.48813 -4.7235,0 -4.7264,-0.004 -3.8836,-5 1.6738,-9.92236 1.4014,-9.66667 10.3005,-9.66667 9.3931,0 9.1172,2.2566 -0.3565,2.91583 -5.6346,0.39206 -6.0247,0.67041 -6.4043,4.56909 -0.3803,3.90503 -0.088,4.2022 4.9273,5.00412 14.4572,2.3118 11.6458,20.84429 -3.1622,20.84429 -3.0707,0 -5.9831,-0.4 -6.4719,-0.88889 z M 300,536.00001 c 0,-8.06666 -0.33944,-14.66666 -0.75432,-14.66666 -0.41488,0 -1.91488,0.6211 -3.33334,1.38024 -1.96844,1.05348 -2.57901,0.94632 -2.57901,-0.45264 0,-1.71911 5.24988,-4.9276 8.06273,-4.9276 0.73748,0 1.2706,6.99306 1.2706,16.66666 0,10.22223 -0.51556,16.66667 -1.33333,16.66667 -0.80808,0 -1.33333,-5.77777 -1.33333,-14.66667 z m 869.4322,-6.53621 c -5.9805,-1.60985 -4.6619,-3.86635 1.8316,-3.13443 7.1783,0.8091 10.0695,-1.04162 10.0695,-6.4457 0,-4.03206 -3.0419,-6.55032 -7.9123,-6.55032 -4.2427,0 -3.2686,-1.94503 1.9123,-3.81846 3.5018,-1.26625 4.6667,-2.45726 4.6667,-4.77125 0,-4.4604 -3.207,-6.55456 -8.678,-5.66675 -2.5604,0.41551 -4.6554,0.25739 -4.6554,-0.35138 0,-2.77424 10.3252,-3.71566 14.7544,-1.34526 3.6646,1.96127 3.5579,10.00204 -0.1592,11.99138 -2.7008,1.44542 -2.6917,1.50197 0.6667,4.14368 4.5356,3.56776 4.7539,10.91469 0.4048,13.62868 -3.9979,2.49484 -8.9457,3.38453 -12.9011,2.31981 z M 823.29473,490.47724 c 4.17008,-4.5042 8.17043,-9.73719 8.88964,-11.62888 2.67871,-7.04551 -4.19173,-13.07897 -10.84106,-9.52036 -3.10224,1.66027 -4.82212,1.06477 -3.43007,-1.18764 1.37219,-2.22024 9.99792,-3.27552 13.54888,-1.6576 7.74023,3.52668 6.79616,12.16476 -2.43316,22.26311 l -6.62989,7.25414 h 7.46713 c 4.10692,0 7.46712,0.6 7.46712,1.33334 0,0.77925 -4.49232,1.33333 -10.81028,1.33333 h -10.81029 z m 1070.34387,5.96372 c -2.7057,-1.08861 -5.6386,-7.89448 -5.6386,-13.08423 0,-9.8433 4.9297,-16.74314 13.6561,-19.11382 5.0549,-1.37324 8.8161,0.3641 4.0951,1.8915 -7.7682,2.51315 -10.0828,3.97255 -11.9124,7.51064 -2.1702,4.19664 -1.5016,6.55108 1.1168,3.93274 2.6393,-2.63934 9.9914,-1.88088 12.9924,1.3403 8.2522,8.85764 -2.6536,22.21254 -14.3094,17.52287 z m 10.5898,-3.98093 c 2.7089,-2.45166 3.1644,-7.27852 1.058,-11.21434 -1.5822,-2.95629 -9.081,-3.58449 -11.6864,-0.97901 -2.2318,2.23169 -1.9956,7.90849 0.4756,11.43665 2.4578,3.50903 6.7573,3.82947 10.1528,0.7567 z M 1637.3333,339.33334 V 328.00001 H 1430.6666 1224 v -8 -8 h 4.6666 4.6667 V 263.33334 214.66667 H 1310 1386.6666 V 144.79982 74.932951 L 1373,62.402466 c -7.5167,-6.891767 -24.0492,-21.951681 -36.7391,-33.466476 L 1313.1886,8.0000002 h -98.374 -98.374 L 1079.2203,47.52636 1042,87.052721 l -0.397,7.806973 -0.3969,7.806976 h 4.0636 c 3.6262,0 4.0636,0.43053 4.0636,4 v 4 H 1036.6666 1024 v -4 c 0,-3.68254 0.3704,-4 4.6666,-4 h 4.6667 V 93.560825 84.45498 l 39,-41.50699 39,-41.5069886 103.1262,-0.053834 103.1262,-0.053834 26.1261,23.6666676 c 14.3695,13.016667 31.7127,28.687852 38.5406,34.824857 l 12.4142,11.158189 V 191.49152 312.00001 H 1516 1637.3333 v -14.66667 -14.66667 h 8.6667 8.6666 v 34 34.00001 H 1646 h -8.6667 z m -250.982,-72.33333 0.3513,-44.33334 h -72.6846 -72.6847 v 43.77778 c 0,24.07778 0.4052,44.18294 0.9004,44.67813 0.4952,0.4952 33.0452,0.7452 72.3333,0.55556 L 1386,311.33334 Z M 1175.7498,93.336053 c 0.2291,-8.068161 -0.071,-14.660196 -0.6666,-14.648967 -0.5958,0.0112 -1.9546,0.571639 -3.0196,1.245356 -1.0649,0.673716 -2.5023,0.875119 -3.1941,0.447561 -1.1325,-0.699901 6.365,-5.52152 8.7971,-5.657446 0.55,-0.03074 1,7.444112 1,16.610779 0,12.442994 -0.4223,16.667354 -1.6666,16.669384 -1.2577,0.002 -1.5645,-3.59685 -1.2502,-14.666667 z m 30.668,10.330617 c -0.4131,-4.284159 -0.5048,-4.337871 -8.0845,-4.733206 -4.2167,-0.219929 -7.6667,-0.793863 -7.6667,-1.275408 0,-1.149256 10.3353,-16.143821 13.7794,-19.991387 4.9356,-5.5137 6.2206,-3.962075 6.2206,7.511159 0,9.71781 0.2265,10.585988 3,11.502598 l 3,0.991442 -3,0.590135 c -2.4134,0.474746 -3,1.484474 -3,5.164067 0,6.11163 -3.6627,6.31904 -4.2488,0.2406 z m 0.2488,-16.067593 c 0,-4.472824 -0.4958,-7.562408 -1.1018,-6.865742 -1.9285,2.216828 -10.8982,14.936986 -10.8982,15.454911 0,0.273702 2.7,0.282899 6,0.02044 l 6,-0.477198 z"
+ id="path177"
+ inkscape:label="path177" />
+ </g>
+</svg>
diff --git a/master/src/components/G7Map.vue b/master/src/components/G7Map.vue
new file mode 100644
index 0000000..6a887b1
--- /dev/null
+++ b/master/src/components/G7Map.vue
@@ -0,0 +1,85 @@
+<template>
+ <div class="map-wrapper">
+ <img src="g7-map.svg">
+ <div class="rooms">
+ <span class="title">Rooms</span>
+ <ol>
+ <li
+ :key="room"
+ v-for="room in rooms"
+ >
+ {{ room }}
+ </li>
+ </ol>
+ </div>
+ </div>
+</template>
+
+<script lang="ts">
+import { defineComponent } from "vue";
+
+export default defineComponent(
+ {
+ name: "G7Map",
+ data() {
+ return {
+ rooms: [
+ "Studio / G3",
+ "Studio 1",
+ "Hall",
+ "Studio 2",
+ "Studio 3",
+ "Grupprum",
+ "Verkstad",
+ "Serverrum",
+ "Kurator",
+ "Pannrum",
+ "Toalett",
+ "Inspelningsbås",
+ "G2",
+ "Trapphus"
+ ]
+ };
+ }
+ }
+);
+</script>
+
+<style scoped lang="scss">
+@use "sass:map";
+
+@use "@/scss/colors";
+
+@import "@/scss/breakpoints";
+
+.map-wrapper {
+ display: flex;
+ flex-wrap: wrap;
+ row-gap: 5em;
+ column-gap: 10em;
+
+ img {
+ max-width: 50%;
+ }
+
+ .rooms {
+ min-width: 40%;
+
+ ol li {
+ line-height: 1.75em;
+ }
+
+ .title {
+ font-size: 2rem;
+ font-weight: 700;
+ color: colors.$primary;
+ }
+ }
+}
+
+@media (max-width: map.get($breakpoints, "xl")) {
+ .map-wrapper img {
+ max-width: 90%;
+ }
+}
+</style>
diff --git a/master/src/scss/_breakpoints.scss b/master/src/scss/_breakpoints.scss
new file mode 100644
index 0000000..fe2ccdb
--- /dev/null
+++ b/master/src/scss/_breakpoints.scss
@@ -0,0 +1,8 @@
+$breakpoints: (
+ "xs": 0,
+ "sm": 576px,
+ "md": 768px,
+ "lg": 992px,
+ "xl": 1200px,
+ "xxl": 1400px
+);
diff --git a/master/src/views/Home.vue b/master/src/views/Home.vue
index 180383f..88f65e8 100644
--- a/master/src/views/Home.vue
+++ b/master/src/views/Home.vue
@@ -3,22 +3,29 @@
<div id="title-container">
<span>Gymnasiearbete</span>
</div>
+ <!--
<div id="minion-list">
<Minion
name="Skyddsling 1"
ip="10.0.1.179"
/>
</div>
+ -->
+ <div id="map-container">
+ <G7Map />
+ </div>
</div>
</template>
<script lang="ts">
import { Options, Vue } from "vue-class-component";
import Minion from "@/components/MinionStatus.vue";
+import G7Map from "@/components/G7Map.vue";
@Options({
components: {
- Minion
+ Minion,
+ G7Map
}
})
export default class HomeView extends Vue {}
@@ -29,6 +36,7 @@ export default class HomeView extends Vue {}
display: flex;
justify-content: center;
margin-top: 2em;
+ margin-bottom: 7em;
span {
font-size: 2.5rem;
@@ -38,4 +46,8 @@ export default class HomeView extends Vue {}
#minion-list {
margin: 3em;
}
+
+#map-container {
+ margin-left: 3em;
+}
</style>