templates/default/header.html.twig line 1

  1. <header class="mainheader">
        <div class="ukgrid-m10f" uk-grid>
            <div class="uk-width-expand" title="OpenAPP">
                <a href="/" class="logo">
                    <svg viewBox="0 0 307 264" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path d="M158.484 5.4865C145.936 19.0687 140.421 31.8926 140.352 47.75C140.352 61.4012 144.213 70.2262 155.52 82.1537L161.863 88.9103L162.07 98.9074L162.276 108.973L160.415 107.595C158.898 106.56 158.484 105.733 158.484 103.734C158.484 99.5969 157.174 96.0806 154.555 93.1849C150.763 88.9793 147.798 87.7383 141.524 87.7383H136.215L136.56 92.3576C137.249 102.148 143.316 108.422 151.935 108.422C155.52 108.422 156.002 108.629 158.898 111.318L162.001 114.282L161.794 137.655L161.587 161.027L151.245 145.928C145.592 137.655 139.731 129.105 138.352 127.037C136.905 124.969 135.319 123.245 134.905 123.245C134.216 123.245 133.94 128.623 133.802 147.514L133.664 171.852H135.732H137.801L137.939 152.685L138.146 133.587L144.971 143.584C148.763 149.1 154.141 156.753 156.899 160.613L161.932 167.646V196.948V226.318H159.725C155.52 226.318 148.694 228.387 143.11 231.282C135.526 235.212 129.872 240.935 124.288 250.311C123.736 251.208 113.118 244.175 105.879 238.177C99.4672 232.868 98.7088 231.696 100.226 229.628C102.914 225.698 100.364 220.803 95.6063 220.803C93.6758 220.803 92.7106 221.285 91.6764 222.595C88.8496 226.249 89.608 227.766 98.1573 236.109C111.877 249.415 125.046 256.792 143.316 261.343C149.797 262.928 151.866 263.135 162.966 263.135C174.618 263.135 175.859 262.997 183.305 260.998C200.886 256.378 213.503 249.001 227.912 235.074L234.393 228.8L232.945 227.421C231.911 226.318 231.429 226.18 230.739 226.87C229.291 228.318 228.809 227.766 228.809 224.319C228.809 221.423 229.015 220.872 230.394 220.527C234.048 219.493 237.772 214.391 237.772 210.254C237.772 206.324 236.117 203.153 233.014 201.084C230.601 199.499 229.636 199.292 226.533 199.568C219.846 200.119 215.916 204.67 216.536 211.15C216.95 215.218 219.018 218.252 222.604 219.906L225.292 221.147L225.361 226.801V232.386L220.742 236.66C216.743 240.314 203.575 249.76 202.472 249.76C202.265 249.76 201.024 247.967 199.645 245.761C193.509 235.833 181.443 228.18 169.516 226.594L166.068 226.111L165.93 194.672C165.793 177.367 165.862 151.995 166.068 138.275L166.413 113.317L169.171 110.904C171.653 108.698 172.342 108.491 176.134 108.422C184.615 108.422 190.406 102.217 191.371 92.1508L191.785 87.8762L188.407 87.6004C180.754 86.842 174.273 90.0135 171.101 95.9428C170.205 97.5974 169.516 100.217 169.516 101.665C169.516 104.768 168.619 106.698 166.827 107.732C165.586 108.353 165.517 108.008 165.448 98.7695L165.31 89.1861L171.17 82.981C178.479 75.3281 181.995 69.9504 184.477 62.7111C186.2 57.6092 186.407 56.1613 186.407 47.75C186.407 36.7187 185.442 32.4441 180.892 23.2054C177.858 16.9314 170.481 6.72752 165.93 2.38397L163.517 0.10877L158.484 5.4865ZM173.101 16.8625C179.582 26.4459 182.822 36.5808 182.891 47.4053C182.96 55.5408 181.926 60.0912 178.685 66.8478C176.41 71.6051 167.447 82.9121 165.999 82.9121C165.655 82.9121 165.379 79.3269 165.379 74.5008V66.0894L169.654 61.7459C173.721 57.6781 173.859 57.3334 172.756 56.2303C171.653 55.1271 171.446 55.1961 168.826 57.7471L166.068 60.4359V55.7476V51.1283L169.998 46.9916C173.652 43.1306 173.859 42.7859 172.756 41.7517C171.653 40.6486 171.446 40.7176 168.964 43.1306C167.516 44.5096 166.137 45.6816 165.862 45.6816C165.586 45.6816 165.379 41.8207 165.379 37.0635V28.4453H163.655H161.932V37.2013V45.9574L159.312 43.4064C156.485 40.6486 155.589 40.3728 154.417 41.8207C153.727 42.5791 154.417 43.6133 157.795 47.1295L161.932 51.473V55.9545V60.4359L159.243 57.816C156.899 55.5408 156.347 55.334 155.106 55.9545C153.245 56.9887 153.727 57.9539 158.415 62.5732L161.932 65.9515V74.6387L161.863 83.2568L156.485 77.6033C147.936 68.5715 144.075 59.126 144.006 47.3363C144.006 34.1678 149.935 20.034 160.07 9.34744L163.655 5.55545L166.965 9.14061C168.757 11.14 171.515 14.5873 173.101 16.8625ZM147.936 92.4955C151.383 94.0812 154.072 97.8732 154.761 102.01L155.244 104.975H152.693C146.419 104.975 141.455 100.493 140.214 93.7365L139.731 91.1855H142.351C143.868 91.1855 146.35 91.806 147.936 92.4955ZM187.441 93.2539C187.441 94.426 186.821 96.4943 186.131 97.9422C183.718 102.562 180.064 104.975 175.307 104.975C173.17 104.975 172.963 104.768 172.963 102.975C172.963 96.7701 178.479 91.2545 184.89 91.1855C187.304 91.1855 187.441 91.3234 187.441 93.2539ZM231.704 204.876C233.635 206.6 233.98 207.358 233.98 209.978C233.98 212.322 233.566 213.563 232.325 214.873C229.705 217.631 228.809 217.218 228.809 213.219C228.809 209.978 228.671 209.771 227.085 209.771C225.499 209.771 225.361 209.978 225.361 213.219C225.361 217.149 224.465 217.631 221.983 215.011C219.777 212.667 219.432 209.22 221.225 206.462C223.707 202.394 228.188 201.774 231.704 204.876ZM97.6746 226.111C97.8815 227.628 95.7442 228.869 94.3653 228.042C93.5379 227.559 93.469 225.422 94.1584 224.664C95.1926 223.698 97.4678 224.595 97.6746 226.111ZM161.932 244.727V259.619L155.244 259.205C151.521 258.929 147.315 258.378 145.936 258.033L143.316 257.275V246.244V235.212L147.108 233.489C149.177 232.523 152.762 231.351 155.175 230.8C162.621 229.214 161.932 227.697 161.932 244.727ZM174.342 231.627C176.41 232.179 179.237 233.282 180.685 233.971L183.305 235.281V246.244V257.137L179.375 257.964C177.169 258.378 173.239 258.929 170.55 259.136L165.724 259.55L165.793 245.209C165.862 237.281 165.93 230.593 165.999 230.317C166.068 229.697 169.102 230.179 174.342 231.627ZM139.869 247.278V256.516L137.318 255.827C135.939 255.482 133.113 254.379 131.044 253.483L127.39 251.897L129.596 248.588C132.216 244.796 138.421 238.039 139.249 238.039C139.593 238.039 139.869 242.176 139.869 247.278ZM192.75 243.141C194.956 245.554 197.232 248.381 197.783 249.415C198.955 251.552 198.68 251.759 193.302 253.828C186.063 256.516 186.752 257.275 186.821 247.416C186.821 240.59 187.028 238.728 187.786 238.728C188.269 238.728 190.544 240.728 192.75 243.141Z"/>
                        <path d="M111.602 19.1377C110.016 20.7924 110.016 20.8613 111.257 22.2402C112.705 23.8949 114.566 24.0328 115.738 22.5849C116.841 21.275 116.359 19.4824 114.635 18.3793C113.394 17.483 113.049 17.6209 111.602 19.1377Z"/>
                        <path d="M89.7459 32.3062C89.539 32.8578 89.8148 33.823 90.3664 34.3746C91.2627 35.2709 91.4695 35.2709 92.2279 34.3746C92.7105 33.7541 92.9863 32.7889 92.7105 32.2373C92.2279 30.8584 90.2974 30.9273 89.7459 32.3062Z"/>
                        <path d="M208.056 33.6851C207.298 34.6503 207.367 34.9261 208.47 35.7535C209.366 36.4429 209.986 36.5119 210.676 35.9603C211.917 34.9261 211.779 33.4783 210.469 32.9956C209.021 32.4441 209.09 32.4441 208.056 33.6851Z"/>
                        <path d="M117.186 41.5448C113.187 43.7511 108.016 47.7499 105.603 50.5077C104.018 52.2314 104.018 52.2314 105.397 53.6103C106.775 54.9202 106.775 54.9202 108.637 52.7829C111.257 49.8872 116.152 46.1642 119.737 44.3716C122.702 42.8548 122.978 42.5101 122.219 40.5796C121.668 39.1318 121.53 39.1318 117.186 41.5448Z"/>
                        <path d="M63.202 50.301C53.8943 59.6776 51.6191 65.4 53.9633 73.5356C56.9969 84.0153 68.4418 88.9793 77.7494 83.8774C83.8855 80.568 86.7812 75.535 86.7812 68.2957C86.7812 61.8838 84.575 57.816 76.991 50.0252C73.5437 46.509 70.5102 43.6133 70.2344 43.6133C70.0275 43.6133 66.8561 46.6469 63.202 50.301ZM75.5432 54.093C78.301 56.8508 81.1277 60.5049 81.8861 62.2285C84.2992 67.6063 83.4029 73.9492 79.6799 77.9481C77.8873 79.8785 73.0611 82.4985 72.4406 81.8779C72.2338 81.6711 72.0959 80.1543 72.2338 78.5686C72.3717 76.2244 72.9922 75.1213 75.4742 72.5703C78.7146 69.261 78.9904 68.5026 77.6805 67.1926C77.06 66.5721 76.3705 66.7789 74.6469 68.0889C73.4059 69.0541 72.2338 69.8125 72.0959 69.8125C71.8891 69.8125 71.8201 68.1578 71.8891 66.1584C71.958 62.7801 71.8891 62.5733 70.0965 62.3664C68.3039 62.1596 68.235 62.2285 68.0281 66.0205L67.8213 69.9504L65.8908 68.4336C64.0982 66.9858 63.8225 66.9858 62.7883 68.0199C61.7541 69.0541 61.892 69.3988 64.9256 72.4324C67.8902 75.3971 68.166 76.0176 68.166 78.9822C68.166 80.7748 67.9592 82.2227 67.7523 82.2227C66.0287 82.2227 60.5131 78.2238 58.9963 75.8108C56.6521 72.2256 56.4453 66.2274 58.5137 61.677C59.8236 58.7813 68.5797 49.1289 69.9586 49.1289C70.3033 49.1289 72.8543 51.4041 75.5432 54.093Z"/>
                        <path d="M228.74 62.0217C220.811 69.8814 214.33 76.6381 214.33 77.1207C214.33 77.5344 214.813 78.2927 215.433 78.7754C216.329 79.6027 217.295 78.9133 222.121 74.0871C229.636 66.641 233.635 64.7795 242.46 64.4347C247.769 64.2279 249.768 64.4347 253.836 65.7447C258.317 67.1926 259.42 67.951 265.143 73.4666C270.521 78.7064 271.693 79.5338 272.589 78.7754C273.14 78.2927 273.623 77.6033 273.623 77.2586C273.623 76.1554 245.149 47.75 244.046 47.75C243.563 47.75 236.668 54.1619 228.74 62.0217ZM248.251 56.506C250.457 58.7123 252.25 60.7117 252.25 60.9185C252.25 61.1943 251.216 61.1254 250.044 60.7806C247.079 59.9533 240.116 59.9533 237.082 60.8496C234.738 61.539 234.807 61.4701 239.15 57.0576C241.563 54.5756 243.77 52.5761 243.908 52.5761C244.114 52.5761 246.045 54.3687 248.251 56.506Z"/>
                        <path d="M203.781 55.1272C202.127 56.7129 204.609 58.9191 206.401 57.4023C207.229 56.7129 207.298 56.2992 206.677 55.6098C205.85 54.5756 204.54 54.3688 203.781 55.1272Z"/>
                        <path d="M105.603 78.9132C102.294 80.499 102.156 86.704 105.396 88.4277C106.706 89.1171 106.775 89.7376 106.775 105.664V122.142L100.432 122.349L94.0205 122.556L93.8137 147.169L93.6758 171.852H107.81H121.943V170.128V168.404H109.878H97.8125V158.407V148.41H108.844H119.875V146.686V144.963H108.844H97.8125V135.655V126.348H109.878H121.943V124.279V122.211H116.083H110.223V105.871V89.5308L111.946 88.0829C112.912 87.3245 113.877 85.7388 114.084 84.4978C114.428 82.6363 114.153 81.9468 112.429 80.1542C110.223 78.0169 108.223 77.6033 105.603 78.9132ZM110.085 82.3605C111.188 83.4636 111.119 83.9462 109.809 85.2562C108.982 86.0835 108.43 86.1525 107.396 85.6699C106.706 85.2562 106.086 84.5667 106.086 84.0841C106.086 82.981 107.465 81.5331 108.499 81.5331C108.913 81.5331 109.602 81.8779 110.085 82.3605Z"/>
                        <path d="M38.6574 93.6675C36.7959 94.9775 36.727 96.1496 38.4506 97.6664C39.4848 98.6316 40.1053 98.7005 41.1395 98.149C43.2078 97.0459 43.4146 95.598 41.691 94.0123C40.3121 92.7023 40.0363 92.7023 38.6574 93.6675Z"/>
                        <path d="M214.261 97.8042C213.503 98.7695 213.572 99.0453 214.675 99.8726C215.778 100.7 216.123 100.7 217.019 99.8726C217.846 99.0453 217.846 98.6316 217.088 97.8042C215.985 96.4253 215.433 96.4253 214.261 97.8042Z"/>
                        <path d="M241.839 97.8042C241.081 98.7695 241.15 99.0453 242.253 99.8726C243.356 100.7 243.701 100.7 244.597 99.8726C245.424 99.0453 245.424 98.6316 244.666 97.8042C243.563 96.4253 243.011 96.4253 241.839 97.8042Z"/>
                        <path d="M270.383 97.8043C270.176 98.3558 270.452 99.3211 271.003 99.8726C271.899 100.769 272.106 100.769 272.865 99.8726C273.347 99.2521 273.623 98.2869 273.347 97.7353C272.865 96.3564 270.934 96.4254 270.383 97.8043Z"/>
                        <path d="M68.6487 98.5627C67.8903 99.2521 68.0971 101.389 68.9244 101.941C69.3381 102.148 70.1655 101.872 70.786 101.32C71.6823 100.424 71.6823 100.011 70.9239 99.1832C69.9586 98.0111 69.3381 97.8043 68.6487 98.5627Z"/>
                        <path d="M12.0445 123.59C7.70098 125.313 4.32266 128.485 2.2543 132.897C0.7375 136.069 0.599609 137.241 0.599609 147.445C0.599609 157.925 0.668555 158.683 2.39219 162.061C8.0457 173.437 24.1789 175.368 32.5213 165.646C36.5201 160.889 37.2785 157.58 37.0027 145.79C36.7959 136.069 36.727 135.517 34.7965 132.001C30.1082 123.659 20.8006 120.211 12.0445 123.59ZM26.9367 128.83C32.1766 132.484 32.935 134.828 33.0729 146.755C33.1418 154.477 32.935 157.649 32.1766 159.441C28.1088 168.887 15.8365 171.3 8.59727 164.061C4.59844 159.993 3.84004 156.959 4.11582 145.514C4.3916 136.62 4.46055 136.069 6.45996 132.897C9.42461 128.071 13.2855 126.141 19.3527 126.485C23.1447 126.692 24.5236 127.106 26.9367 128.83Z"/>
                        <path d="M188.82 145.997C183.305 159.097 178.754 170.197 178.616 170.817C178.479 171.507 178.961 171.852 180.202 171.852C181.65 171.852 182.202 171.3 183.029 169.232C183.649 167.853 185.028 164.612 186.2 161.992L188.338 157.373L199.369 157.511L210.469 157.718L213.296 164.612C215.847 170.679 216.398 171.507 217.984 171.714C219.018 171.852 219.846 171.645 219.846 171.3C219.846 170.61 215.364 159.51 206.746 139.102C203.23 130.76 200.196 123.521 200.058 123.038C199.852 122.625 199.507 122.211 199.231 122.211C199.024 122.211 194.336 132.897 188.82 145.997ZM204.057 142.274C206.332 147.721 208.401 152.616 208.608 153.029C208.883 153.719 206.815 153.926 199.576 153.926C194.336 153.926 190.199 153.65 190.199 153.305C190.199 152.616 197.37 135.31 198.611 133.035C198.955 132.346 199.369 131.863 199.576 132.001C199.714 132.139 201.713 136.758 204.057 142.274Z"/>
                        <path d="M49.5508 147.376V171.852H51.6191H53.6875V162.889V153.926H61.1336C70.717 153.926 73.268 153.167 77.1978 149.168C84.5061 141.86 83.0582 130.071 74.1643 124.969C70.648 122.969 70.4412 122.9 60.0994 122.9H49.5508V147.376ZM71.3375 127.658C76.3705 129.933 79.4041 136.276 77.8184 141.24C75.4742 148.341 72.7164 149.858 61.892 150.341L53.6875 150.685V138.482V126.348H61.1336C66.8561 126.348 69.1312 126.692 71.3375 127.658Z"/>
                        <path d="M230.808 124.417C230.67 125.313 230.532 136.207 230.532 148.755V171.507L232.463 171.714L234.324 171.92V162.958V153.926H242.115C249.079 153.926 250.251 153.719 253.491 152.133C257.972 149.927 260.248 147.238 261.558 142.55C263.212 136.827 261.627 131.036 257.283 126.899C253.767 123.521 251.147 122.9 240.598 122.9C231.222 122.9 231.015 122.9 230.808 124.417ZM251.836 127.727C257.904 130.622 260.454 139.034 256.938 144.273C254.112 148.341 252.043 149.375 245.907 149.789C242.873 149.996 239.012 149.996 237.358 149.858L234.324 149.651V137.999V126.348H241.701C247.631 126.348 249.63 126.623 251.836 127.727Z"/>
                        <path d="M275.002 147.376V171.852H276.726H278.449V162.889V153.926H286.585C293.962 153.926 295.065 153.788 298.305 152.133C300.305 151.168 302.718 149.237 303.752 147.927C308.647 141.516 307.682 131.725 301.753 126.692C297.823 123.314 295.823 122.9 284.999 122.9H275.002V147.376ZM295.134 127.037C298.305 127.933 302.373 132.346 302.994 135.655C303.959 140.964 302.235 145.17 297.754 148.203C295.686 149.651 294.651 149.789 286.998 149.789H278.449V138.068V126.348H285.551C289.412 126.348 293.686 126.692 295.134 127.037Z"/>
                        <path d="M126.907 193.225C125.666 193.983 124.701 194.879 124.701 195.293C124.701 195.707 119.53 195.982 110.154 195.982C100.984 195.982 94.5721 196.258 92.8484 196.81C89.5391 197.775 84.5061 202.05 83.334 204.945C82.5756 206.807 82.2309 207.014 79.1973 207.014C74.7158 207.014 71.6133 204.807 70.2344 200.809C69.6828 199.085 69.2002 197.637 69.2002 197.637C69.2002 197.568 68.5107 197.292 67.6834 197.085C66.2355 196.603 66.0977 196.81 66.0977 199.223C66.0977 202.877 69.2691 207.772 72.7164 209.427C74.3021 210.185 77.4047 210.875 80.3004 211.012L85.1955 211.288L85.6781 209.358C86.5055 206.117 89.2633 202.463 91.8143 201.291C95.3305 199.568 124.081 199.568 125.46 201.222C128.011 204.325 133.388 203.428 134.974 199.568C135.732 197.844 135.663 197.154 134.767 195.431C133.526 193.087 133.319 192.88 130.906 192.328C129.734 192.052 128.355 192.397 126.907 193.225ZM131.596 197.706C131.596 199.085 131.251 199.43 129.941 199.43C129.045 199.43 128.148 199.016 127.942 198.533C127.459 197.017 128.217 195.982 129.941 195.982C131.251 195.982 131.596 196.327 131.596 197.706Z"/>
                        <path d="M193.095 192.949C190.889 194.466 190.13 196.879 190.958 199.43C191.854 201.843 193.44 202.877 196.197 202.877C201.506 202.808 203.506 196.051 199.024 192.949C198.197 192.328 196.818 191.846 196.06 191.846C195.301 191.846 193.922 192.328 193.095 192.949ZM197.783 196.327C198.955 197.775 198.128 199.43 196.129 199.43C194.267 199.43 193.233 197.637 194.405 196.258C195.439 195.017 196.68 195.017 197.783 196.327Z"/>
                        <path d="M246.39 192.673C242.873 194.535 242.184 198.809 244.873 201.36C248.113 204.394 253.215 202.67 254.043 198.258C254.387 196.396 254.112 195.707 252.388 193.914C250.182 191.708 248.665 191.432 246.39 192.673ZM250.182 196.327C251.423 197.775 250.526 199.43 248.458 199.43C247.079 199.43 246.734 199.085 246.734 197.844C246.734 195.155 248.527 194.397 250.182 196.327Z"/>
                        <path d="M194.819 215.77C193.164 217.355 195.646 219.562 197.438 218.045C198.266 217.355 198.335 216.942 197.714 216.252C196.887 215.218 195.577 215.011 194.819 215.77Z"/>
                        <path d="M118.22 221.906C117.462 223.974 119.117 224.939 121.185 223.629C122.012 223.078 122.012 222.802 121.323 221.906C120.151 220.527 118.772 220.527 118.22 221.906Z"/>
                    </svg>
                </a>
                <div class="headert uk-display-inline-block">{% if devEnv %}<strong style="font-weight: 900"> [DEV]</strong>{% endif %}</div>
    
            </div>
            <div class="header-bgw uk-text-right">
                {% if is_granted('ROLE_USER') %}
                    <button class="button-burger" id="burger-menu-button" aria-expanded="false">
                        <svg class="hamburger" viewBox="0 0 100 100">
                            <line class="line top" x1="90" x2="10" y1="40" y2="40" stroke-width="10" stroke-linecap="round" stroke-dasharray="80" stroke-dashoffset="0">
                            </line>
                            <line class="line bottom" x1="10" x2="90" y1="60" y2="60" stroke-width="10" stroke-linecap="round" stroke-dasharray="80" stroke-dashoffset="0">
                            </line>
                        </svg>
                    </button>
                {% endif %}
            </div>
        </div>
    
        {% if is_granted('ROLE_USER') %}
            <nav id="burger-menu">
                <ul uk-scrollspy="target: > li; cls: uk-animation-slide-left-medium; delay: 100; repeat: true">
                    {% if is_granted('ROLE_ADMIN') %}<li><a href="{{ path('admin_index') }}">{{ 'admin.title'|trans }}</a></li>{% endif %}
                    {% if is_granted('ROLE_ADMIN') %}
                        <li><a href="{{ path('app_recipe_index_public') }}">{{ 'Recipes.title'|trans }}</a></li>
                    {% else %}
                        <li><a href="{{ path('app_recipe_index_public') }}">{{ 'Recipes.title'|trans }}</a></li>
                    {% endif %}
                    <li><a href="{{ path('app_coloring_category_index') }}">{{ 'coloring.title'|trans }}</a></li>
                    <li><a href="{{ path('app_voucher_voucher_index') }}">{{ 'vouchers.title'|trans }}</a></li>
                    <li><a href="{{ path('app_trip_planner_trip_index') }}">{{ 'TripPlanner.title'|trans }}</a></li>
                    <li><a href="{{ path('app_stock_product_index', {'id': app.user.id}) }}">{{ 'stock.title'|trans }}</a></li>
                    <li><a href="{{ path('app_todo_category_index', {'id': app.user.id}) }}">{{ 'Todo.title'|trans }}</a></li>
                    <li><a href="{{ path('all_tools') }}">{{ 'Tools.title'|trans }}</a></li>
    {#                {% if is_granted('ROLE_ADMIN') %}<li><a href="{{ path('app_store_product_index') }}">{{ 'StoreProducts.title'|trans }}</a></li>{% endif %}#}
                    <li><br><a href="{{ path('app_logout') }}" class="red">{{ 'logout'|trans }}</a></li>
                    {% if app.user %}<li><span class="userl">Connecté avec {{ app.user.email }}</span></li>{% endif %}
                </ul>
            </nav>
        {% endif %}
    </header>