const ownerId = "nearcon23.near"; const Navbar = styled.div` z-index: 2; display: flex; flex-direction: row; align-items: center; justify-content: space-between; padding: 0.75rem 0 2.5rem 0; flex: none; order: 0; align-self: stretch; flex-grow: 0; position: sticky; top: 0; margin-bottom: 0.75rem; max-height: 2.5em; `; const LogoArea = styled.a` display: block; width: 14em; padding: 0px; gap: 0.7em; font-style: normal; font-weight: 700; font-size: 1em; line-height: 1em; color: #11181c; transform: translateY(0.675em); &:hover { text-decoration: none; color: #11181c; } `; const ActionArea = styled.div` display: flex; flex-direction: row; justify-content: flex-end; align-items: flex-start; padding: 0px; gap: 1em; `; const logo = ( <LogoArea> <svg width="254" height="53" viewBox="0 0 254 53" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M46.4834 42.8092V17.8373H58.684C61.8233 17.8373 64.1778 18.4319 65.7474 19.621C67.341 20.8101 68.1376 22.3798 68.1376 24.33C68.1376 25.638 67.8165 26.7796 67.1744 27.7547C66.5323 28.706 65.6522 29.4433 64.5345 29.9665C63.4168 30.4897 62.1326 30.7513 60.6817 30.7513L61.3595 29.2887C62.9292 29.2887 64.3205 29.5503 65.5334 30.0735C66.7463 30.5729 67.6856 31.3221 68.3517 32.321C69.0412 33.3199 69.3862 34.5447 69.3862 35.9954C69.3862 38.1359 68.5418 39.8125 66.8533 41.0255C65.1649 42.2145 62.6795 42.8092 59.3974 42.8092H46.4834ZM52.2269 38.4569H58.9694C60.4677 38.4569 61.5975 38.219 62.3584 37.7435C63.1432 37.244 63.5356 36.4592 63.5356 35.389C63.5356 34.3425 63.1432 33.5696 62.3584 33.0701C61.5975 32.5469 60.4677 32.2853 58.9694 32.2853H51.7988V28.0758H57.9705C59.3735 28.0758 60.4438 27.8379 61.1812 27.3623C61.9421 26.8628 62.3227 26.1137 62.3227 25.1148C62.3227 24.1397 61.9421 23.4143 61.1812 22.9387C60.4438 22.4392 59.3735 22.1895 57.9705 22.1895H52.2269V38.4569ZM84.2855 43.2373C82.3117 43.2373 80.4802 42.9162 78.7917 42.2741C77.1268 41.6319 75.6763 40.7283 74.4394 39.5628C73.2265 38.3974 72.2751 37.03 71.5855 35.4603C70.9195 33.8906 70.5866 32.1783 70.5866 30.3232C70.5866 28.4682 70.9195 26.7558 71.5855 25.1861C72.2751 23.6165 73.2383 22.249 74.4751 21.0836C75.7119 19.9182 77.1625 19.0145 78.8274 18.3724C80.4923 17.7302 82.2995 17.4092 84.2498 17.4092C86.2237 17.4092 88.0313 17.7302 89.6723 18.3724C91.3372 19.0145 92.776 19.9182 93.9889 21.0836C95.2257 22.249 96.1889 23.6165 96.8785 25.1861C97.5681 26.732 97.913 28.4444 97.913 30.3232C97.913 32.1783 97.5681 33.9025 96.8785 35.496C96.1889 37.0656 95.2257 38.433 93.9889 39.5985C92.776 40.7401 91.3372 41.6319 89.6723 42.2741C88.0313 42.9162 86.2358 43.2373 84.2855 43.2373ZM84.2498 38.3142C85.3675 38.3142 86.3903 38.1241 87.3178 37.7435C88.2693 37.3628 89.1015 36.8159 89.815 36.1024C90.5285 35.389 91.0754 34.5447 91.456 33.5696C91.8602 32.5945 92.0625 31.5124 92.0625 30.3232C92.0625 29.1341 91.8602 28.052 91.456 27.0769C91.0754 26.1018 90.5285 25.2575 89.815 24.544C89.1254 23.8305 88.3049 23.2835 87.3535 22.903C86.4021 22.5225 85.3675 22.3322 84.2498 22.3322C83.1322 22.3322 82.0976 22.5225 81.1462 22.903C80.2187 23.2835 79.3982 23.8305 78.6847 24.544C77.9712 25.2575 77.4122 26.1018 77.008 27.0769C76.6273 28.052 76.4372 29.1341 76.4372 30.3232C76.4372 31.4886 76.6273 32.5707 77.008 33.5696C77.4122 34.5447 77.9594 35.389 78.649 36.1024C79.3625 36.8159 80.1948 37.3628 81.1462 37.7435C82.0976 38.1241 83.1322 38.3142 84.2498 38.3142ZM108.856 43.2373C106.858 43.2373 104.944 42.9758 103.113 42.4524C101.281 41.9056 99.8066 41.2038 98.689 40.3477L100.651 35.9954C101.721 36.7563 102.982 37.3867 104.432 37.8861C105.907 38.3617 107.393 38.5996 108.892 38.5996C110.033 38.5996 110.949 38.4926 111.639 38.2786C112.352 38.0406 112.876 37.7195 113.208 37.3154C113.541 36.9112 113.708 36.4474 113.708 35.9241C113.708 35.2581 113.446 34.7349 112.923 34.3544C112.4 33.9501 111.71 33.629 110.854 33.3912C109.998 33.1296 109.046 32.8918 108 32.6777C106.977 32.4399 105.943 32.1545 104.896 31.8215C103.873 31.4886 102.934 31.0605 102.078 30.5373C101.222 30.014 100.52 29.3243 99.9732 28.4682C99.4499 27.612 99.1884 26.518 99.1884 25.1861C99.1884 23.7592 99.569 22.463 100.33 21.2977C101.115 20.1085 102.28 19.1691 103.826 18.4794C105.396 17.7659 107.358 17.4092 109.712 17.4092C111.282 17.4092 112.828 17.5994 114.35 17.98C115.872 18.3367 117.216 18.8837 118.381 19.621L116.597 24.0089C115.432 23.343 114.267 22.8554 113.101 22.5463C111.936 22.2133 110.794 22.0468 109.677 22.0468C108.559 22.0468 107.643 22.1776 106.93 22.4392C106.216 22.7008 105.705 23.0457 105.396 23.4738C105.086 23.8781 104.932 24.3538 104.932 24.9008C104.932 25.5429 105.193 26.0661 105.717 26.4704C106.24 26.851 106.93 27.1601 107.786 27.3979C108.642 27.6358 109.581 27.8736 110.604 28.1114C111.65 28.3493 112.685 28.6227 113.708 28.9319C114.754 29.2411 115.706 29.6573 116.562 30.1805C117.418 30.7038 118.107 31.3935 118.631 32.2496C119.178 33.1058 119.451 34.1879 119.451 35.496C119.451 36.899 119.059 38.1833 118.274 39.3488C117.489 40.5143 116.312 41.4536 114.742 42.167C113.197 42.8805 111.234 43.2373 108.856 43.2373Z" fill="#6393F8" /> <path d="M147.417 17.8373H153.196V42.8092H147.417V17.8373ZM136.072 42.8092H130.293V17.8373H136.072V42.8092ZM147.845 32.5707H135.644V27.6833H147.845V32.5707ZM154.216 42.8092L165.347 17.8373H171.055L182.221 42.8092H176.156L167.023 20.7626H169.307L160.138 42.8092H154.216ZM159.782 37.4581L161.316 33.0701H174.158L175.728 37.4581H159.782ZM194.809 43.2373C192.882 43.2373 191.087 42.928 189.422 42.3097C187.781 41.6676 186.354 40.764 185.141 39.5985C183.928 38.433 182.977 37.0656 182.287 35.496C181.621 33.9263 181.288 32.2021 181.288 30.3232C181.288 28.4444 181.621 26.7201 182.287 25.1505C182.977 23.5808 183.928 22.2133 185.141 21.0479C186.378 19.8826 187.816 18.9907 189.457 18.3724C191.099 17.7302 192.894 17.4092 194.844 17.4092C197.009 17.4092 198.959 17.7897 200.695 18.5508C202.455 19.288 203.929 20.382 205.118 21.8328L201.408 25.2575C200.552 24.2824 199.601 23.557 198.554 23.0814C197.508 22.5819 196.366 22.3322 195.13 22.3322C193.965 22.3322 192.894 22.5225 191.919 22.903C190.944 23.2835 190.1 23.8305 189.386 24.544C188.673 25.2575 188.114 26.1018 187.709 27.0769C187.329 28.052 187.139 29.1341 187.139 30.3232C187.139 31.5124 187.329 32.5945 187.709 33.5696C188.114 34.5447 188.673 35.389 189.386 36.1024C190.1 36.8159 190.944 37.3628 191.919 37.7435C192.894 38.1241 193.965 38.3142 195.13 38.3142C196.366 38.3142 197.508 38.0763 198.554 37.6008C199.601 37.1013 200.552 36.3522 201.408 35.3533L205.118 38.778C203.929 40.2289 202.455 41.3348 200.695 42.0957C198.959 42.8566 196.997 43.2373 194.809 43.2373ZM212.589 37.1013L212.268 30.4302L224.218 17.8373H230.64L219.866 29.4314L216.655 32.8561L212.589 37.1013ZM207.416 42.8092V17.8373H213.159V42.8092H207.416ZM224.504 42.8092L215.621 31.9286L219.402 27.826L231.246 42.8092H224.504ZM239.9 43.2373C237.903 43.2373 235.988 42.9758 234.157 42.4524C232.325 41.9056 230.851 41.2038 229.733 40.3477L231.695 35.9954C232.766 36.7563 234.026 37.3867 235.477 37.8861C236.951 38.3617 238.438 38.5996 239.936 38.5996C241.078 38.5996 241.993 38.4926 242.683 38.2786C243.396 38.0406 243.919 37.7195 244.253 37.3154C244.585 36.9112 244.752 36.4474 244.752 35.9241C244.752 35.2581 244.49 34.7349 243.967 34.3544C243.444 33.9501 242.754 33.629 241.898 33.3912C241.042 33.1296 240.091 32.8918 239.044 32.6777C238.021 32.4399 236.987 32.1545 235.941 31.8215C234.918 31.4886 233.978 31.0605 233.122 30.5373C232.266 30.014 231.564 29.3243 231.018 28.4682C230.494 27.612 230.233 26.518 230.233 25.1861C230.233 23.7592 230.613 22.463 231.374 21.2977C232.159 20.1085 233.324 19.1691 234.87 18.4794C236.44 17.7659 238.402 17.4092 240.757 17.4092C242.326 17.4092 243.872 17.5994 245.394 17.98C246.916 18.3367 248.26 18.8837 249.425 19.621L247.642 24.0089C246.476 23.343 245.311 22.8554 244.146 22.5463C242.98 22.2133 241.839 22.0468 240.721 22.0468C239.603 22.0468 238.687 22.1776 237.974 22.4392C237.26 22.7008 236.749 23.0457 236.44 23.4738C236.131 23.8781 235.976 24.3538 235.976 24.9008C235.976 25.5429 236.238 26.0661 236.761 26.4704C237.284 26.851 237.974 27.1601 238.83 27.3979C239.686 27.6358 240.626 27.8736 241.648 28.1114C242.695 28.3493 243.729 28.6227 244.752 28.9319C245.798 29.2411 246.75 29.6573 247.606 30.1805C248.462 30.7038 249.152 31.3935 249.675 32.2496C250.222 33.1058 250.496 34.1879 250.496 35.496C250.496 36.899 250.103 38.1833 249.318 39.3488C248.534 40.5143 247.356 41.4536 245.787 42.167C244.241 42.8805 242.278 43.2373 239.9 43.2373Z" fill="black" /> <path d="M34.436 21.7461C33.3194 21.7461 32.2826 22.3221 31.6977 23.269L25.3957 32.5781C25.1904 32.8849 25.2737 33.2985 25.5821 33.5028C25.832 33.6686 26.1627 33.6481 26.3904 33.4532L32.5936 28.1C32.6966 28.0077 32.8555 28.0171 32.9483 28.1197C32.9904 28.1667 33.0127 28.2274 33.0127 28.2897V45.0502C33.0127 45.1887 32.9002 45.2996 32.7611 45.2996C32.6863 45.2996 32.6159 45.2671 32.5686 45.2101L13.8173 22.8776C13.2066 22.1606 12.3099 21.7469 11.3659 21.7461H10.7106C8.93687 21.7461 7.49902 23.1767 7.49902 24.9414V48.547C7.49902 50.3118 8.93687 51.7424 10.7106 51.7424C11.8272 51.7424 12.8639 51.1666 13.4488 50.2194L19.7508 40.9103C19.9561 40.6035 19.8728 40.19 19.5644 39.9856C19.3145 39.82 18.9838 39.8404 18.7562 40.0352L12.553 45.3884C12.4499 45.4808 12.291 45.4715 12.1982 45.3688C12.1561 45.3217 12.1338 45.2611 12.1347 45.1986V28.4342C12.1347 28.2957 12.2472 28.1846 12.3863 28.1846C12.4602 28.1846 12.5315 28.2171 12.5787 28.2744L31.3275 50.6108C31.9382 51.3278 32.8349 51.7416 33.7789 51.7424H34.4343C36.208 51.7434 37.6467 50.3136 37.6485 48.5488V24.9414C37.6485 23.1767 36.2105 21.7461 34.4368 21.7461H34.436Z" fill="black" /> <path d="M17.7939 28.4892C17.7939 28.4892 20.9545 28.8025 25.4865 28.5284C28.2244 28.3642 31.8831 25.187 33.8488 23.6793C35.8171 22.1682 39.1344 19.3571 37.6304 18.7388C36.1264 18.1208 32.1308 17.1313 32.1308 17.1313C32.1308 17.1313 37.0386 20.7162 17.7939 28.4892Z" fill="white" stroke="black" stroke-width="7.65767" stroke-linejoin="round" /> <path d="M34 17.6294C34.8445 19.6528 29.4757 23.8201 22.0074 26.9369C14.5397 30.0535 7.80256 30.9387 6.95801 28.915C8.04414 27.136 7.42241 26.2791 7.42241 26.2791L31.8629 16.0791C31.8629 16.0791 32.0427 17.1206 34 17.6294Z" fill="white" stroke="black" stroke-width="7.65767" stroke-linejoin="round" /> <path d="M5.88614 18.416C5.90062 17.6 6.07767 14.7287 7.75892 12.0578C10.8052 7.21204 16.4004 5.55883 20.3103 6.07264C22.9535 6.42232 25.0841 7.40525 27.222 9.26163C27.7439 9.71522 28.7812 10.7149 29.8716 12.3094C30.8167 13.6926 31.2454 14.6347 31.9575 16.1992C32.5104 17.524 30.4921 19.7694 26.4026 22.1594C20.6782 25.5018 13.0561 27.8546 9.38021 27.4141C8.32843 27.2882 7.71305 26.9442 7.50674 26.445C6.71421 24.3702 5.82139 22.0177 5.88614 18.416Z" fill="white" /> <path d="M5.88614 18.416C5.90062 17.6 6.07767 14.7287 7.75892 12.0578C10.8052 7.21204 16.4004 5.55883 20.3103 6.07264C22.9535 6.42232 25.0841 7.40525 27.222 9.26163C27.7439 9.71522 28.7812 10.7149 29.8716 12.3094C30.8167 13.6926 31.2454 14.6347 31.9575 16.1992C32.5104 17.524 30.4921 19.7694 26.4026 22.1594C20.6782 25.5018 13.0561 27.8546 9.38021 27.4141C8.32843 27.2882 7.71305 26.9442 7.50674 26.445C6.71421 24.3702 5.82139 22.0177 5.88614 18.416Z" fill="#74FC00" stroke="black" stroke-width="7.65767" stroke-linejoin="round" /> <path d="M17.667 28.4715C17.667 28.4715 20.8273 28.7822 25.3594 28.5106C28.0957 28.3451 31.7546 25.1697 33.72 23.6598C35.689 22.1509 39.0071 19.3395 37.502 18.719C35.9979 18.1011 32.0044 17.1123 32.0044 17.1123C32.0044 17.1123 36.9108 20.698 17.667 28.4715Z" fill="#FFBD34" stroke="#FFBD34" stroke-width="2.55261" stroke-linejoin="round" /> <path d="M33.873 17.6115C34.7175 19.6351 29.35 23.8002 21.8808 26.9174C14.4134 30.0338 7.67575 30.9212 6.83105 28.8972C7.91826 27.1179 7.29468 26.2622 7.29468 26.2622L31.7369 16.0615C31.7369 16.0615 32.0545 17.2314 34.0106 17.7405L33.873 17.6115Z" fill="#FFBD34" stroke="#FFBD34" stroke-width="2.55261" stroke-linejoin="round" /> <path d="M5.75805 18.3973C5.77264 17.5819 5.95073 14.7113 7.6307 12.039C10.6765 7.19358 16.2716 5.54119 20.1822 6.05443C22.8268 6.40361 24.9565 7.38672 27.0926 9.24159C27.6151 9.69494 28.6536 10.6942 29.7427 12.2902C30.6864 13.6728 31.1158 14.6156 31.8279 16.1778C32.3808 17.5028 30.3623 19.7506 26.2712 22.1388C20.5479 25.4832 12.9255 27.8336 9.25048 27.3927C8.19867 27.2669 7.58321 26.925 7.37627 26.4239C6.58783 24.3513 5.69487 21.9985 5.75805 18.3973Z" fill="#FFD520" /> <path d="M5.75805 18.3973C5.77264 17.5819 5.95073 14.7113 7.6307 12.039C10.6765 7.19358 16.2716 5.54119 20.1822 6.05443C22.8268 6.40361 24.9565 7.38672 27.0926 9.24159C27.6151 9.69494 28.6536 10.6942 29.7427 12.2902C30.6864 13.6728 31.1158 14.6156 31.8279 16.1778C32.3808 17.5028 30.3623 19.7506 26.2712 22.1388C20.5479 25.4832 12.9255 27.8336 9.25048 27.3927C8.19867 27.2669 7.58321 26.925 7.37627 26.4239C6.58783 24.3513 5.69487 21.9985 5.75805 18.3973Z" stroke="black" stroke-width="2.55261" stroke-linejoin="round" /> <path d="M5.75805 18.3973C5.77264 17.5819 5.95073 14.7113 7.6307 12.039C10.6765 7.19358 16.2716 5.54119 20.1822 6.05443C22.8268 6.40361 24.9565 7.38672 27.0926 9.24159C27.6151 9.69494 28.6536 10.6942 29.7427 12.2902C30.6864 13.6728 31.1158 14.6156 31.8279 16.1778C32.3808 17.5028 30.3623 19.7506 26.2712 22.1388C20.5479 25.4832 12.9255 27.8336 9.25048 27.3927C8.19867 27.2669 7.58321 26.925 7.37627 26.4239C6.58783 24.3513 5.69487 21.9985 5.75805 18.3973Z" fill="url(#paint0_radial_114_277)" stroke="#FAC44B" stroke-width="4.0315" stroke-linejoin="round" /> <path d="M8.00293 11.3469C14.6668 1.76702 28.8461 9.81291 31.7448 17.5699L32.7318 17.5581C29.2575 9.23456 15.1173 0.729455 8.00293 11.3469Z" fill="#CCCCCC" /> <path d="M33.7136 18.6157L32.731 17.5581L31.7441 17.5698L33.7136 18.6157Z" fill="#CCCCCC" /> <path d="M29.6974 20.2237C26.5532 12.6899 17.159 2.82833 10.1299 8.89089C17.6271 2.2923 29.5746 9.9985 32.7292 17.5573L33.7119 18.6151L30.6774 21.2801L29.6974 20.2237Z" fill="#FFD467" /> <path d="M29.6986 20.2228L30.6809 21.2809L28.0045 20.6937C25.1064 12.9359 14.6686 1.76733 8.00293 11.3453C15.118 0.7296 26.224 11.8974 29.6986 20.2228Z" fill="#CCCCCC" /> <path d="M29.6986 20.2228L30.6809 21.2809L28.0045 20.6937C25.1064 12.9359 14.6686 1.76733 8.00293 11.3453C15.118 0.7296 26.224 11.8974 29.6986 20.2228Z" fill="#FFBD34" /> <path d="M15.5531 20.4629L15.0293 21.7421L16.4102 25.4611L16.7016 22.8279L15.5531 20.4629Z" fill="#FFBD34" stroke="#FFBD34" stroke-width="2.55261" stroke-linecap="round" stroke-linejoin="round" /> <path d="M9.73819 22.3843L9.46289 23.0539L10.8449 26.7734L10.7044 24.3195L9.73819 22.3843Z" fill="black" /> <path d="M16.411 25.4607C16.411 25.4607 11.1975 26.9147 10.8452 26.7701C10.4931 26.6277 9.46289 23.0516 9.46289 23.0516L15.0296 21.7393L16.411 25.4607Z" fill="#FFD467" stroke="#FFD467" stroke-width="2.55261" stroke-linecap="round" stroke-linejoin="round" /> <path d="M9.46289 23.0545L9.98873 21.7754L15.5544 20.4634L15.0306 21.7426L9.46289 23.0545Z" fill="#F4B253" stroke="#F4B253" stroke-width="2.55261" stroke-linecap="round" stroke-linejoin="round" /> <defs> <radialGradient id="paint0_radial_114_277" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(21.6156 10.3234) rotate(157.347) scale(23.0785 23.0785)" > <stop offset="0.5" stop-color="#FFD046" /> <stop offset="1" stop-color="#F0A957" /> </radialGradient> </defs> </svg> </LogoArea> ); const Info = styled.div` display: flex; flex-direction: row; align-items: center; padding: 0px; gap: 0.5em; flex: none; order: 0; align-self: stretch; font-family: "Mona Sans"; font-style: normal; font-weight: 500; font-size: 1em; line-height: 1em; text-align: right; color: #666666; @media screen and (max-width: 768px) { display: none; } `; const info = <Info>August 11-27, 2023 [Virtual] </Info>; const actions = ( <ActionArea> {info} <Widget src={`${ownerId}/widget/Register.Button`} /> </ActionArea> ); return ( <Navbar> {logo} {actions} </Navbar> );