feat(website): apply new Paseo and Paseo Hub branding (#10271)
Replace the website's legacy Paseo mark and plain-text headers with the canonical Paseo butterfly and Paseo Hub flower marks and Plus Jakarta Sans SemiBold lockups from assets/brand/. Sourcing the website SVG components directly from assets/brand/ keeps mark proportions, 94% butterfly optical balance, and outlined wordmarks aligned with the canonical assets without shipping an extra webfont or duplicating paths across components.
This commit is contained in:
1 parent
7b9c6a7d4a
commit
b3d860cce2
12 files changed
+281
-47
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -1,4 +1,4 @@
|
||||
<svg width="48" height="48" viewBox="0 0 700 700" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="700" height="700" rx="156" fill="black"/>
|
||||
<path transform="translate(350,350) scale(1.05) translate(-350,-350)" d="M291.495 91.399C333.897 104.892 379.155 135.075 416.229 173.191C453.389 211.394 484.429 259.725 495.708 311.251C497.555 319.693 498.865 328.216 499.586 336.776C509.755 326.554 519.867 317.815 529.89 311.547C540.647 304.821 553.808 299.297 568.641 299.785C584.29 300.299 597.395 307.326 607.747 317.632C632.173 341.947 629.612 372.898 619.872 397.936C610.185 422.833 591.557 447.826 572.732 469.124C553.591 490.78 532.713 510.308 516.779 524.318C508.775 531.355 501.936 537.073 497.07 541.052C494.635 543.043 492.689 544.603 491.334 545.679C490.657 546.217 490.126 546.635 489.756 546.926C489.571 547.071 489.425 547.184 489.321 547.265C489.269 547.305 489.227 547.338 489.196 547.362C489.181 547.374 489.168 547.385 489.157 547.393C489.153 547.397 489.147 547.401 489.144 547.403C489.134 547.4 488.837 547.06 473.001 528.499L489.135 547.411C478.157 555.911 462.033 554.334 453.122 543.89C444.213 533.448 445.887 518.094 456.861 509.592C456.863 509.591 456.865 509.588 456.869 509.586C456.88 509.577 456.902 509.561 456.933 509.536C456.997 509.487 457.101 509.404 457.245 509.292C457.533 509.066 457.979 508.715 458.569 508.247C459.749 507.31 461.506 505.901 463.742 504.073C468.216 500.414 474.589 495.088 482.073 488.508C497.114 475.284 516.315 457.282 533.578 437.75C551.157 417.862 565.26 398.01 571.859 381.048C578.403 364.227 575.681 356.302 570.724 351.367C568.928 349.579 567.744 348.902 567.267 348.676C566.888 348.496 566.811 348.52 566.804 348.52C566.605 348.513 563.971 348.537 557.953 352.3C545.161 360.299 528.815 377.492 506.807 403.867C494.927 418.106 481.871 434.435 467.547 451.957C463.709 457.28 459.503 462.538 454.91 467.717L454.702 467.549C420.808 508.347 380.37 553.856 332.335 593.848C301.853 619.226 262.656 622.597 228.642 614.743C194.834 606.936 162.658 587.448 142.217 561.686C108.054 518.631 100.57 469.801 108.223 427.836C115.56 387.606 137.391 351.005 166.502 331.557C161.248 315.813 156.813 299.49 153.519 283.013C142.593 228.368 143.239 167.031 174.28 119.619C186.922 100.31 205.846 89.1535 227.387 85.2773C248.1 81.5504 270.278 84.648 291.495 91.399ZM378.642 206.356C345.773 172.563 307.463 147.917 275.208 137.654C259.096 132.527 246.171 131.514 236.828 133.195C228.314 134.727 222.227 138.497 217.721 145.38C196.712 177.468 193.858 224.004 203.82 273.827C206.532 287.394 210.127 300.834 214.345 313.817C236.45 310.276 260.156 311.463 281.22 317.11C319.621 327.403 357.501 355.419 357.501 405.654C357.501 435.255 339.111 465.136 307.278 473.815C273.211 483.103 238.854 464.822 213.105 427.541C203.716 413.947 194.443 397.766 185.947 379.89C174.028 392.223 163.08 411.953 158.673 436.118C153.128 466.518 158.514 501.286 183.085 532.253C195.993 548.522 217.742 562.031 240.771 567.349C263.594 572.619 284.147 569.24 298.664 557.154C349.383 514.927 390.709 466.547 426.366 422.952C448.879 390.86 453.195 356.06 445.578 321.265C436.703 280.718 411.425 240.06 378.642 206.356ZM306.296 405.722C306.296 384.769 292.223 370.736 267.284 364.051C256.012 361.03 244.156 360.087 233.095 360.771C240.361 375.935 248.168 389.513 255.897 400.704C275.647 429.298 289.989 427.822 293.247 426.934C298.737 425.437 306.296 418.161 306.296 405.722Z" fill="white"/>
|
||||
<rect width="700" height="700" rx="156" fill="#000000" />
|
||||
<path d="M456.84 526.11C462.73 521.72 467.57 517.89 471.79 514.38C476.02 510.88 479.65 507.69 483.14 504.58C486.63 501.46 489.94 498.44 493.24 495.35C496.54 492.27 499.85 489.11 503.26 485.77C506.67 482.44 510.16 478.96 513.7 475.36C517.23 471.76 520.81 468.03 524.4 464.2C527.99 460.37 531.59 456.44 535.18 452.41C538.77 448.39 542.36 444.27 545.89 440.08C549.42 435.9 552.88 431.65 556.23 427.37C559.58 423.08 562.81 418.77 565.83 414.39C568.86 410.01 571.68 405.57 574.2 401.02C576.72 396.48 578.95 391.82 580.73 387C582.5 382.18 583.83 377.16 584.55 371.94C585.27 366.73 585.37 361.37 584.63 356.15C583.9 350.93 582.28 345.83 579.74 341.22C577.21 336.62 573.83 332.53 569.82 329.45C565.81 326.37 561.14 324.38 556.21 323.54C551.28 322.69 546.1 322.94 541.16 324.13C536.22 325.32 531.58 327.49 527.2 330.24C522.82 332.99 518.68 336.32 514.69 339.8C510.7 343.27 506.85 346.9 503.11 350.61C499.36 354.32 495.71 358.12 492.11 361.94C488.51 365.76 484.97 369.62 481.47 373.49C477.98 377.37 474.53 381.27 471.12 385.19C467.71 389.11 464.33 393.05 460.99 397C457.65 400.94 454.33 404.9 451.04 408.87C447.74 412.83 444.47 416.8 441.21 420.78C437.95 424.75 434.7 428.73 431.46 432.71C428.22 436.69 424.98 440.68 421.74 444.67C418.5 448.66 415.27 452.66 412.02 456.67C408.78 460.68 405.52 464.69 402.26 468.72C398.99 472.75 395.71 476.78 392.41 480.83C389.11 484.88 385.78 488.95 382.42 493.02C379.06 497.09 375.66 501.16 372.22 505.23C368.78 509.3 365.28 513.37 361.73 517.41C358.17 521.45 354.55 525.46 350.85 529.41C347.14 533.36 343.36 537.24 339.47 541.02C335.59 544.8 331.62 548.47 327.54 551.97C323.45 555.47 319.27 558.81 314.98 561.93C310.68 565.05 306.29 567.97 301.8 570.62C297.31 573.28 292.72 575.68 288.04 577.8C283.37 579.92 278.61 581.75 273.79 583.28C268.96 584.81 264.07 586.03 259.14 586.93C254.2 587.83 249.23 588.4 244.24 588.64C239.25 588.88 234.24 588.79 229.26 588.36C224.28 587.93 219.32 587.16 214.42 586.06C209.51 584.95 204.67 583.52 199.91 581.77C195.16 580.01 190.5 577.94 185.97 575.56C181.45 573.19 177.05 570.51 172.82 567.55C168.58 564.59 164.52 561.36 160.64 557.87C156.77 554.39 153.09 550.65 149.64 546.7C146.19 542.75 142.95 538.58 139.97 534.23C136.98 529.88 134.23 525.34 131.75 520.67C129.27 515.99 127.04 511.16 125.09 506.23C123.15 501.3 121.47 496.26 120.08 491.16C118.69 486.05 117.57 480.88 116.75 475.67C115.93 470.47 115.39 465.24 115.14 460.02C114.89 454.79 114.93 449.58 115.26 444.41C115.58 439.24 116.2 434.12 117.1 429.08C117.99 424.04 119.18 419.08 120.64 414.24C122.11 409.4 123.86 404.67 125.88 400.08C127.91 395.49 130.21 391.05 132.78 386.77C135.36 382.5 138.21 378.39 141.32 374.47C144.44 370.55 147.83 366.82 151.47 363.3C155.12 359.77 159.03 356.47 163.19 353.41C167.35 350.36 171.76 347.55 176.39 345.05C181.03 342.55 185.88 340.35 190.91 338.52C195.94 336.7 201.17 335.24 206.49 334.19C211.82 333.15 217.24 332.51 222.68 332.31C228.11 332.12 233.55 332.37 238.92 333.01C244.29 333.66 249.59 334.71 254.75 336.09C259.91 337.48 264.92 339.21 269.75 341.29C274.58 343.36 279.23 345.78 283.63 348.53C288.04 351.29 292.18 354.4 295.95 357.9C299.71 361.39 303.1 365.29 305.97 369.58C308.84 373.86 311.2 378.51 312.91 383.42C314.62 388.32 315.66 393.52 315.96 398.78C316.25 404.03 315.8 409.35 314.55 414.46C313.3 419.57 311.22 424.48 308.43 428.88C305.64 433.29 302.15 437.19 298.08 440.28C294.02 443.37 289.39 445.66 284.5 447.04C279.61 448.43 274.47 448.92 269.39 448.45C264.3 447.98 259.26 446.59 254.46 444.51C249.67 442.43 245.14 439.66 241.03 436.43C236.91 433.2 233.16 429.52 229.72 425.64C226.28 421.76 223.16 417.73 220.26 413.65C217.37 409.57 214.68 405.42 212.07 401.22C209.46 397.01 206.9 392.76 204.38 388.43C201.85 384.1 199.36 379.71 196.91 375.21C194.46 370.72 192.05 366.13 189.7 361.45C187.35 356.76 185.06 351.99 182.86 347.13C180.67 342.28 178.57 337.34 176.57 332.32C174.57 327.31 172.68 322.22 170.91 317.07C169.13 311.91 167.48 306.69 165.96 301.42C164.44 296.14 163.05 290.8 161.8 285.42C160.55 280.03 159.45 274.6 158.51 269.13C157.57 263.67 156.78 258.17 156.18 252.66C155.58 247.15 155.16 241.62 154.94 236.11C154.72 230.6 154.7 225.1 154.91 219.65C155.11 214.2 155.54 208.8 156.21 203.47C156.89 198.15 157.8 192.91 158.98 187.8C160.16 182.69 161.59 177.71 163.3 172.9C165.01 168.09 166.99 163.45 169.24 159.04C171.49 154.63 174.02 150.44 176.81 146.52C179.61 142.61 182.67 138.96 185.98 135.62C189.29 132.28 192.85 129.25 196.64 126.57C200.42 123.89 204.43 121.55 208.62 119.57C212.82 117.59 217.2 115.98 221.73 114.74C226.26 113.5 230.93 112.62 235.71 112.12C240.49 111.61 245.36 111.47 250.3 111.67C255.24 111.87 260.23 112.42 265.24 113.28C270.25 114.15 275.28 115.34 280.29 116.8C285.31 118.27 290.3 120.03 295.25 122.03C300.2 124.03 305.1 126.28 309.94 128.74C314.77 131.2 319.54 133.87 324.23 136.72C328.91 139.56 333.51 142.59 338.01 145.76C342.52 148.93 346.93 152.24 351.24 155.68C355.54 159.11 359.75 162.67 363.85 166.33C367.95 169.99 371.94 173.74 375.82 177.59C379.7 181.43 383.47 185.36 387.13 189.37C390Line truncated
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 5.9 KiB |
@@ -1,3 +1,3 @@
|
||||
<svg width="32" height="32" viewBox="0 0 700 700" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M291.495 91.399C333.897 104.892 379.155 135.075 416.229 173.191C453.389 211.394 484.429 259.725 495.708 311.251C497.555 319.693 498.865 328.216 499.586 336.776C509.755 326.554 519.867 317.815 529.89 311.547C540.647 304.821 553.808 299.297 568.641 299.785C584.29 300.299 597.395 307.326 607.747 317.632C632.173 341.947 629.612 372.898 619.872 397.936C610.185 422.833 591.557 447.826 572.732 469.124C553.591 490.78 532.713 510.308 516.779 524.318C508.775 531.355 501.936 537.073 497.07 541.052C494.635 543.043 492.689 544.603 491.334 545.679C490.657 546.217 490.126 546.635 489.756 546.926C489.571 547.071 489.425 547.184 489.321 547.265C489.269 547.305 489.227 547.338 489.196 547.362C489.181 547.374 489.168 547.385 489.157 547.393C489.153 547.397 489.147 547.401 489.144 547.403C489.134 547.4 488.837 547.06 473.001 528.499L489.135 547.411C478.157 555.911 462.033 554.334 453.122 543.89C444.213 533.448 445.887 518.094 456.861 509.592C456.863 509.591 456.865 509.588 456.869 509.586C456.88 509.577 456.902 509.561 456.933 509.536C456.997 509.487 457.101 509.404 457.245 509.292C457.533 509.066 457.979 508.715 458.569 508.247C459.749 507.31 461.506 505.901 463.742 504.073C468.216 500.414 474.589 495.088 482.073 488.508C497.114 475.284 516.315 457.282 533.578 437.75C551.157 417.862 565.26 398.01 571.859 381.048C578.403 364.227 575.681 356.302 570.724 351.367C568.928 349.579 567.744 348.902 567.267 348.676C566.888 348.496 566.811 348.52 566.804 348.52C566.605 348.513 563.971 348.537 557.953 352.3C545.161 360.299 528.815 377.492 506.807 403.867C494.927 418.106 481.871 434.435 467.547 451.957C463.709 457.28 459.503 462.538 454.91 467.717L454.702 467.549C420.808 508.347 380.37 553.856 332.335 593.848C301.853 619.226 262.656 622.597 228.642 614.743C194.834 606.936 162.658 587.448 142.217 561.686C108.054 518.631 100.57 469.801 108.223 427.836C115.56 387.606 137.391 351.005 166.502 331.557C161.248 315.813 156.813 299.49 153.519 283.013C142.593 228.368 143.239 167.031 174.28 119.619C186.922 100.31 205.846 89.1535 227.387 85.2773C248.1 81.5504 270.278 84.648 291.495 91.399ZM378.642 206.356C345.773 172.563 307.463 147.917 275.208 137.654C259.096 132.527 246.171 131.514 236.828 133.195C228.314 134.727 222.227 138.497 217.721 145.38C196.712 177.468 193.858 224.004 203.82 273.827C206.532 287.394 210.127 300.834 214.345 313.817C236.45 310.276 260.156 311.463 281.22 317.11C319.621 327.403 357.501 355.419 357.501 405.654C357.501 435.255 339.111 465.136 307.278 473.815C273.211 483.103 238.854 464.822 213.105 427.541C203.716 413.947 194.443 397.766 185.947 379.89C174.028 392.223 163.08 411.953 158.673 436.118C153.128 466.518 158.514 501.286 183.085 532.253C195.993 548.522 217.742 562.031 240.771 567.349C263.594 572.619 284.147 569.24 298.664 557.154C349.383 514.927 390.709 466.547 426.366 422.952C448.879 390.86 453.195 356.06 445.578 321.265C436.703 280.718 411.425 240.06 378.642 206.356ZM306.296 405.722C306.296 384.769 292.223 370.736 267.284 364.051C256.012 361.03 244.156 360.087 233.095 360.771C240.361 375.935 248.168 389.513 255.897 400.704C275.647 429.298 289.989 427.822 293.247 426.934C298.737 425.437 306.296 418.161 306.296 405.722Z" fill="white"/>
|
||||
<svg width="700" height="700" viewBox="0 0 700 700" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M456.84 526.11C462.73 521.72 467.57 517.89 471.79 514.38C476.02 510.88 479.65 507.69 483.14 504.58C486.63 501.46 489.94 498.44 493.24 495.35C496.54 492.27 499.85 489.11 503.26 485.77C506.67 482.44 510.16 478.96 513.7 475.36C517.23 471.76 520.81 468.03 524.4 464.2C527.99 460.37 531.59 456.44 535.18 452.41C538.77 448.39 542.36 444.27 545.89 440.08C549.42 435.9 552.88 431.65 556.23 427.37C559.58 423.08 562.81 418.77 565.83 414.39C568.86 410.01 571.68 405.57 574.2 401.02C576.72 396.48 578.95 391.82 580.73 387C582.5 382.18 583.83 377.16 584.55 371.94C585.27 366.73 585.37 361.37 584.63 356.15C583.9 350.93 582.28 345.83 579.74 341.22C577.21 336.62 573.83 332.53 569.82 329.45C565.81 326.37 561.14 324.38 556.21 323.54C551.28 322.69 546.1 322.94 541.16 324.13C536.22 325.32 531.58 327.49 527.2 330.24C522.82 332.99 518.68 336.32 514.69 339.8C510.7 343.27 506.85 346.9 503.11 350.61C499.36 354.32 495.71 358.12 492.11 361.94C488.51 365.76 484.97 369.62 481.47 373.49C477.98 377.37 474.53 381.27 471.12 385.19C467.71 389.11 464.33 393.05 460.99 397C457.65 400.94 454.33 404.9 451.04 408.87C447.74 412.83 444.47 416.8 441.21 420.78C437.95 424.75 434.7 428.73 431.46 432.71C428.22 436.69 424.98 440.68 421.74 444.67C418.5 448.66 415.27 452.66 412.02 456.67C408.78 460.68 405.52 464.69 402.26 468.72C398.99 472.75 395.71 476.78 392.41 480.83C389.11 484.88 385.78 488.95 382.42 493.02C379.06 497.09 375.66 501.16 372.22 505.23C368.78 509.3 365.28 513.37 361.73 517.41C358.17 521.45 354.55 525.46 350.85 529.41C347.14 533.36 343.36 537.24 339.47 541.02C335.59 544.8 331.62 548.47 327.54 551.97C323.45 555.47 319.27 558.81 314.98 561.93C310.68 565.05 306.29 567.97 301.8 570.62C297.31 573.28 292.72 575.68 288.04 577.8C283.37 579.92 278.61 581.75 273.79 583.28C268.96 584.81 264.07 586.03 259.14 586.93C254.2 587.83 249.23 588.4 244.24 588.64C239.25 588.88 234.24 588.79 229.26 588.36C224.28 587.93 219.32 587.16 214.42 586.06C209.51 584.95 204.67 583.52 199.91 581.77C195.16 580.01 190.5 577.94 185.97 575.56C181.45 573.19 177.05 570.51 172.82 567.55C168.58 564.59 164.52 561.36 160.64 557.87C156.77 554.39 153.09 550.65 149.64 546.7C146.19 542.75 142.95 538.58 139.97 534.23C136.98 529.88 134.23 525.34 131.75 520.67C129.27 515.99 127.04 511.16 125.09 506.23C123.15 501.3 121.47 496.26 120.08 491.16C118.69 486.05 117.57 480.88 116.75 475.67C115.93 470.47 115.39 465.24 115.14 460.02C114.89 454.79 114.93 449.58 115.26 444.41C115.58 439.24 116.2 434.12 117.1 429.08C117.99 424.04 119.18 419.08 120.64 414.24C122.11 409.4 123.86 404.67 125.88 400.08C127.91 395.49 130.21 391.05 132.78 386.77C135.36 382.5 138.21 378.39 141.32 374.47C144.44 370.55 147.83 366.82 151.47 363.3C155.12 359.77 159.03 356.47 163.19 353.41C167.35 350.36 171.76 347.55 176.39 345.05C181.03 342.55 185.88 340.35 190.91 338.52C195.94 336.7 201.17 335.24 206.49 334.19C211.82 333.15 217.24 332.51 222.68 332.31C228.11 332.12 233.55 332.37 238.92 333.01C244.29 333.66 249.59 334.71 254.75 336.09C259.91 337.48 264.92 339.21 269.75 341.29C274.58 343.36 279.23 345.78 283.63 348.53C288.04 351.29 292.18 354.4 295.95 357.9C299.71 361.39 303.1 365.29 305.97 369.58C308.84 373.86 311.2 378.51 312.91 383.42C314.62 388.32 315.66 393.52 315.96 398.78C316.25 404.03 315.8 409.35 314.55 414.46C313.3 419.57 311.22 424.48 308.43 428.88C305.64 433.29 302.15 437.19 298.08 440.28C294.02 443.37 289.39 445.66 284.5 447.04C279.61 448.43 274.47 448.92 269.39 448.45C264.3 447.98 259.26 446.59 254.46 444.51C249.67 442.43 245.14 439.66 241.03 436.43C236.91 433.2 233.16 429.52 229.72 425.64C226.28 421.76 223.16 417.73 220.26 413.65C217.37 409.57 214.68 405.42 212.07 401.22C209.46 397.01 206.9 392.76 204.38 388.43C201.85 384.1 199.36 379.71 196.91 375.21C194.46 370.72 192.05 366.13 189.7 361.45C187.35 356.76 185.06 351.99 182.86 347.13C180.67 342.28 178.57 337.34 176.57 332.32C174.57 327.31 172.68 322.22 170.91 317.07C169.13 311.91 167.48 306.69 165.96 301.42C164.44 296.14 163.05 290.8 161.8 285.42C160.55 280.03 159.45 274.6 158.51 269.13C157.57 263.67 156.78 258.17 156.18 252.66C155.58 247.15 155.16 241.62 154.94 236.11C154.72 230.6 154.7 225.1 154.91 219.65C155.11 214.2 155.54 208.8 156.21 203.47C156.89 198.15 157.8 192.91 158.98 187.8C160.16 182.69 161.59 177.71 163.3 172.9C165.01 168.09 166.99 163.45 169.24 159.04C171.49 154.63 174.02 150.44 176.81 146.52C179.61 142.61 182.67 138.96 185.98 135.62C189.29 132.28 192.85 129.25 196.64 126.57C200.42 123.89 204.43 121.55 208.62 119.57C212.82 117.59 217.2 115.98 221.73 114.74C226.26 113.5 230.93 112.62 235.71 112.12C240.49 111.61 245.36 111.47 250.3 111.67C255.24 111.87 260.23 112.42 265.24 113.28C270.25 114.15 275.28 115.34 280.29 116.8C285.31 118.27 290.3 120.03 295.25 122.03C300.2 124.03 305.1 126.28 309.94 128.74C314.77 131.2 319.54 133.87 324.23 136.72C328.91 139.56 333.51 142.59 338.01 145.76C342.52 148.93 346.93 152.24 351.24 155.68C355.54 159.11 359.75 162.67 363.85 166.33C367.95 169.99 371.94 173.74 375.82 177.59C379.7 181.43 383.47 185.36 387.13 189.37C390Line truncated
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 5.9 KiB |
@@ -89,6 +89,7 @@ import {
|
||||
PiIcon,
|
||||
} from "~/components/agent-icons";
|
||||
import { DiscordIcon, GitHubIcon, SlackIcon } from "~/components/brand-icons";
|
||||
import { PaseoHubMark } from "~/components/paseo-brand";
|
||||
import {
|
||||
MobileChat,
|
||||
MobileDiff,
|
||||
@@ -515,6 +516,7 @@ function TurnkeySection() {
|
||||
description={t("landing.runAnywhere.teamsDescription")}
|
||||
ctaHref={localize("/hub")}
|
||||
ctaLabel={t("landing.runAnywhere.teamsCta")}
|
||||
ctaIcon={PASEO_HUB_CTA_ICON}
|
||||
showIntegrationIcons
|
||||
/>
|
||||
</div>
|
||||
@@ -523,12 +525,15 @@ function TurnkeySection() {
|
||||
);
|
||||
}
|
||||
|
||||
const PASEO_HUB_CTA_ICON = <PaseoHubMark className="h-4 w-4 shrink-0" />;
|
||||
|
||||
function TurnkeyExtensionCard({
|
||||
icon: Icon,
|
||||
title,
|
||||
description,
|
||||
ctaHref,
|
||||
ctaLabel,
|
||||
ctaIcon,
|
||||
showIntegrationIcons = false,
|
||||
}: {
|
||||
icon: LucideIcon;
|
||||
@@ -536,6 +541,7 @@ function TurnkeyExtensionCard({
|
||||
description: string;
|
||||
ctaHref: string;
|
||||
ctaLabel: string;
|
||||
ctaIcon?: React.ReactNode;
|
||||
showIntegrationIcons?: boolean;
|
||||
}) {
|
||||
return (
|
||||
@@ -545,6 +551,7 @@ function TurnkeyExtensionCard({
|
||||
href={ctaHref}
|
||||
className="inline-flex items-center gap-1.5 rounded-full bg-foreground px-2.5 py-1.5 text-xs text-background transition-colors hover:bg-foreground/90"
|
||||
>
|
||||
{ctaIcon}
|
||||
{ctaLabel}
|
||||
<ArrowRight className="h-3.5 w-3.5" />
|
||||
</a>
|
||||
|
||||
@@ -1,21 +1,11 @@
|
||||
// Exact SVG paths from packages/app/src/components/icons/
|
||||
|
||||
import { OpenCodeIcon as OpenCodeBrandIcon, PiIcon as PiBrandIcon } from "../agent-icons";
|
||||
import { PaseoMark as CanonicalPaseoMark } from "../paseo-brand";
|
||||
|
||||
/** The Paseo brand swirl — public/logo.svg, drawn as a small sidebar avatar mark. */
|
||||
/** The Paseo butterfly mark, drawn as a small sidebar avatar or tool-call mark. */
|
||||
export function PaseoMark({ size = 13, className }: { size?: number; className?: string }) {
|
||||
return (
|
||||
<svg
|
||||
width={size}
|
||||
height={size}
|
||||
viewBox="0 0 700 700"
|
||||
fill="currentColor"
|
||||
aria-hidden="true"
|
||||
className={className}
|
||||
>
|
||||
<path d="M291.495 91.399C333.897 104.892 379.155 135.075 416.229 173.191C453.389 211.394 484.429 259.725 495.708 311.251C497.555 319.693 498.865 328.216 499.586 336.776C509.755 326.554 519.867 317.815 529.89 311.547C540.647 304.821 553.808 299.297 568.641 299.785C584.29 300.299 597.395 307.326 607.747 317.632C632.173 341.947 629.612 372.898 619.872 397.936C610.185 422.833 591.557 447.826 572.732 469.124C553.591 490.78 532.713 510.308 516.779 524.318C508.775 531.355 501.936 537.073 497.07 541.052C494.635 543.043 492.689 544.603 491.334 545.679C490.657 546.217 490.126 546.635 489.756 546.926C489.571 547.071 489.425 547.184 489.321 547.265C489.269 547.305 489.227 547.338 489.196 547.362C489.181 547.374 489.168 547.385 489.157 547.393C489.153 547.397 489.147 547.401 489.144 547.403C489.134 547.4 488.837 547.06 473.001 528.499L489.135 547.411C478.157 555.911 462.033 554.334 453.122 543.89C444.213 533.448 445.887 518.094 456.861 509.592C456.863 509.591 456.865 509.588 456.869 509.586C456.88 509.577 456.902 509.561 456.933 509.536C456.997 509.487 457.101 509.404 457.245 509.292C457.533 509.066 457.979 508.715 458.569 508.247C459.749 507.31 461.506 505.901 463.742 504.073C468.216 500.414 474.589 495.088 482.073 488.508C497.114 475.284 516.315 457.282 533.578 437.75C551.157 417.862 565.26 398.01 571.859 381.048C578.403 364.227 575.681 356.302 570.724 351.367C568.928 349.579 567.744 348.902 567.267 348.676C566.888 348.496 566.811 348.52 566.804 348.52C566.605 348.513 563.971 348.537 557.953 352.3C545.161 360.299 528.815 377.492 506.807 403.867C494.927 418.106 481.871 434.435 467.547 451.957C463.709 457.28 459.503 462.538 454.91 467.717L454.702 467.549C420.808 508.347 380.37 553.856 332.335 593.848C301.853 619.226 262.656 622.597 228.642 614.743C194.834 606.936 162.658 587.448 142.217 561.686C108.054 518.631 100.57 469.801 108.223 427.836C115.56 387.606 137.391 351.005 166.502 331.557C161.248 315.813 156.813 299.49 153.519 283.013C142.593 228.368 143.239 167.031 174.28 119.619C186.922 100.31 205.846 89.1535 227.387 85.2773C248.1 81.5504 270.278 84.648 291.495 91.399ZM378.642 206.356C345.773 172.563 307.463 147.917 275.208 137.654C259.096 132.527 246.171 131.514 236.828 133.195C228.314 134.727 222.227 138.497 217.721 145.38C196.712 177.468 193.858 224.004 203.82 273.827C206.532 287.394 210.127 300.834 214.345 313.817C236.45 310.276 260.156 311.463 281.22 317.11C319.621 327.403 357.501 355.419 357.501 405.654C357.501 435.255 339.111 465.136 307.278 473.815C273.211 483.103 238.854 464.822 213.105 427.541C203.716 413.947 194.443 397.766 185.947 379.89C174.028 392.223 163.08 411.953 158.673 436.118C153.128 466.518 158.514 501.286 183.085 532.253C195.993 548.522 217.742 562.031 240.771 567.349C263.594 572.619 284.147 569.24 298.664 557.154C349.383 514.927 390.709 466.547 426.366 422.952C448.879 390.86 453.195 356.06 445.578 321.265C436.703 280.718 411.425 240.06 378.642 206.356ZM306.296 405.722C306.296 384.769 292.223 370.736 267.284 364.051C256.012 361.03 244.156 360.087 233.095 360.771C240.361 375.935 248.168 389.513 255.897 400.704C275.647 429.298 289.989 427.822 293.247 426.934C298.737 425.437 306.296 418.161 306.296 405.722Z" />
|
||||
</svg>
|
||||
);
|
||||
return <CanonicalPaseoMark width={size} height={size} className={className} />;
|
||||
}
|
||||
|
||||
/** GitHub mark for the toolbar and PR panel. */
|
||||
|
||||
@@ -1,25 +1,11 @@
|
||||
// Small shared bits for the mobile mockups. The Paseo butterfly mark is the
|
||||
// app icon (packages/website/public/favicon.svg) with the black plate dropped,
|
||||
// so it can be tinted and placed on any tile. Tile fills are the app's identity
|
||||
// Small shared bits for the mobile mockups. Tile fills are the app's identity
|
||||
// palette — packages/app/src/styles/identity-colors.ts — surfaced as
|
||||
// `--color-mock-tile-*` tokens in styles.css.
|
||||
|
||||
const BUTTERFLY_D =
|
||||
"M291.495 91.399C333.897 104.892 379.155 135.075 416.229 173.191C453.389 211.394 484.429 259.725 495.708 311.251C497.555 319.693 498.865 328.216 499.586 336.776C509.755 326.554 519.867 317.815 529.89 311.547C540.647 304.821 553.808 299.297 568.641 299.785C584.29 300.299 597.395 307.326 607.747 317.632C632.173 341.947 629.612 372.898 619.872 397.936C610.185 422.833 591.557 447.826 572.732 469.124C553.591 490.78 532.713 510.308 516.779 524.318C508.775 531.355 501.936 537.073 497.07 541.052C494.635 543.043 492.689 544.603 491.334 545.679C490.657 546.217 490.126 546.635 489.756 546.926C489.571 547.071 489.425 547.184 489.321 547.265C489.269 547.305 489.227 547.338 489.196 547.362C489.181 547.374 489.168 547.385 489.157 547.393C489.153 547.397 489.147 547.401 489.144 547.403C489.134 547.4 488.837 547.06 473.001 528.499L489.135 547.411C478.157 555.911 462.033 554.334 453.122 543.89C444.213 533.448 445.887 518.094 456.861 509.592C456.863 509.591 456.865 509.588 456.869 509.586C456.88 509.577 456.902 509.561 456.933 509.536C456.997 509.487 457.101 509.404 457.245 509.292C457.533 509.066 457.979 508.715 458.569 508.247C459.749 507.31 461.506 505.901 463.742 504.073C468.216 500.414 474.589 495.088 482.073 488.508C497.114 475.284 516.315 457.282 533.578 437.75C551.157 417.862 565.26 398.01 571.859 381.048C578.403 364.227 575.681 356.302 570.724 351.367C568.928 349.579 567.744 348.902 567.267 348.676C566.888 348.496 566.811 348.52 566.804 348.52C566.605 348.513 563.971 348.537 557.953 352.3C545.161 360.299 528.815 377.492 506.807 403.867C494.927 418.106 481.871 434.435 467.547 451.957C463.709 457.28 459.503 462.538 454.91 467.717L454.702 467.549C420.808 508.347 380.37 553.856 332.335 593.848C301.853 619.226 262.656 622.597 228.642 614.743C194.834 606.936 162.658 587.448 142.217 561.686C108.054 518.631 100.57 469.801 108.223 427.836C115.56 387.606 137.391 351.005 166.502 331.557C161.248 315.813 156.813 299.49 153.519 283.013C142.593 228.368 143.239 167.031 174.28 119.619C186.922 100.31 205.846 89.1535 227.387 85.2773C248.1 81.5504 270.278 84.648 291.495 91.399ZM378.642 206.356C345.773 172.563 307.463 147.917 275.208 137.654C259.096 132.527 246.171 131.514 236.828 133.195C228.314 134.727 222.227 138.497 217.721 145.38C196.712 177.468 193.858 224.004 203.82 273.827C206.532 287.394 210.127 300.834 214.345 313.817C236.45 310.276 260.156 311.463 281.22 317.11C319.621 327.403 357.501 355.419 357.501 405.654C357.501 435.255 339.111 465.136 307.278 473.815C273.211 483.103 238.854 464.822 213.105 427.541C203.716 413.947 194.443 397.766 185.947 379.89C174.028 392.223 163.08 411.953 158.673 436.118C153.128 466.518 158.514 501.286 183.085 532.253C195.993 548.522 217.742 562.031 240.771 567.349C263.594 572.619 284.147 569.24 298.664 557.154C349.383 514.927 390.709 466.547 426.366 422.952C448.879 390.86 453.195 356.06 445.578 321.265C436.703 280.718 411.425 240.06 378.642 206.356ZM306.296 405.722C306.296 384.769 292.223 370.736 267.284 364.051C256.012 361.03 244.156 360.087 233.095 360.771C240.361 375.935 248.168 389.513 255.897 400.704C275.647 429.298 289.989 427.822 293.247 426.934C298.737 425.437 306.296 418.161 306.296 405.722Z";
|
||||
import { PaseoMark as CanonicalPaseoMark } from "../../paseo-brand";
|
||||
|
||||
export function PaseoMark({ size = 20, className }: { size?: number; className?: string }) {
|
||||
return (
|
||||
<svg
|
||||
width={size}
|
||||
height={size}
|
||||
viewBox="0 0 700 700"
|
||||
fill="currentColor"
|
||||
className={className}
|
||||
aria-hidden="true"
|
||||
>
|
||||
<path transform="translate(350,350) scale(1.05) translate(-350,-350)" d={BUTTERFLY_D} />
|
||||
</svg>
|
||||
);
|
||||
return <CanonicalPaseoMark width={size} height={size} className={className} />;
|
||||
}
|
||||
|
||||
/** A hashed identity tile — one letter on a muted identity fill. */
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
import { readFileSync } from "node:fs";
|
||||
import path from "node:path";
|
||||
import { renderToStaticMarkup } from "react-dom/server";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { HubLockup, PaseoHubLockup, PaseoHubMark, PaseoLockup, PaseoMark } from "./paseo-brand";
|
||||
|
||||
const REPO_ROOT = path.resolve(import.meta.dirname, "../../../..");
|
||||
const BRAND_ROOT = path.join(REPO_ROOT, "assets/brand");
|
||||
const WEBSITE_PUBLIC = path.join(REPO_ROOT, "packages/website/public");
|
||||
|
||||
function extractPathData(svg: string): string[] {
|
||||
return [...svg.matchAll(/\bd="([^"]+)"/g)].map((m) => m[1]);
|
||||
}
|
||||
|
||||
describe("paseo brand assets", () => {
|
||||
it("renders canonical Paseo and Paseo Hub marks with currentColor", () => {
|
||||
const paseoHtml = renderToStaticMarkup(<PaseoMark className="h-6 w-6" />);
|
||||
const hubHtml = renderToStaticMarkup(<PaseoHubMark className="h-6 w-6" />);
|
||||
const canonicalPaseo = readFileSync(path.join(BRAND_ROOT, "marks/paseo-white.svg"), "utf8");
|
||||
const canonicalHub = readFileSync(path.join(BRAND_ROOT, "marks/paseo-hub-white.svg"), "utf8");
|
||||
|
||||
expect(paseoHtml).toContain('viewBox="0 0 700 700"');
|
||||
expect(paseoHtml).toContain('stroke="currentColor"');
|
||||
expect(paseoHtml).toContain('stroke-width="50"');
|
||||
expect(extractPathData(paseoHtml)).toEqual(extractPathData(canonicalPaseo));
|
||||
|
||||
expect(hubHtml).toContain('viewBox="0 0 700 700"');
|
||||
expect(hubHtml).toContain('stroke="currentColor"');
|
||||
expect(hubHtml).toContain('stroke-width="50"');
|
||||
expect(extractPathData(hubHtml)).toEqual(extractPathData(canonicalHub));
|
||||
});
|
||||
|
||||
it("renders canonical Paseo, Paseo Hub, and Hub lockups at shared 144-unit height", () => {
|
||||
const cases = [
|
||||
{ Component: PaseoLockup, file: "lockups/paseo-white.svg", width: 580 },
|
||||
{ Component: PaseoHubLockup, file: "lockups/paseo-hub-white.svg", width: 842 },
|
||||
{ Component: HubLockup, file: "lockups/hub-white.svg", width: 461 },
|
||||
];
|
||||
|
||||
for (const { Component, file, width } of cases) {
|
||||
const html = renderToStaticMarkup(<Component className="h-6 w-auto" />);
|
||||
const canonical = readFileSync(path.join(BRAND_ROOT, file), "utf8");
|
||||
|
||||
expect(html).toContain(`viewBox="0 0 ${width} 144"`);
|
||||
expect(html).toContain(`width="${width}"`);
|
||||
expect(html).toContain('height="144"');
|
||||
expect(html).toContain('stroke="currentColor"');
|
||||
expect(html).toContain('fill="currentColor"');
|
||||
expect(extractPathData(html)).toEqual(extractPathData(canonical));
|
||||
}
|
||||
});
|
||||
|
||||
it("keeps public/logo.svg and public/favicon.svg aligned with assets/brand", () => {
|
||||
const canonicalPaseo = readFileSync(path.join(BRAND_ROOT, "marks/paseo-white.svg"), "utf8");
|
||||
const publicLogo = readFileSync(path.join(WEBSITE_PUBLIC, "logo.svg"), "utf8");
|
||||
const publicFavicon = readFileSync(path.join(WEBSITE_PUBLIC, "favicon.svg"), "utf8");
|
||||
|
||||
expect(publicLogo).toBe(canonicalPaseo);
|
||||
expect(publicFavicon).toContain('<rect width="700" height="700" rx="156" fill="#000000"');
|
||||
expect(extractPathData(publicFavicon)).toEqual(extractPathData(canonicalPaseo));
|
||||
});
|
||||
|
||||
it("ships a multi-size favicon.ico with 48, 32, and 16px entries", () => {
|
||||
const ico = readFileSync(path.join(WEBSITE_PUBLIC, "favicon.ico"));
|
||||
expect(ico.readUInt16LE(0)).toBe(0);
|
||||
expect(ico.readUInt16LE(2)).toBe(1);
|
||||
const count = ico.readUInt16LE(4);
|
||||
const sizes: number[] = [];
|
||||
for (let i = 0; i < count; i += 1) {
|
||||
sizes.push(ico[6 + i * 16] || 256);
|
||||
}
|
||||
expect(sizes).toEqual([48, 32, 16]);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,154 @@
|
||||
// Canonical Paseo and Paseo Hub brand marks and lockups, sourced directly from
|
||||
// `assets/brand/` (see `assets/brand/README.md`).
|
||||
|
||||
import type * as React from "react";
|
||||
import hubLockupSvg from "../../../../assets/brand/lockups/hub-white.svg?raw";
|
||||
import paseoHubLockupSvg from "../../../../assets/brand/lockups/paseo-hub-white.svg?raw";
|
||||
import paseoLockupSvg from "../../../../assets/brand/lockups/paseo-white.svg?raw";
|
||||
import paseoHubMarkSvg from "../../../../assets/brand/marks/paseo-hub-white.svg?raw";
|
||||
import paseoMarkSvg from "../../../../assets/brand/marks/paseo-white.svg?raw";
|
||||
|
||||
interface ParsedMark {
|
||||
width: number;
|
||||
height: number;
|
||||
viewBox: string;
|
||||
path: string;
|
||||
strokeWidth: number;
|
||||
}
|
||||
|
||||
interface ParsedLockup extends ParsedMark {
|
||||
wordmarkPath: string;
|
||||
}
|
||||
|
||||
function readAttr(tag: string, name: string, source: string): string {
|
||||
const match = tag.match(new RegExp(`${name}="([^"]+)"`));
|
||||
if (!match) {
|
||||
throw new Error(`Missing ${name} attribute in canonical brand SVG (${source})`);
|
||||
}
|
||||
return match[1];
|
||||
}
|
||||
|
||||
function parseSvgHeader(svg: string, source: string) {
|
||||
const svgTag = svg.match(/<svg\b[^>]*>/)?.[0];
|
||||
if (!svgTag) {
|
||||
throw new Error(`Missing <svg> root in canonical brand SVG (${source})`);
|
||||
}
|
||||
const paths = [...svg.matchAll(/<path\b[^>]*\/?>/g)].map((m) => m[0]);
|
||||
return {
|
||||
width: Number(readAttr(svgTag, "width", source)),
|
||||
height: Number(readAttr(svgTag, "height", source)),
|
||||
viewBox: readAttr(svgTag, "viewBox", source),
|
||||
paths,
|
||||
};
|
||||
}
|
||||
|
||||
function parseMark(svg: string, source: string): ParsedMark {
|
||||
const { width, height, viewBox, paths } = parseSvgHeader(svg, source);
|
||||
if (paths.length !== 1) {
|
||||
throw new Error(`Expected 1 path in brand mark SVG (${source}), found ${paths.length}`);
|
||||
}
|
||||
return {
|
||||
width,
|
||||
height,
|
||||
viewBox,
|
||||
path: readAttr(paths[0], "d", source),
|
||||
strokeWidth: Number(readAttr(paths[0], "stroke-width", source)),
|
||||
};
|
||||
}
|
||||
|
||||
function parseLockup(svg: string, source: string): ParsedLockup {
|
||||
const { width, height, viewBox, paths } = parseSvgHeader(svg, source);
|
||||
if (paths.length !== 2) {
|
||||
throw new Error(`Expected 2 paths in brand lockup SVG (${source}), found ${paths.length}`);
|
||||
}
|
||||
return {
|
||||
width,
|
||||
height,
|
||||
viewBox,
|
||||
path: readAttr(paths[0], "d", source),
|
||||
strokeWidth: Number(readAttr(paths[0], "stroke-width", source)),
|
||||
wordmarkPath: readAttr(paths[1], "d", source),
|
||||
};
|
||||
}
|
||||
|
||||
const PASEO_MARK = parseMark(paseoMarkSvg, "marks/paseo-white.svg");
|
||||
const PASEO_HUB_MARK = parseMark(paseoHubMarkSvg, "marks/paseo-hub-white.svg");
|
||||
const PASEO_LOCKUP = parseLockup(paseoLockupSvg, "lockups/paseo-white.svg");
|
||||
const PASEO_HUB_LOCKUP = parseLockup(paseoHubLockupSvg, "lockups/paseo-hub-white.svg");
|
||||
const HUB_LOCKUP = parseLockup(hubLockupSvg, "lockups/hub-white.svg");
|
||||
|
||||
function BrandMark({ asset, props }: { asset: ParsedMark; props: React.SVGProps<SVGSVGElement> }) {
|
||||
return (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width={asset.width}
|
||||
height={asset.height}
|
||||
viewBox={asset.viewBox}
|
||||
fill="none"
|
||||
aria-hidden="true"
|
||||
{...props}
|
||||
>
|
||||
<path
|
||||
d={asset.path}
|
||||
stroke="currentColor"
|
||||
strokeWidth={asset.strokeWidth}
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
|
||||
function BrandLockup({
|
||||
asset,
|
||||
props,
|
||||
}: {
|
||||
asset: ParsedLockup;
|
||||
props: React.SVGProps<SVGSVGElement>;
|
||||
}) {
|
||||
return (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width={asset.width}
|
||||
height={asset.height}
|
||||
viewBox={asset.viewBox}
|
||||
fill="none"
|
||||
aria-hidden="true"
|
||||
{...props}
|
||||
>
|
||||
<path
|
||||
d={asset.path}
|
||||
stroke="currentColor"
|
||||
strokeWidth={asset.strokeWidth}
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
<path d={asset.wordmarkPath} fill="currentColor" />
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
|
||||
/** Canonical Paseo butterfly mark (700x700 viewBox, stroked with currentColor). */
|
||||
export function PaseoMark(props: React.SVGProps<SVGSVGElement>) {
|
||||
return <BrandMark asset={PASEO_MARK} props={props} />;
|
||||
}
|
||||
|
||||
/** Canonical Paseo Hub five-petal flower mark (700x700 viewBox, stroked with currentColor). */
|
||||
export function PaseoHubMark(props: React.SVGProps<SVGSVGElement>) {
|
||||
return <BrandMark asset={PASEO_HUB_MARK} props={props} />;
|
||||
}
|
||||
|
||||
/** Canonical Paseo lockup (butterfly mark at 94% optical scale + Plus Jakarta Sans SemiBold). */
|
||||
export function PaseoLockup(props: React.SVGProps<SVGSVGElement>) {
|
||||
return <BrandLockup asset={PASEO_LOCKUP} props={props} />;
|
||||
}
|
||||
|
||||
/** Canonical Paseo Hub lockup (flower mark + Plus Jakarta Sans SemiBold). */
|
||||
export function PaseoHubLockup(props: React.SVGProps<SVGSVGElement>) {
|
||||
return <BrandLockup asset={PASEO_HUB_LOCKUP} props={props} />;
|
||||
}
|
||||
|
||||
/** Canonical Hub lockup (flower mark + "Hub"), used where Paseo is already on screen. */
|
||||
export function HubLockup(props: React.SVGProps<SVGSVGElement>) {
|
||||
return <BrandLockup asset={HUB_LOCKUP} props={props} />;
|
||||
}
|
||||
@@ -3,6 +3,7 @@ import { PLUGINS_LINKED } from "~/plugins/launch";
|
||||
import "~/styles.css";
|
||||
import { DiscordIcon, GitHubIcon } from "~/components/brand-icons";
|
||||
import { LanguageSelector } from "~/components/language-selector";
|
||||
import { PaseoLockup } from "~/components/paseo-brand";
|
||||
import { useLocalizePath } from "~/i18n";
|
||||
import { useStars } from "~/routes/__root";
|
||||
|
||||
@@ -14,9 +15,12 @@ export function SiteHeader() {
|
||||
const { stars } = useStars();
|
||||
return (
|
||||
<header className="flex flex-col items-center gap-4 md:flex-row md:justify-between">
|
||||
<a href={localize("/")} className="flex items-center gap-3">
|
||||
<img src="/logo.svg" alt="Paseo" className="w-6 h-6" />
|
||||
<span className="text-lg font-medium">Paseo</span>
|
||||
<a
|
||||
href={localize("/")}
|
||||
aria-label="Paseo"
|
||||
className="inline-flex items-center text-foreground"
|
||||
>
|
||||
<PaseoLockup className="h-[22px] w-auto" />
|
||||
</a>
|
||||
<div className="flex flex-wrap items-center justify-center gap-4">
|
||||
{PLUGINS_LINKED && (
|
||||
|
||||
@@ -9,6 +9,7 @@ import { useTranslation } from "react-i18next";
|
||||
import { buildDocsNavTree, getDoc, getDocs } from "~/docs";
|
||||
import { splitLocalePath, useLocale, useLocalizePath } from "~/i18n";
|
||||
import { LanguageSelector } from "~/components/language-selector";
|
||||
import { PaseoLockup } from "~/components/paseo-brand";
|
||||
import "~/styles.css";
|
||||
|
||||
export const Route = createFileRoute("/{-$locale}/docs")({
|
||||
@@ -35,9 +36,12 @@ function DocsLayout() {
|
||||
{/* Mobile header */}
|
||||
<header className="lg:hidden sticky top-0 z-50 bg-background border-b border-border">
|
||||
<div className="flex items-center justify-between p-4">
|
||||
<Link to={localize("/")} className="flex items-center gap-3">
|
||||
<img src="/logo.svg" alt="Paseo" className="w-6 h-6" />
|
||||
<span className="text-lg font-medium">Paseo</span>
|
||||
<Link
|
||||
to={localize("/")}
|
||||
aria-label="Paseo"
|
||||
className="inline-flex items-center text-foreground"
|
||||
>
|
||||
<PaseoLockup className="h-[22px] w-auto" />
|
||||
</Link>
|
||||
<div className="flex items-center gap-3">
|
||||
<LanguageSelector />
|
||||
@@ -63,9 +67,12 @@ function DocsLayout() {
|
||||
{/* Desktop sidebar */}
|
||||
<aside className="hidden lg:block sticky top-0 h-screen w-60 shrink-0 border-r border-border p-6 overflow-y-auto">
|
||||
<div className="flex items-center justify-between gap-3 mb-8">
|
||||
<Link to={localize("/")} className="flex items-center gap-3">
|
||||
<img src="/logo.svg" alt="Paseo" className="w-6 h-6" />
|
||||
<span className="text-lg font-medium">Paseo</span>
|
||||
<Link
|
||||
to={localize("/")}
|
||||
aria-label="Paseo"
|
||||
className="inline-flex items-center text-foreground"
|
||||
>
|
||||
<PaseoLockup className="h-[22px] w-auto" />
|
||||
</Link>
|
||||
<LanguageSelector />
|
||||
</div>
|
||||
|
||||
@@ -12,6 +12,7 @@ import {
|
||||
PiIcon,
|
||||
} from "~/components/agent-icons";
|
||||
import { DiscordIcon, GitHubIcon, SlackIcon } from "~/components/brand-icons";
|
||||
import { HubLockup, PaseoHubLockup, PaseoHubMark } from "~/components/paseo-brand";
|
||||
import { AGENT_PAGES } from "~/data/agent-pages";
|
||||
import { FAQItem } from "~/components/faq-item";
|
||||
import { SiteShell } from "~/components/site-shell";
|
||||
@@ -63,7 +64,10 @@ function Hub() {
|
||||
const { plans } = Route.useLoaderData();
|
||||
return (
|
||||
<SiteShell width="default">
|
||||
<h1 className="text-3xl font-medium tracking-tight mb-4">{t("hub.title")}</h1>
|
||||
<h1 className="mb-5">
|
||||
<PaseoHubLockup className="h-9 md:h-10 w-auto text-foreground" />
|
||||
<span className="sr-only">{t("hub.title")}</span>
|
||||
</h1>
|
||||
<p className="text-lg text-white/70 leading-relaxed max-w-2xl">{t("hub.intro")}</p>
|
||||
<p className="text-white/40 text-sm mt-3">{t("hub.runIt")}</p>
|
||||
|
||||
@@ -379,7 +383,7 @@ function DemoMessage({
|
||||
<div className="flex gap-3">
|
||||
<div className="flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full border border-white/10 bg-white/[0.06]">
|
||||
{bot ? (
|
||||
<img src="/logo.svg" alt="" className="h-4 w-4" />
|
||||
<PaseoHubMark className="h-5 w-5 text-white" />
|
||||
) : (
|
||||
<span className="text-xs font-medium text-white/60">M</span>
|
||||
)}
|
||||
@@ -478,8 +482,11 @@ function Shape() {
|
||||
<Connector label={t("hub.shape.webhooks")} />
|
||||
|
||||
<div className="w-full max-w-xs rounded-xl border border-white/20 bg-white/[0.06] px-6 py-5 text-center">
|
||||
<p className="font-medium">{t("hub.shape.hub")}</p>
|
||||
<p className="text-xs text-muted-foreground mt-1">{t("hub.shape.hubHosting")}</p>
|
||||
<p className="flex justify-center">
|
||||
<HubLockup className="h-[22px] w-auto text-foreground" />
|
||||
<span className="sr-only">{t("hub.shape.hub")}</span>
|
||||
</p>
|
||||
<p className="text-xs text-muted-foreground mt-1.5">{t("hub.shape.hubHosting")}</p>
|
||||
</div>
|
||||
|
||||
<Connector label={t("hub.shape.sameRpcs")} />
|
||||
|
||||
+5
@@ -2,3 +2,8 @@ declare module "*.md?raw" {
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
|
||||
declare module "*.svg?raw" {
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
Reference in new issue
Block a user