index.html 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title></title>
  7. <meta name="description" content="">
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <link rel="stylesheet" href="styles.css">
  10. <script type="text/javascript" src="https://unpkg.com/external-svg-loader@latest/svg-loader.min.js" async></script>
  11. </head>
  12. <body>
  13. <div id="content">
  14. <!-- deux svg pour pouvoir utiliser mix blend mode avec les histoires de stacking context -->
  15. <svg id="stroke" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" xmlns="http://www.w3.org/2000/svg" viewBox="-8697.766 17429.18 677.183 706.257">
  16. <path rx="0" ry="0" d="M-8219.035,17632.029L-8107.295,17867.024L-8229.636,17969.717L-8291.783,18096.894L-8492.425,17938.383L-8596.599,17808.682L-8580.356,17588.946L-8468.630,17500.749L-8219.035,17632.029Z">
  17. </path>
  18. </svg>
  19. <svg id="fill" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" xmlns="http://www.w3.org/2000/svg" viewBox="-8697.766 17429.18 677.183 706.257">
  20. <path rx="0" ry="0" d="M-8219.035,17632.029L-8107.295,17867.024L-8229.636,17969.717L-8291.783,18096.894L-8492.425,17938.383L-8596.599,17808.682L-8580.356,17588.946L-8468.630,17500.749L-8219.035,17632.029Z">
  21. </path>
  22. </svg>
  23. </div>
  24. <canvas></canvas>
  25. <div id="buttons_container">
  26. <!-- svg pictos loadés avec svgloader pour pouvoir les manipuler avec css -->
  27. <div class="mode active">
  28. <svg data-src="assets/pictos/terrain-de-vie.svg" data-cache="disabled"></svg>
  29. <div class="mode_container">
  30. <p>Terrain de vie</p>
  31. </div>
  32. </div>
  33. <div class="mode">
  34. <svg data-src="assets/pictos/proximite.svg" data-cache="disabled"></svg>
  35. <div class="mode_container">
  36. <p>Proximité</p>
  37. </div>
  38. </div>
  39. <div class="mode">
  40. <svg data-src="assets/pictos/superposition.svg" data-cache="disabled"></svg>
  41. <div class="mode_container">
  42. <p>Superposition</p>
  43. </div>
  44. </div>
  45. <div class="mode">
  46. <svg data-src="assets/pictos/puissance-d-agir.svg" data-cache="disabled"></svg>
  47. <div class="mode_container">
  48. <p>Puissance d'agir</p>
  49. </div>
  50. </div>
  51. <div class="mode">
  52. <svg data-src="assets/pictos/action.svg" data-cache="disabled"></svg>
  53. <div class="mode_container">
  54. <p>Action</p>
  55. </div>
  56. </div>
  57. <div class="mode">
  58. <svg data-src="assets/pictos/doleance.svg" data-cache="disabled"></svg>
  59. <div class="mode_container">
  60. <p>Doléancer</p>
  61. </div>
  62. </div>
  63. </div>
  64. <div id="global_nav">
  65. <h1><span>Atlas</span> des cartes vivantes</h1>
  66. <div id="menu">
  67. <div id="search">
  68. <input type="search" id="site-search" name="q" value="rechercher">
  69. <button><svg data-src="assets/pictos/search.svg" data-cache="disabled"></svg></button>
  70. </div>
  71. <div class="menu_item" id="about">
  72. <svg data-src="assets/pictos/info.svg" data-cache="disabled"></svg>
  73. <p>informations</p>
  74. </div>
  75. <div class="menu_item" id="login">
  76. <svg data-src="assets/pictos/login.svg" data-cache="disabled"></svg>
  77. <p>connexion</p>
  78. </div>
  79. </div>
  80. </div>
  81. <script src="background.js" defer></script>
  82. </body>
  83. </html>