Merge pull request #20 from ZTatman/codex/design-brand-mark

refactor(web): single-ink brand mark system + header/404 polish
This commit is contained in:
Zach Tatman 2026-07-18 14:04:11 -04:00 • committed by GitHub
commit 25e6f794c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 139 additions and 123 deletions

View file

@ -1,43 +0,0 @@
<svg width="560" height="625" viewBox="0 0 560 625" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M239.045 529.037C240.53 530.438 240.04 561.512 240.04 565.584C247.645 559.786 255.661 555.698 265.554 557.162C287.473 560.404 298.726 587.311 288.737 606.182C285.609 612.092 282.182 615.36 276.881 619.217C264.339 627.169 251.833 624.191 240.56 616.033C240.564 618.637 240.291 620.372 239.954 622.931C235.389 622.811 230.673 622.939 226.096 623.002C225.471 593.567 226.406 563.457 225.99 533.892C230.259 532.643 234.869 530.69 239.045 529.037ZM260.64 610.436C284.761 605.061 282.438 567.669 255.615 570.622C249.413 573.033 244.263 576.126 241.468 582.461C237.184 592.171 240.963 605.137 251.256 608.98C254.258 610.076 257.447 610.571 260.64 610.436Z" fill="#F7F2E8"/>
<path d="M376.834 557.131C392.589 554.955 407.281 563.642 411.99 578.812C413.916 585.013 413.713 589.752 413.639 596.108C396.945 596.011 380.25 596.022 363.557 596.143C370.021 613.753 383.312 614.185 398.211 606.767C399.505 605.947 399.654 605.731 401.176 605.418C404.595 606.431 405.973 610.217 407.828 613.479C396.781 625.571 375.369 627.427 362.001 618.04C354.887 612.964 350.104 605.25 348.721 596.622C345.602 577.079 357.101 560.362 376.834 557.131ZM363.575 584.291C370.086 584.47 376.064 584.245 382.569 584.018C387.325 583.948 393.355 584.022 397.989 583.543C394.911 574.445 390.287 569.024 379.923 569.65C370.034 571.512 366.785 574.812 363.575 584.291Z" fill="#F7F2E8"/>
<path d="M450.783 556.683C463.381 555.396 478.525 561.432 480.177 574.966C482.013 589.997 481.097 607.716 481.059 622.972C476.834 622.916 471.01 623.44 467.07 622.848C466.173 621.773 466.562 620.541 466.57 618.704L466.096 618.331C453.885 624.577 438.62 628.267 427.46 616.265C425.658 614.327 424.818 612.114 423.811 609.703C418.781 584.159 448.1 580.968 466.25 583.222C464.708 562.359 441.917 568.688 430.435 577.863C428.5 574.384 426.645 571.298 424.541 567.914C433.821 560.832 439.131 558.117 450.783 556.683ZM449.019 612.193C456.215 612.376 462.633 609.752 466.804 603.733C466.664 600.371 466.477 596.958 466.484 593.596C463.339 593.768 460.779 593.778 457.63 593.738C451.389 593.999 444.694 593.973 440.086 598.85C436.914 602.209 436.393 606.57 440.481 609.387C443.187 611.251 445.834 611.816 449.019 612.193Z" fill="#F7F2E8"/>
<path d="M174.311 557.085C176.186 556.901 178.071 556.838 179.955 556.897C193.937 557.222 205.662 563.913 209.952 577.863C211.943 584.336 211.684 589.207 211.383 595.937C196.105 596.648 177.607 596.176 162.094 596.157C162.639 598.091 163.385 599.963 164.319 601.743C166.757 606.361 171.023 609.743 176.077 611.064C183.72 612.992 190.477 610.332 196.849 606.488C199.815 604.371 200.807 604.418 203.029 607.614C204.363 609.534 205.591 611.785 206.818 613.794C173.446 641.427 131.378 608.811 152.853 570.474C157.246 562.631 165.956 558.854 174.311 557.085ZM161.667 584.511C167.996 584.44 174.931 584.019 181.09 584.072C183.945 584.178 194.052 585.123 195.85 583.468C196.244 573.365 185.451 569.415 176.934 569.629C167.477 572.205 165.106 575.662 161.667 584.511Z" fill="#F7F2E8"/>
<path d="M510.587 529.005C511.181 529.059 510.77 528.996 511.77 529.4C512.16 548.156 511.996 567.458 512.018 586.244C519.805 577.97 529.089 567.106 536.717 558.525C543.54 558.565 550.363 558.519 557.184 558.387C548.665 567.496 539.906 576.024 531.014 584.762C538.813 595.169 546.737 605.483 554.783 615.7C555.562 616.973 558.892 621.12 559.962 622.526C554.024 622.511 548.088 622.686 542.162 623.053C537.701 618.421 525.057 601.375 520.404 595.443C517.653 598.072 515.051 600.163 512.094 602.564C511.931 609.287 512.076 616.538 512.092 623.301C507.521 623.077 502.222 623.233 497.597 623.26C497.181 593.488 497.492 563.18 497.415 533.338C501.414 532.349 506.602 530.386 510.587 529.005Z" fill="#F7F2E8"/>
<path d="M0.0149994 534.434C20.369 534.942 43.334 534.419 63.895 534.477C61.753 539.081 60.057 543.636 58.243 548.367C47.704 547.425 26.906 548.038 15.505 548.07L15.541 571.474C19.604 571.429 49.409 571.031 50.987 571.976L50.897 573.617C50.257 577.46 49.469 581.269 48.836 585.154C37.717 584.953 26.596 584.904 15.476 585.008L15.549 623.02L0 622.994L0.0149994 534.434Z" fill="#F7F2E8"/>
<path d="M318.451 555.048L318.823 555.121C320.222 556.589 319.69 565.854 319.649 568.46C328.361 560.507 333.189 559.52 344.3 556.331C344.2 561.078 344.303 566.144 344.315 570.918C333.744 573.959 327.319 575.546 320.563 584.547L320.523 598.25L320.546 622.57C315.602 622.521 311.286 622.545 306.317 622.767C305.626 602.473 306.044 579.821 306.004 559.414C310.106 557.828 314.257 556.373 318.451 555.048Z" fill="#F7F2E8"/>
<path d="M118.058 555.015L118.792 555.518C119.261 559.079 119.091 565.229 119.097 569.009C128.728 561.094 132.245 559.995 144.057 556.507C144.041 561.336 143.921 566.268 144.369 571.067C133.869 573.574 127.89 576.137 120.539 583.934L120.496 598.25L120.527 623.032L105.912 622.943C105.635 602.116 105.962 580.428 105.994 559.552C110.156 557.835 113.8 556.485 118.058 555.015Z" fill="#F7F2E8"/>
<path d="M87.61 556.171L88.113 556.31C88.879 557.858 88.576 617.132 88.576 623.017L74.541 623.015C74.477 622.971 74.397 622.945 74.349 622.884C72.844 620.967 73.564 565.017 73.551 559.334C78.393 558.131 82.684 557.096 87.61 556.171Z" fill="#F7F2E8"/>
<path d="M77.945 530.844C81.329 529.768 85.031 530.618 87.606 533.062C90.181 535.507 91.223 539.159 90.325 542.595C89.426 546.03 86.73 548.705 83.288 549.576C78.181 550.868 72.973 547.867 71.528 542.802C70.083 537.737 72.925 532.44 77.945 530.844Z" fill="#F7F2E8"/>
<path d="M409.992 129.188C417.441 128.358 432.247 129.01 438.239 133.886C445.934 140.147 444.321 141.893 454.577 143.756C453.658 160.141 456.451 155.076 462.342 167.016C466.632 178.302 471.575 190.292 474.386 201.998C477.631 215.507 464.545 224.911 483.246 229.969C478.35 253.35 491.486 263.677 512.057 267.911C494.134 273.673 487.464 280.725 482.873 298.856C481.4 304.277 479.555 309.812 478.493 315.322C476.919 323.49 476.518 331.703 470.503 338.129C468.564 340.201 466.598 341.721 464.357 343.476C464.988 346.046 465.74 348.707 466.429 351.274C457.886 364.031 453.875 377.694 445.313 390.288C442.778 394.017 440.506 397.854 438.528 401.912C463.688 396.635 481.42 388.554 503.388 375.723C497.416 384.405 488.826 396.09 481.228 403.364C473.435 410.63 465.188 417.326 457.393 424.611C447.951 433.437 438.713 442.49 429.26 451.3C424.6 455.643 419.438 459.468 414.658 463.716C417.363 458.74 420.744 452.274 422.704 447.102C426.793 436.314 429.465 414.849 427.431 403.561C424.792 388.915 423.146 388.029 424.24 372.764C417.259 387.788 419.873 391.997 420.883 407.542C421.153 411.695 417.872 421.395 414.736 424.163C407.064 426.11 404.341 431.758 398.106 436.337C391.062 441.509 383.299 445.415 375.741 449.763C380.22 444.046 382.62 441.303 388.113 436.573C381.325 439.91 373.759 444.088 367.829 448.749C365.489 450.587 363.433 453.953 360.781 455.431C345.095 464.172 325.355 469.279 308.069 472.712C290.958 475.778 273.542 476.788 256.192 475.721C246.043 474.999 240.996 473.493 231.662 469.783C231.235 469.614 228.649 471.959 227.379 472.005C221.343 472.222 215.102 471.029 209.34 469.272C189.617 460.851 169.75 451.155 151.576 439.758C145.975 436.245 141.355 430.952 135.664 427.607C128.738 423.534 121.426 420.568 114.632 416.378C143.207 419.184 152.007 416.864 179.086 414.508C183.761 416.853 189.699 420.887 194.39 423.634C201.457 427.713 208.942 431.019 216.717 433.495C232.335 438.277 248.675 440.261 264.983 439.354C274.379 438.789 284.27 436.844 293.621 437.9C317.295 440.572 336.745 429.336 356.982 418.77L358.068 424.703C366.199 417.28 368.579 412.358 374.432 403.525C375.939 401.252 384.365 395.226 387.13 392.996C394.185 387.306 401.572 381.653 408.026 375.179C430.864 352.405 429.51 335.602 460.724 320.978C436.159 308.756 443.501 302.401 451.289 281.878C452.786 277.933 453.065 270.918 453.205 266.656C457.509 268.107 462.307 269.341 466.71 270.567C465.814 269.589 464.936 268.594 464.078 267.582C452.484 253.795 443.244 230.104 440.903 212.131C440.416 208.393 440.975 202.195 441.291 198.376C439.76 195.834 433.443 189.401 432.968 188.184C423.67 164.373 411.411 151.492 391.831 135.067C398.76 131.041 402.025 130.362 409.992 129.188Z" fill="#F7F2E8"/>
<path d="M265.12 0.233836C271.95 -0.550164 278.983 0.807827 285.758 1.79283C274.972 6.95983 265.54 9.77284 256.829 18.6518C243.223 32.4778 235.066 52.4348 234.256 71.7428C233.731 84.2438 236.21 95.4258 232.555 107.755C228.926 119.993 221.494 128.06 212.694 136.796C217.996 124.088 219.54 119.167 218.647 105.616C214.889 115.368 210.444 122.814 200.011 126.433C200.138 123.403 201.149 115.356 199.08 113.39C198.057 113.655 197.27 114.297 196.688 115.17C191.044 123.635 185.863 131.929 179.085 139.629C168.837 151.126 155.304 158.896 143.867 169.138C132.752 179.091 125.971 190.385 117.812 202.569C114.688 207.234 109.819 211.293 107.234 216.478C104.054 222.859 103.613 230.133 100.589 236.545C98.781 240.277 93.289 244.21 91.529 248.4C87.249 258.59 92.588 261.489 95.917 269.894C98.726 276.986 95.162 283.023 92.064 289.207C108.523 302.204 94.499 320.543 108.335 335.334C113.996 341.385 118.658 351.947 123.024 359.408C134.666 379.306 149.471 392.376 167.388 406.178C158.686 409.773 140.853 415.301 131.751 413.476C125.67 412.257 123.388 409.007 120.256 404.357C94.472 400.535 107.784 422.835 113.148 436.794C116.986 446.781 123.002 457.846 127.663 467.627C112.905 455.728 102.369 442.378 88.524 429.717C82.034 423.783 75.863 417.666 69.734 411.363C59.631 401.183 49.397 387.401 41.1 375.795C46.508 378.808 51.31 382.412 57.211 385.498C72.21 393.343 86.066 396.27 102.342 399.064C88.937 383.747 81.159 368.374 73.25 349.856L79.17 353.238C75.266 345.434 69.992 336.712 66.85 328.753C67.225 326.153 68.054 322.598 68.6 319.944C67.081 317.799 61.437 310.199 60.597 308.256C57.714 301.589 57.302 293.991 54.414 286.725C49.945 275.48 42.502 271.542 32.03 266.979C51.679 264.03 66.635 247.297 61.625 226.935C65.362 225.178 69.103 223.071 72.744 221.095C71.877 217.611 69.059 209.094 67.744 205.857C59.62 185.845 79.037 178.747 86.027 164.814C89.995 156.907 90.572 143.283 96.059 133.218C107.763 111.748 124.978 94.1708 146.642 82.5658C153.103 79.1048 159.994 76.8178 166.788 74.5428C160.427 79.4308 154.444 84.7938 148.89 90.5838C138.695 101.327 130.616 114.076 130.825 129.561C130.88 133.652 132.326 136.776 135.368 139.452C137.473 141.303 140.913 142.651 143.742 142.052C161.275 138.335 177.142 109.966 183.128 94.9598C184.823 90.7118 186.476 79.3968 187.108 74.9898C189.274 59.8748 194.959 46.7948 204.304 34.7808C219.073 15.5188 241.011 3.05584 265.12 0.233836Z" fill="#F7F2E8"/>
<path d="M334.936 63.3759C356.574 68.7329 379.514 77.6769 398.404 89.6779C403.324 92.9379 407.766 97.3269 412.795 100.384C420.42 105.019 428.32 109.134 435.292 114.779C438.823 117.638 440.003 119.451 441.933 123.422C429.107 121.539 422.081 121.087 409.332 121.153C401.495 121.675 394.253 123.046 386.515 123.814C375.85 124.873 362.709 117.679 353.368 112.932C349.916 111.178 346.275 105.6 341.276 103.579C335.435 101.217 330.16 102.173 324.854 100.863C318.02 99.1749 310.749 96.9778 303.865 95.1358C308.34 90.4778 313.386 86.0619 317.883 81.4429C323.633 75.5379 329.308 69.4059 334.936 63.3759Z" fill="#F7F2E8"/>
<path d="M319.086 10.4429C320.067 11.3969 319.55 13.4899 319.333 14.7619C313.095 51.3959 289.666 83.0359 259.466 104.285C261.866 97.4399 266.944 87.3949 270.127 80.8129C278.647 64.7889 288.343 49.4179 299.136 34.8279C287.6 38.1369 283.549 39.9349 273.249 45.5469C273.114 44.2189 272.864 40.9859 272.952 39.8279C273.414 33.7359 288.899 29.2769 294.136 27.1309C297.188 25.8869 300.142 24.4149 302.973 22.7289C308.744 19.2989 313.917 14.7429 319.086 10.4429Z" fill="#C62030"/>
<path d="M345.325 127.731C358.33 130.726 382.679 145.122 392.546 154.765C397.859 159.957 403.134 168.71 402.736 176.294C402.607 178.752 402.224 182.806 400.342 184.636C399.074 180.931 398.444 178.883 396.548 175.496C387.672 160.155 379.311 153.013 363.514 146.495C365.729 151.229 367.968 154.654 370.943 158.906C360.26 151.42 351.061 139.345 345.325 127.731Z" fill="#C62030"/>
<path d="M167.534 384.543C171.598 385.886 182.102 391.509 187.164 393.578C207.871 402.041 226.401 406.735 248.53 409.936C244.364 411.154 239.58 412.128 235.309 413.095C232.603 413.511 229.79 414.362 227.13 415.079L232.982 420.249C228.788 419.368 224.624 418.351 220.496 417.199C203.318 412.324 176.676 400.866 167.534 384.543Z" fill="#C62030"/>
<path d="M409.717 183.898C411.582 185.267 416.013 192.853 417.156 195.036C427.277 214.352 430.491 234.795 432.809 256.162C430.527 253.472 427.908 249.815 425.735 246.951C415.903 232.804 412.937 227.958 409.036 211.575L417.211 220.88C415.467 211.047 410.351 192.628 409.717 183.898Z" fill="#C62030"/>
<path d="M360.994 392.524L361.423 393.126C337.904 418.773 315.735 424.874 281.864 422.345C285.007 420.089 305.945 414.168 311.156 412.07C318.126 409.597 324.805 406.338 331.78 403.895C333.121 403.425 334.084 404.213 335.269 404.853C340.199 404.855 355.7 395.351 360.994 392.524Z" fill="#C62030"/>
<path d="M126.101 307.798C128.641 309.644 131.488 320.784 132.897 324.443C138.952 340.165 147.178 357.148 155.514 371.719C150.422 368.128 146.907 364.87 142.575 360.411C131.445 348.598 122.809 335.054 117.855 319.494L129.218 334.11C127.466 324.99 125.854 317.149 126.101 307.798Z" fill="#C62030"/>
<path d="M137.081 202.535L137.335 202.827C137.267 206.488 125.219 225.359 123.617 234.04C125.169 235.388 125.564 233.475 127.341 234.764C126.888 240.699 124.717 246.476 123.708 252.249C122.819 257.34 122.245 262.897 121.565 268.059L120.995 268.208C114.292 254.16 111.932 246.014 117.381 231.004C121.836 218.734 127.743 211.415 137.081 202.535Z" fill="#C62030"/>
<path d="M433.626 276.713C436.295 283.545 429.011 311.688 426.338 319.3L423.263 314.499C418.739 307.62 417.734 299.885 416.829 291.86C421.148 285.628 427.379 280.866 433.626 276.713Z" fill="#C62030"/>
<path d="M415.252 318.362C415.842 319.528 416.172 320.983 416.362 322.268C418.555 337.098 415.762 345.071 407.054 356.974C399.111 367.831 388.597 376.413 375.127 378.576C378.135 374.81 384.689 370.215 388.465 366.233C391.093 363.46 398.83 352.512 400.929 351.734C402.429 352.657 401.8 352.56 403.377 352.601C410.444 346.511 413.078 327.399 415.252 318.362Z" fill="#C62030"/>
<path d="M451.979 95.8309C453.936 95.2029 456.08 95.6879 457.575 97.0969C459.071 98.5069 459.683 100.618 459.172 102.609C458.662 104.6 457.109 106.156 455.12 106.672C452.162 107.438 449.131 105.712 448.281 102.777C447.431 99.8429 449.069 96.7639 451.979 95.8309Z" fill="#DBDAD3"/>
<path d="M80.154 112.87C82.928 111.59 86.214 112.814 87.475 115.596C88.737 118.379 87.492 121.657 84.701 122.9C81.936 124.132 78.695 122.901 77.445 120.144C76.195 117.387 77.405 114.138 80.154 112.87Z" fill="#DBDAD3"/>
<path d="M499.254 323.257C501.215 322.358 503.532 323.226 504.419 325.192C505.305 327.158 504.423 329.469 502.451 330.344C500.497 331.211 498.21 330.338 497.331 328.389C496.452 326.44 497.311 324.148 499.254 323.257Z" fill="#DBDAD3"/>
<path d="M416.619 257.375C417.828 256.815 419.246 256.962 420.315 257.757C421.384 258.553 421.932 259.869 421.744 261.188C421.556 262.506 420.661 263.617 419.413 264.081C417.582 264.763 415.54 263.876 414.789 262.072C414.038 260.269 414.846 258.195 416.619 257.375Z" fill="#C62030"/>
<path d="M37.985 322.801C39.73 321.843 41.921 322.477 42.885 324.219C43.848 325.961 43.22 328.154 41.481 329.123C39.734 330.096 37.53 329.465 36.562 327.715C35.595 325.965 36.233 323.763 37.985 322.801Z" fill="#DBDAD3"/>
<path d="M113.417 289.288C115.078 288.358 117.178 288.926 118.142 290.567C119.107 292.208 118.583 294.319 116.962 295.318C115.883 295.983 114.53 296.012 113.423 295.395C112.316 294.778 111.63 293.611 111.629 292.344C111.627 291.076 112.311 289.908 113.417 289.288Z" fill="#C62030"/>
<path d="M35.89 417.228C36.968 416.654 38.272 416.705 39.303 417.362C40.333 418.018 40.93 419.179 40.864 420.399C40.799 421.619 40.082 422.709 38.988 423.253C37.329 424.076 35.316 423.414 34.469 421.767C33.622 420.12 34.255 418.098 35.89 417.228Z" fill="#DBDAD3"/>
<path d="M498.395 417.31C500.048 416.626 501.943 417.404 502.638 419.052C503.333 420.701 502.568 422.601 500.924 423.307C499.265 424.02 497.342 423.246 496.641 421.582C495.939 419.918 496.726 418 498.395 417.31Z" fill="#DBDAD3"/>
<path d="M379.857 52.7558C381.33 52.1078 383.054 52.7359 383.764 54.1819C384.473 55.6269 383.918 57.3749 382.503 58.1449C381.534 58.6719 380.354 58.6259 379.429 58.0239C378.504 57.4229 377.983 56.3629 378.073 55.2629C378.162 54.1629 378.847 53.2008 379.857 52.7558Z" fill="#DBDAD3"/>
<path d="M163.85 478.38C164.904 478 166.083 478.244 166.9 479.011C167.717 479.778 168.035 480.939 167.722 482.015C167.41 483.092 166.52 483.902 165.419 484.112C163.891 484.404 162.396 483.471 161.985 481.971C161.574 480.471 162.386 478.907 163.85 478.38Z" fill="#DBDAD3"/>
<path d="M375.001 478.816C376.512 478.301 378.155 479.103 378.679 480.612C379.203 482.12 378.411 483.768 376.907 484.301C375.389 484.839 373.723 484.039 373.194 482.517C372.666 480.996 373.476 479.335 375.001 478.816Z" fill="#DBDAD3"/>
<path d="M142.124 53.2519C143.532 52.7199 145.107 53.4079 145.674 54.8029C146.241 56.1969 145.593 57.7889 144.213 58.3909C143.289 58.7929 142.22 58.6629 141.419 58.0509C140.619 57.4389 140.213 56.4409 140.359 55.4439C140.506 54.4469 141.181 53.6079 142.124 53.2519Z" fill="#DBDAD3"/>
<path d="M474.436 130.344C475.717 129.545 477.403 129.923 478.22 131.193C479.036 132.463 478.681 134.153 477.423 134.987C476.593 135.537 475.532 135.598 474.645 135.147C473.757 134.695 473.182 133.8 473.139 132.806C473.096 131.811 473.592 130.871 474.436 130.344Z" fill="#DBDAD3"/>
<path d="M40.965 194.671C41.803 194.296 42.777 194.403 43.513 194.951C44.25 195.499 44.632 196.402 44.514 197.312C44.395 198.221 43.794 198.996 42.943 199.337C41.662 199.85 40.206 199.244 39.667 197.974C39.129 196.703 39.706 195.235 40.965 194.671Z" fill="#DBDAD3"/>
<path d="M65.597 146.733C66.886 146.252 68.323 146.894 68.823 148.175C69.324 149.457 68.702 150.903 67.428 151.422C66.587 151.765 65.627 151.628 64.915 151.064C64.204 150.5 63.851 149.597 63.992 148.7C64.133 147.803 64.746 147.051 65.597 146.733Z" fill="#DBDAD3"/>
<path d="M305.74 120.247C306.457 119.799 307.363 119.783 308.096 120.204C308.829 120.626 309.27 121.417 309.244 122.262C309.217 123.107 308.728 123.869 307.97 124.244C306.875 124.785 305.548 124.373 304.953 123.306C304.358 122.24 304.704 120.894 305.74 120.247Z" fill="#DBDAD3"/>
<path d="M329.206 124.846C330.445 124.661 331.6 125.508 331.797 126.745C331.993 127.981 331.157 129.145 329.923 129.353C328.671 129.564 327.488 128.714 327.289 127.461C327.09 126.208 327.951 125.033 329.206 124.846Z" fill="#DBDAD3"/>
<path d="M110.366 75.3648C111.433 74.8778 112.695 75.2898 113.269 76.3118C113.842 77.3348 113.537 78.6258 112.565 79.2828C111.861 79.7588 110.949 79.7978 110.206 79.3848C109.464 78.9708 109.017 78.1748 109.051 77.3258C109.085 76.4758 109.593 75.7178 110.366 75.3648Z" fill="#DBDAD3"/>
<path d="M483.44 435.805C484.393 435.292 485.582 435.628 486.125 436.564C486.669 437.501 486.37 438.7 485.452 439.273C484.831 439.66 484.048 439.678 483.41 439.32C482.772 438.962 482.379 438.285 482.385 437.554C482.391 436.822 482.796 436.152 483.44 435.805Z" fill="#DBDAD3"/>
</svg>

Before

Width:  |  Height:  |  Size: 19 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.3 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.3 KiB

View file

@ -1,3 +1,4 @@
{% from "partials/_brand.html" import mark %}
<!DOCTYPE html>
<html lang="en">
<head>
@ -13,60 +14,106 @@
rel="stylesheet" />
<link rel="stylesheet" href="/static/css/output.css" />
<script src="https://unpkg.com/htmx.org@2"></script>
<script defer
src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
</head>
<body class="min-h-dvh flex flex-col bg-background text-sm text-foreground antialiased {% block body_class %}{% endblock %}">
<header class="app-header">
<div class="mx-auto grid w-full max-w-7xl grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-4 px-4 py-3 sm:px-8">
<header class="sticky top-0 z-50 border-b border-border bg-header text-header-foreground {% block header_class %}{% endblock %}">
<div class="mx-auto flex w-full max-w-5xl items-center justify-between gap-5 px-4 py-3 sm:px-8">
<a href="/"
class="brand-link flex min-w-0 shrink-0 items-center gap-2 justify-self-start text-base text-foreground"
class="flex shrink-0 items-center gap-2.5 text-foreground"
aria-label="Firebreak home">
<svg width="28"
height="30"
viewBox="0 0 28 30"
class="text-brand-red"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path d="M21.5596 8.01157C21.9844 7.96011 22.829 8.0003 23.1709 8.30259C23.6097 8.69079 23.5179 8.79938 24.1025 8.91489C24.0501 9.93095 24.2099 9.61686 24.5459 10.3573C24.7906 11.0572 25.0721 11.8012 25.2324 12.5272C25.4173 13.3648 24.6717 13.9479 25.7383 14.2616C25.4591 15.7115 26.2085 16.3515 27.3818 16.6141C26.3596 16.9714 25.9787 17.4089 25.7168 18.5331C25.6328 18.8692 25.5274 19.2128 25.4668 19.5545C25.377 20.0609 25.3545 20.5702 25.0117 20.9686C24.9012 21.097 24.7889 21.1919 24.6611 21.3006C24.6971 21.46 24.74 21.6249 24.7793 21.784C24.292 22.5752 24.0626 23.4229 23.5742 24.204C23.4297 24.4351 23.3003 24.6731 23.1875 24.9247C24.6225 24.5974 25.6338 24.0962 26.8867 23.3006C26.5461 23.839 26.0563 24.5635 25.623 25.0145C25.1786 25.465 24.7082 25.8802 24.2637 26.3319C23.7252 26.8791 23.1983 27.4409 22.6592 27.9872C22.3934 28.2565 22.0988 28.4942 21.8262 28.7577C21.9804 28.4492 22.1733 28.0481 22.2852 27.7274C22.5183 27.0585 22.6706 25.7273 22.5547 25.0272C22.4042 24.119 22.3097 24.0636 22.3721 23.117C21.9741 24.0484 22.123 24.3097 22.1807 25.2733C22.1961 25.5308 22.009 26.1329 21.8301 26.3045C21.3927 26.4253 21.2374 26.7755 20.8818 27.0594C20.4801 27.3801 20.0375 27.6228 19.6064 27.8924C19.8619 27.5379 19.9983 27.3673 20.3115 27.0741C19.9244 27.281 19.4925 27.5399 19.1543 27.829C19.0209 27.943 18.9042 28.1524 18.7529 28.244C17.8582 28.786 16.7321 29.1024 15.7461 29.3153C14.7702 29.5054 13.7767 29.5679 12.7871 29.5018C12.2082 29.457 11.9201 29.3637 11.3877 29.1336C11.3634 29.1232 11.2161 29.2681 11.1436 29.2713C10.7993 29.2848 10.4429 29.2104 10.1143 29.1014C8.98932 28.5792 7.85592 27.9781 6.81934 27.2713C6.50006 27.0536 6.23649 26.7258 5.91211 26.5184C5.51707 26.2658 5.09943 26.0819 4.71191 25.8221C6.34186 25.9961 6.84406 25.852 8.38867 25.7059C8.65531 25.8513 8.99419 26.101 9.26172 26.2713C9.66483 26.5243 10.0917 26.7301 10.5352 26.8836C11.4259 27.1801 12.358 27.3031 13.2881 27.2469C13.824 27.2119 14.3885 27.0906 14.9219 27.1561C16.2722 27.3218 17.3818 26.6248 18.5361 25.9696L18.5977 26.3377C19.0615 25.8774 19.1974 25.5721 19.5312 25.0243C19.6175 24.8832 20.0982 24.5102 20.2559 24.3719C20.6583 24.0191 21.0791 23.6679 21.4473 23.2665C22.7499 21.8542 22.6729 20.812 24.4531 19.9051C23.0524 19.1473 23.4708 18.7529 23.915 17.4803C24.0003 17.2358 24.0164 16.8013 24.0244 16.537C24.2699 16.6269 24.5438 16.7031 24.7949 16.7792C24.7438 16.7185 24.6935 16.6564 24.6445 16.5936C23.9833 15.7385 23.4568 14.2696 23.3232 13.1551C23.2955 12.9235 23.3267 12.5395 23.3447 12.3026C23.2574 12.1449 22.8972 11.7452 22.8701 11.6698C22.3398 10.1933 21.6402 9.39436 20.5234 8.37583C20.9186 8.12619 21.1053 8.08436 21.5596 8.01157Z" fill="currentColor" />
<path d="M13.2959 0.0145017C13.6855 -0.0341185 14.0872 0.0500961 14.4736 0.111181C13.8585 0.431567 13.3201 0.605665 12.8232 1.1561C12.0471 2.01353 11.5814 3.25168 11.5352 4.44907C11.5052 5.22427 11.6469 5.91793 11.4385 6.68247C11.2315 7.44129 10.8076 7.94154 10.3057 8.48325C10.6081 7.69518 10.6964 7.38997 10.6455 6.54966C10.4311 7.15443 10.1771 7.61624 9.58203 7.84067C9.58927 7.65292 9.64694 7.15451 9.5293 7.03208C9.47094 7.04851 9.42578 7.08829 9.39258 7.14243C9.07071 7.6673 8.77523 8.1816 8.38867 8.65903C7.80412 9.37201 7.03225 9.85396 6.37988 10.4891C5.74587 11.1064 5.35895 11.8068 4.89355 12.5624C4.71537 12.8516 4.43748 13.1032 4.29004 13.4247C4.10871 13.8203 4.08348 14.2712 3.91113 14.6688C3.80804 14.9001 3.49506 15.1444 3.39453 15.4042C3.15043 16.036 3.45464 16.2161 3.64453 16.7372C3.80476 17.177 3.60152 17.5519 3.4248 17.9354C4.36334 18.7414 3.56357 19.8786 4.35254 20.7958C4.67545 21.171 4.94139 21.8262 5.19043 22.2889C5.8545 23.5229 6.6997 24.3334 7.72168 25.1893C7.22531 25.4123 6.20766 25.7546 5.68848 25.6415C5.34174 25.5658 5.21182 25.3643 5.0332 25.076C3.56246 24.839 4.32196 26.2221 4.62793 27.0877C4.84684 27.707 5.18924 28.3934 5.45508 28.9999C4.6134 28.262 4.01229 27.4344 3.22266 26.6493C2.8525 26.2813 2.50094 25.9014 2.15137 25.5106C1.57508 24.8793 0.990847 24.0243 0.517578 23.3045C0.826056 23.4914 1.09992 23.7157 1.43652 23.9071C2.29197 24.3935 3.08249 24.5746 4.01074 24.7479C3.24619 23.7981 2.80267 22.8445 2.35156 21.6961L2.68945 21.9061C2.46677 21.4221 2.16555 20.8811 1.98633 20.3875C2.0077 20.2265 2.05479 20.0062 2.08594 19.8417C1.99929 19.7086 1.6778 19.2366 1.62988 19.1161C1.46554 18.7027 1.44204 18.2316 1.27734 17.7811C1.02243 17.0837 0.597331 16.8395 0 16.5565C1.1208 16.3736 1.97425 15.3359 1.68848 14.0731C1.90163 13.9641 2.11556 13.8333 2.32324 13.7108C2.27375 13.4947 2.11213 12.9673 2.03711 12.7665C1.57371 11.5254 2.68136 11.0846 3.08008 10.2206C3.30636 9.73027 3.33952 8.8857 3.65234 8.26157C4.31995 6.9301 5.30235 5.83966 6.53809 5.11997C6.90658 4.90538 7.30002 4.76397 7.6875 4.6229C7.32469 4.92601 6.9828 5.25801 6.66602 5.61704C6.08448 6.28327 5.62382 7.0747 5.63574 8.03501C5.63897 8.28848 5.72113 8.48244 5.89453 8.64829C6.0146 8.76308 6.21168 8.84657 6.37305 8.80942C7.37298 8.57853 8.27774 6.819 8.61914 5.88853C8.7158 5.62493 8.81064 4.92348 8.84668 4.65024C8.97023 3.71302 9.29421 2.90205 9.82715 2.15708C10.6695 0.962598 11.9208 0.189561 13.2959 0.0145017Z" fill="currentColor" />
<path d="M18.7891 24.3797C17.4476 25.9701 16.1829 26.3481 14.251 26.1913C14.4305 26.0513 15.6244 25.6847 15.9219 25.5545C16.3195 25.4012 16.7008 25.1992 17.0986 25.0477C17.1751 25.0186 17.2303 25.0676 17.2979 25.1073C17.5794 25.1068 18.4626 24.518 18.7646 24.3426L18.7891 24.3797Z" fill="currentColor" />
<path d="M7.72949 23.8475C7.96131 23.9308 8.56087 24.2797 8.84961 24.4081C10.0306 24.9328 11.0876 25.2232 12.3496 25.4217C12.112 25.4973 11.8393 25.5581 11.5957 25.618C11.4414 25.6438 11.2806 25.6966 11.1289 25.7411L11.4629 26.0614C11.2238 26.0068 10.9863 25.9443 10.751 25.8729C9.77113 25.5706 8.25097 24.8598 7.72949 23.8475Z" fill="currentColor" />
<path d="M21.8594 19.743C21.893 19.8153 21.912 19.9056 21.9229 19.9852C22.0479 20.9048 21.8891 21.3995 21.3926 22.1375C20.9396 22.8108 20.3395 23.3432 19.5713 23.4774C19.7429 23.2439 20.1167 22.9587 20.332 22.7118C20.4821 22.5395 20.9233 21.8606 21.043 21.8124C21.1285 21.8696 21.0927 21.8635 21.1826 21.8661C21.5855 21.488 21.7354 20.3033 21.8594 19.743Z" fill="currentColor" />
<path d="M5.36621 19.0877C5.51104 19.2022 5.6735 19.8928 5.75391 20.12C6.09929 21.095 6.56845 22.149 7.04395 23.0526C6.75349 22.8299 6.55277 22.627 6.30566 22.3504C5.67096 21.6179 5.17804 20.7781 4.89551 19.8133L5.54395 20.7196C5.44402 20.1541 5.35212 19.6676 5.36621 19.0877Z" fill="currentColor" />
<path d="M22.9082 17.16C23.0604 17.5837 22.6447 19.3295 22.4922 19.8016L22.3164 19.5038C22.0584 19.0772 22.0018 18.5971 21.9502 18.0995C22.1965 17.7131 22.552 17.4175 22.9082 17.16Z" fill="currentColor" />
<path d="M6.00684 12.578C6.00296 12.805 5.31622 13.975 5.22461 14.5135C5.31314 14.5971 5.33614 14.4785 5.4375 14.5584C5.41166 14.9265 5.28705 15.2854 5.22949 15.6434C5.17881 15.959 5.1462 16.3039 5.10742 16.6239L5.0752 16.6327C4.69292 15.7616 4.55847 15.2567 4.86914 14.326C5.1232 13.5653 5.45975 13.1109 5.99219 12.5604L6.00684 12.578Z" fill="currentColor" />
<path d="M21.5439 11.4042C21.6503 11.489 21.9034 11.9589 21.9688 12.0946C22.546 13.2924 22.7291 14.5606 22.8613 15.8856C22.7312 15.7188 22.5819 15.4919 22.458 15.3143C21.8972 14.4371 21.7274 14.1368 21.5049 13.1209L21.9717 13.6981C21.8722 13.0883 21.5801 11.9455 21.5439 11.4042Z" fill="currentColor" />
<path d="M17.8711 7.92075C18.6129 8.10648 20.0016 8.99949 20.5645 9.59751C20.8675 9.91944 21.1681 10.4622 21.1455 10.9325C21.1381 11.0849 21.1161 11.3366 21.0088 11.45C20.9365 11.2205 20.9009 11.0934 20.793 10.8836C20.2867 9.93226 19.8093 9.48903 18.9082 9.08481C19.0345 9.37833 19.1624 9.59074 19.332 9.85435C18.7228 9.39008 18.1982 8.64091 17.8711 7.92075Z" fill="currentColor" />
<path d="M17.2783 3.93052C18.5125 4.26272 19.821 4.81717 20.8984 5.56138C21.1791 5.76355 21.4329 6.03586 21.7197 6.22544C22.1546 6.51282 22.6053 6.768 23.0029 7.11802C23.2042 7.29526 23.2718 7.40794 23.3818 7.65415C22.6504 7.5374 22.2494 7.50944 21.5225 7.51353C21.0755 7.54589 20.6621 7.63093 20.2207 7.67856C19.6125 7.74422 18.8629 7.29815 18.3301 7.00376C18.1332 6.89498 17.9248 6.54901 17.6396 6.42368C17.3066 6.27732 17.0057 6.33596 16.7031 6.25474C16.3134 6.15006 15.8984 6.01348 15.5059 5.89927C15.7611 5.61047 16.0492 5.33701 16.3057 5.05063C16.6336 4.68454 16.9574 4.30436 17.2783 3.93052Z" fill="currentColor" />
<path d="M16.374 0.647314C16.4299 0.706385 16.4011 0.835973 16.3887 0.914892C16.0329 3.18667 14.6962 5.14888 12.9736 6.46665C13.1106 6.04216 13.4005 5.41964 13.582 5.01157C14.068 4.01794 14.6208 3.06473 15.2363 2.16001C14.5785 2.36517 14.3471 2.47613 13.7598 2.82407C13.7521 2.74152 13.7382 2.5413 13.7432 2.46958C13.7698 2.09189 14.6524 1.81555 14.9512 1.68247C15.1253 1.60532 15.2936 1.51359 15.4551 1.40903C15.7842 1.19636 16.0792 0.913941 16.374 0.647314Z" fill="currentColor" />
</svg>
<svg width="114"
height="20"
viewBox="0 0 114 20"
class="text-header-foreground"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path d="M48.4923 0.00654069C48.7964 0.29344 48.6961 6.65684 48.6961 7.49071C50.2534 6.30339 51.895 5.46624 53.9209 5.76604C58.4095 6.42994 60.7139 11.94 58.6683 15.8045C58.0278 17.0147 57.326 17.6839 56.2404 18.4738C53.6721 20.1022 51.1111 19.4924 48.8025 17.8218C48.8034 18.355 48.7475 18.7103 48.6785 19.2344C47.7436 19.2098 46.7779 19.236 45.8406 19.2489C45.7126 13.2211 45.9041 7.05515 45.8189 1.00077C46.6931 0.744994 47.6371 0.345046 48.4923 0.00654069ZM52.9146 16.6756C57.8541 15.5749 57.3784 7.91769 51.8855 8.52241C50.6155 9.01614 49.5609 9.64953 48.9885 10.9468C48.1112 12.9353 48.8851 15.5905 50.9929 16.3774C51.6077 16.6019 52.2607 16.7032 52.9146 16.6756Z" fill="currentColor" />
<path d="M76.8226 5.75962C80.0489 5.31401 83.0576 7.09296 84.0219 10.1995C84.4163 11.4694 84.3748 12.4398 84.3596 13.7414C80.941 13.7215 77.5221 13.7238 74.1037 13.7486C75.4274 17.3548 78.1492 17.4433 81.2002 15.9242C81.4652 15.7563 81.4957 15.712 81.8074 15.6479C82.5075 15.8554 82.7897 16.6307 83.1696 17.2987C80.9074 19.7749 76.5226 20.155 73.7851 18.2327C72.3282 17.1932 71.3488 15.6135 71.0655 13.8467C70.4268 9.84462 72.7816 6.42127 76.8226 5.75962ZM74.1074 11.3215C75.4407 11.3582 76.6649 11.3121 77.997 11.2656C78.971 11.2513 80.2058 11.2664 81.1547 11.1683C80.5244 9.30522 79.5775 8.1951 77.4552 8.32329C75.4301 8.7046 74.7647 9.38038 74.1074 11.3215Z" fill="currentColor" />
<path d="M91.1896 5.66801C93.7694 5.40445 96.8706 6.64052 97.2089 9.41204C97.5849 12.4901 97.3973 16.1187 97.3895 19.2428C96.5243 19.2313 95.3317 19.3387 94.5248 19.2174C94.3411 18.9973 94.4208 18.745 94.4224 18.3688L94.3254 18.2924C91.8248 19.5715 88.6988 20.3271 86.4134 17.8693C86.0444 17.4725 85.8724 17.0193 85.6662 16.5256C84.6361 11.2946 90.6401 10.6411 94.3569 11.1027C94.0411 6.83035 89.374 8.12642 87.0227 10.0053C86.6264 9.29286 86.2465 8.6609 85.8157 7.96792C87.716 6.51765 88.8034 5.96167 91.1896 5.66801ZM90.8283 17.0355C92.3019 17.0729 93.6162 16.5356 94.4704 15.303C94.4417 14.6145 94.4034 13.9156 94.4048 13.2271C93.7608 13.2624 93.2365 13.2644 92.5917 13.2562C91.3136 13.3097 89.9426 13.3043 88.999 14.3031C88.3494 14.9909 88.2427 15.884 89.0799 16.4609C89.634 16.8426 90.1761 16.9583 90.8283 17.0355Z" fill="currentColor" />
<path d="M35.9596 5.7504C36.3435 5.71272 36.7295 5.69981 37.1153 5.71189C39.9786 5.77844 42.3797 7.14864 43.2582 10.0054C43.6659 11.3309 43.6129 12.3284 43.5512 13.7066C40.4226 13.8522 36.6345 13.7555 33.4577 13.7516C33.5693 14.1477 33.7221 14.531 33.9134 14.8955C34.4126 15.8412 35.2862 16.5338 36.3212 16.8043C37.8863 17.1992 39.2701 16.6544 40.5749 15.8672C41.1823 15.4337 41.3855 15.4433 41.8405 16.0978C42.1137 16.491 42.3651 16.952 42.6164 17.3634C35.7824 23.0221 27.1676 16.343 31.5653 8.49222C32.4649 6.88612 34.2486 6.11266 35.9596 5.7504ZM33.3703 11.3667C34.6664 11.3522 36.0865 11.266 37.3478 11.2769C37.9324 11.2986 40.0022 11.4921 40.3704 11.1532C40.451 9.08425 38.2408 8.27536 36.4967 8.31919C34.5601 8.8467 34.0745 9.55463 33.3703 11.3667Z" fill="currentColor" />
<path d="M103.265 0C103.387 0.0110582 103.303 -0.00183904 103.508 0.080893C103.587 3.92179 103.554 7.87449 103.558 11.7215C105.153 10.0272 107.054 7.80241 108.616 6.04517C110.014 6.05336 111.411 6.04394 112.808 6.01691C111.063 7.88227 109.269 9.62866 107.448 11.418C109.046 13.5492 110.668 15.6613 112.316 17.7536C112.475 18.0143 113.157 18.8635 113.376 19.1514C112.16 19.1484 110.945 19.1842 109.731 19.2593C108.818 18.3108 106.229 14.8201 105.276 13.6053C104.712 14.1437 104.18 14.5719 103.574 15.0636C103.541 16.4403 103.57 17.9252 103.574 19.3101C102.637 19.2643 101.552 19.2962 100.605 19.3017C100.52 13.205 100.584 6.99843 100.568 0.887323C101.387 0.684793 102.449 0.282804 103.265 0Z" fill="currentColor" />
<path d="M0.00307161 1.11183C4.17121 1.21586 8.87403 1.10876 13.0846 1.12063C12.6459 2.06345 12.2986 2.99623 11.9271 3.96506C9.76893 3.77215 5.50987 3.89769 3.17515 3.90424L3.18252 8.69696C4.01455 8.68774 10.1181 8.60624 10.4412 8.79976L10.4228 9.13581C10.2917 9.92279 10.1304 10.7028 10.0007 11.4984C7.72377 11.4572 5.44639 11.4472 3.16921 11.4685L3.18416 19.2527L0 19.2473L0.00307161 1.11183Z" fill="currentColor" />
<path d="M64.3923 5.33318L64.4685 5.34813C64.755 5.64875 64.6461 7.54606 64.6377 8.07972C66.4217 6.45109 67.4104 6.24897 69.6858 5.59592C69.6653 6.56802 69.6864 7.60545 69.6888 8.58308C67.5241 9.20582 66.2084 9.53081 64.8248 11.3741L64.8166 14.1802L64.8214 19.1605C63.8089 19.1504 62.9251 19.1554 61.9075 19.2008C61.766 15.045 61.8516 10.4063 61.8434 6.22726C62.6834 5.90248 63.5335 5.60451 64.3923 5.33318Z" fill="currentColor" />
<path d="M23.7341 5.32638L23.8844 5.42939C23.9804 6.15862 23.9456 7.41802 23.9468 8.1921C25.9191 6.57125 26.6393 6.3462 29.0582 5.63192C29.0549 6.62081 29.0303 7.6308 29.1221 8.61355C26.9719 9.12694 25.7475 9.6518 24.2421 11.2485L24.2333 14.1801L24.2397 19.255L21.2468 19.2368C21.1901 14.9718 21.257 10.5305 21.2636 6.25548C22.1159 5.90387 22.8621 5.62741 23.7341 5.32638Z" fill="currentColor" />
<path d="M17.4168 5.56308L17.5198 5.59154C17.6766 5.90854 17.6146 18.0468 17.6146 19.2519L14.7405 19.2515C14.7274 19.2425 14.711 19.2372 14.7011 19.2247C14.3929 18.8321 14.5404 7.37457 14.5377 6.2108C15.5293 5.96444 16.408 5.7525 17.4168 5.56308Z" fill="currentColor" />
<path d="M15.4375 0.376667C16.1305 0.156321 16.8886 0.33039 17.4159 0.830877C17.9432 1.33157 18.1566 2.07943 17.9727 2.78306C17.7886 3.48648 17.2365 4.03428 16.5317 4.21265C15.4858 4.47722 14.4193 3.86267 14.1234 2.82545C13.8275 1.78823 14.4095 0.703499 15.4375 0.376667Z" fill="currentColor" />
</svg>
{{ mark("size-7 shrink-0") }}
<span class="text-base font-semibold">Firebreak</span>
</a>
<nav class="flex shrink-0 items-center justify-center gap-6"
<nav class="flex min-w-0 flex-1 items-center gap-5"
aria-label="Primary navigation">
{% if user %}
<a href="/dashboard" class="btn-link">Dashboard</a>
<a href="/settings" class="btn-link">Settings</a>
<a href="/dashboard"
class="btn-link"
{% if request.url.path == '/dashboard' %}aria-current="page"{% endif %}>Dashboard</a>
{% endif %}
</nav>
<div class="flex items-center justify-self-end">
<div class="flex shrink-0 items-center">
{% if user %}
<a href="/auth/logout" class="btn btn-sm btn-secondary">Logout</a>
{% set account_name = user.display_name or user.email or "User" %}
<!-- Account Dropdown Menu -->
<div x-data="{
open: false,
close() {
this.open = false
},
toggle() {
this.open = !this.open
}
}"
x-id="['dropdown-menu']"
@keydown.escape.prevent.stop="close(); $refs.trigger?.focus()"
@click.outside="close()"
class="group/account relative"
>
<!-- Button -->
<button
type="button"
x-ref="trigger"
@click="toggle()"
x-bind:aria-expanded="open"
x-bind:aria-controls="$id('dropdown-menu')"
class="group/account-toggle flex cursor-pointer items-center justify-center rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
>
<span class="flex size-11 items-center justify-center rounded-full bg-secondary font-mono text-sm font-semibold text-header-foreground transition-colors group-hover/account-toggle:bg-secondary-hover"
x-bind:class="{ 'bg-secondary-hover': open }"
aria-hidden="true">{{ account_name[:1] | upper }}</span>
<span class="sr-only">Account menu</span>
</button>
<!-- Panel -->
<div
x-cloak
x-show="open"
x-transition.duration.150ms
x-bind:id="$id('dropdown-menu')"
class="absolute right-0 top-[calc(100%+0.75rem)] z-50 flex w-[min(20rem,calc(100vw-2rem))] origin-top-right flex-col overflow-hidden rounded-lg border border-border bg-card shadow-elevated"
>
<div class="border-b border-border px-4 py-3">
<p class="truncate text-sm font-semibold text-foreground">{{ account_name }}</p>
{% if user.email and user.email != account_name %}
<p class="mt-0.5 truncate text-xs text-muted-foreground">{{ user.email }}</p>
{% endif %}
</div>
<a href="/settings"
class="flex items-center gap-2.5 border-l-2 border-transparent px-4 py-3 text-sm font-medium text-muted-foreground transition-colors hover:border-ember hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-card aria-[current=page]:border-ember aria-[current=page]:bg-muted aria-[current=page]:text-foreground"
{% if request.url.path == '/settings' %}aria-current="page"{% endif %}>
<svg class="status-icon"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true">
<path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" />
<circle cx="12" cy="12" r="3" />
</svg>
Settings
</a>
<a href="/auth/logout"
class="flex items-center gap-2.5 border-l-2 border-transparent px-4 py-3 text-sm font-medium text-muted-foreground transition-colors hover:border-ember hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-card aria-[current=page]:border-ember aria-[current=page]:bg-muted aria-[current=page]:text-foreground">
<svg class="status-icon"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true">
<path d="m16 17 5-5-5-5" />
<path d="M21 12H9" />
<path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4" />
</svg>
Logout
</a>
</div>
</div>
{% else %}
<a href="/auth/login/forgejo" class="btn btn-sm btn-primary">
<img src="/static/img/forgejo-logo.svg"
@ -82,7 +129,7 @@
</div>
</header>
<main id="main"
class="{% block main_class %}flex-1 w-full px-4 py-8 mx-auto max-w-7xl sm:px-8{% endblock %}">
class="{% block main_class %}flex-1 w-full px-4 py-8 mx-auto max-w-5xl sm:px-8{% endblock %}">
{% block content %}{% endblock %}
</main>
{% if debug %}
@ -106,7 +153,6 @@
}
}
// Check every second.
setInterval(checkForCssChanges, 1000);
</script>
{% endif %}

View file

@ -1,18 +1,26 @@
{% extends "base.html" %}
{% from "partials/_brand.html" import mark %}
{% block title %}{{ status_code }} — Firebreak{% endblock %}
{% block main_class %}flex-1 flex flex-col{% endblock %}
{% block content %}
<section class="relative flex flex-1 items-center justify-center px-6 py-20 overflow-hidden">
<div class="error-backdrop-logo">
<img src="/static/img/firebreak-logo-red.svg"
alt="Firebreak"
width="240"
height="268" />
{# Watermark, not hero — the ring frames the message, it doesn't compete #}
<div class="absolute left-1/2 h-full w-full max-w-200 -translate-x-1/2 text-danger opacity-25 inset-bs-8"
aria-hidden="true">
{{ mark("block h-auto w-full") }}
</div>
<div class="relative z-10 w-full max-w-md text-center">
<p class="font-bold text-8xl text-foreground/20 sm:text-9xl">{{ status_code }}</p>
<h1 class="mt-1 text-xl font-semibold text-foreground">{{ title }}</h1>
<p class="mt-4 text-sm leading-6 text-foreground/60">{{ detail }}</p>
{% if status_code == 404 %}
<h1 class="mt-1 text-xl font-semibold text-foreground">Outside the break</h1>
<p class="mt-4 text-sm leading-6 text-muted-foreground">This path lies beyond the cleared ground.</p>
{% else %}
<h1 class="mt-1 text-xl font-semibold text-foreground">{{ title }}</h1>
{# FastAPI defaults detail to the title text — don't say it twice #}
{% if detail and detail != title %}
<p class="mt-4 text-sm leading-6 text-muted-foreground">{{ detail }}</p>
{% endif %}
{% endif %}
{% if status_code == 401 %}
{% set quips = [
"I'm not saying you're a data scraper, but I AM saying that this page is off-limits.",
@ -21,10 +29,11 @@
"Move along clanker! Nothing to see here.",
"Just get out of here you STUPID, DUMB ANIMAL!"
] %}
<p class="text-xs italic text-foreground/30">{{ quips | random }}</p>
<p class="mt-3 text-xs italic text-muted-foreground">{{ quips | random }}</p>
{% endif %}
<div class="mt-8">
<a href="/" class="btn-link" id="go-home-btn">Go Home</a>
{# The only recovery action on the page — it earns button weight #}
<a href="/" class="btn btn-secondary" id="go-home-btn">Go home</a>
</div>
</div>
{% if status_code == 401 %}

File diff suppressed because one or more lines are too long

View file

@ -1,26 +1,23 @@
{% extends "base.html" %}
{% from "partials/_brand.html" import mark %}
{% block title %}{{ "Reconfigure" if reconfiguring else "Setup" }} — Firebreak{% endblock %}
{% block body_class %}landing-page{% endblock %}
{% block header_class %}hidden{% endblock %}
{% block main_class %}flex-1{% endblock %}
{% block content %}
<section class="flex min-h-dvh items-center justify-center px-6 py-20">
<div class="w-full max-w-lg">
<div class="mb-8 text-center">
<img src="/static/img/firebreak-brand.svg"
alt="Firebreak"
width="240"
height="268"
class="setup-logo" />
{{ mark("mx-auto h-auto w-full max-w-20 text-foreground") }}
<h1 class="mt-6 text-2xl font-semibold text-foreground">
{{ "Reconfigure" if reconfiguring else "Setup" }}
</h1>
{% if reconfiguring %}
<p class="mt-2 text-sm leading-6 text-foreground/60">
<p class="mt-2 text-sm leading-6 text-muted-foreground">
Update your Forgejo OAuth connection. Make sure the OAuth application
is registered in your Forgejo instance before continuing.
</p>
{% else %}
<p class="mt-2 text-sm leading-6 text-foreground/60">
<p class="mt-2 text-sm leading-6 text-muted-foreground">
Connect Firebreak to your Forgejo instance. You'll need to
<a href="https://forgejo.org/docs/latest/user/oauth2-provider/"
target="_blank"
@ -31,22 +28,22 @@
{% endif %}
</div>
{% if not reconfiguring %}
<div class="mb-8 rounded-lg border border-foreground/10 bg-card/60 px-5 py-4 text-xs leading-5 text-foreground/50">
<p class="mb-2.5 font-medium text-foreground/70">How to get your OAuth credentials:</p>
<div class="mb-8 rounded-lg border border-border bg-card px-5 py-4 text-xs leading-5 text-muted-foreground">
<p class="mb-2.5 font-medium text-foreground">How to get your OAuth credentials:</p>
<ol class="list-decimal list-inside space-y-1.5">
<li>
In Forgejo, go to <strong class="text-foreground/70">Settings &rarr; Applications</strong>
In Forgejo, go to <strong class="text-foreground">Settings &rarr; Applications</strong>
</li>
<li>
Under <strong class="text-foreground/70">Manage OAuth2 Applications</strong>, create a new app
Under <strong class="text-foreground">Manage OAuth2 Applications</strong>, create a new app
</li>
<li>
Set the redirect URI to
<br />
<code class="mt-1 inline-block rounded bg-foreground/8 px-1.5 py-0.5 font-mono text-[10px] text-foreground/60">{{ oauth_callback_url }}</code>
<code class="mono-chip mt-1 break-all">{{ oauth_callback_url }}</code>
</li>
<li>
Copy the <strong class="text-foreground/70">Client ID</strong> and <strong class="text-foreground/70">Client Secret</strong> into the form below
Copy the <strong class="text-foreground">Client ID</strong> and <strong class="text-foreground">Client Secret</strong> into the form below
</li>
</ol>
</div>
@ -63,7 +60,7 @@
autocomplete="off"
spellcheck="false"
required />
<p class="mt-1.5 text-xs text-foreground/30">Printed to the server console on first boot.</p>
<p class="mt-1.5 text-xs text-muted-foreground">Printed to the server console on first boot.</p>
</div>
{% endif %}
<div>
@ -93,7 +90,7 @@
<label for="forgejo_oauth_client_secret" class="form-label">
OAuth Client Secret
{% if reconfiguring %}
<span class="ml-1 font-normal tracking-normal normal-case text-foreground/30">(leave blank to keep current)</span>
<span class="ml-1 font-normal tracking-normal normal-case text-muted-foreground">(leave blank to keep current)</span>
{% endif %}
</label>
<input type="password"
@ -108,7 +105,7 @@
<div>
<label for="firebreak_public_base_url" class="form-label">
Public Base URL
<span class="ml-1 font-normal tracking-normal normal-case text-foreground/30">(optional)</span>
<span class="ml-1 font-normal tracking-normal normal-case text-muted-foreground">(optional)</span>
</label>
<input type="url"
id="firebreak_public_base_url"
@ -117,8 +114,8 @@
placeholder="https://share.example.com"
autocomplete="off"
value="{{ firebreak_public_base_url }}" />
<p class="mt-1.5 text-xs text-foreground/30">
Your production domain for OAuth redirects. Leave blank on localhost &mdash; Firebreak will use <code class="font-mono text-foreground/40">http://localhost:8000</code> automatically.
<p class="mt-1.5 text-xs text-muted-foreground">
Your production domain for OAuth redirects. Leave blank on localhost &mdash; Firebreak will use <code class="font-mono">http://localhost:8000</code> automatically.
</p>
</div>
<button type="submit" class="btn btn-primary w-full mt-2">