Files
FastGPT/document/components/docs/logo.tsx
Archer fe7abf22a9 New document (#5299)
* add new doc (#5175)

Co-authored-by: dreamer6680 <146868355@qq.com>

* Test docs (#5235)

* fix: change the page of doc

* chore: add new dependencies, update global styles/layout, optimize docs, add Feishu & GitHub icons, update API examples

* fix: docs/index 404 not found

* Update environment variable names, optimize styles, add new API routes, fix component styles, adjust documentation, and update GitHub and Feishu icons

* update readme

* feat: add a linkfastgpt compontent

* feat: update new doc

* fix:remove unuse page and redirect homepage to docs (#5288)

* fix:remove some unuse doc

* fix: redirect homepage to doc

* git ignore

* fix:navbar to index (#5295)

* sidbar

* fix: navtab unlight (#5298)

* doc

---------

Co-authored-by: dreamer6680 <1468683855@qq.com>
Co-authored-by: dreamer6680 <146868355@qq.com>
2025-07-23 21:35:03 +08:00

128 lines
10 KiB
TypeScript

'use client';
import React from 'react';
const LogoLight: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
<svg
width="150"
height="100"
viewBox="0 0 777 191"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M114.199 57.6456C114.199 49.9892 111.838 42.5047 107.416 36.1386C102.994 29.7726 96.7087 24.8108 89.3549 21.8808C82.0011 18.9509 73.9092 18.1842 66.1024 19.6779C58.2957 21.1716 51.1247 24.8585 45.4963 30.2724C39.868 35.6863 36.035 42.584 34.4822 50.0933C32.9293 57.6026 33.7263 65.3862 36.7723 72.4598C39.8184 79.5334 44.9767 85.5793 51.5949 89.833C58.2132 94.0866 65.9941 96.357 73.9538 96.357V57.6456H114.199Z"
fill="url(#paint0_linear_23636_5800)"
/>
<path
d="M156.679 57.6455C156.679 52.5619 155.745 47.528 153.932 42.8313C152.118 38.1346 149.46 33.8671 146.109 30.2724C142.758 26.6777 138.78 23.8263 134.401 21.8808C130.023 19.9354 125.331 18.9341 120.592 18.9341C115.853 18.9341 111.16 19.9354 106.782 21.8808C102.404 23.8263 98.4254 26.6777 95.0744 30.2724C91.7234 33.8671 89.0653 38.1346 87.2517 42.8313C85.4382 47.528 84.5048 52.5619 84.5048 57.6456L156.679 57.6455Z"
fill="url(#paint1_linear_23636_5800)"
/>
<path
d="M150.058 119.7C150.058 115.382 149.316 111.105 147.875 107.115C146.434 103.125 144.322 99.4999 141.659 96.4461C138.996 93.3923 135.835 90.9699 132.356 89.3172C128.877 87.6645 125.148 86.8139 121.382 86.8139V119.7H150.058Z"
fill="url(#paint2_linear_23636_5800)"
/>
<path
d="M73.9524 107.839C68.6674 107.839 63.4341 108.751 58.5513 110.522C53.6686 112.293 49.232 114.889 45.4949 118.162C41.7579 121.435 38.7934 125.32 36.7709 129.596C34.7484 133.872 33.7075 138.455 33.7075 143.083C33.7075 147.711 34.7484 152.294 36.7709 156.57C38.7934 160.846 41.7579 164.731 45.4949 168.004C49.232 171.277 53.6686 173.873 58.5514 175.644C63.4341 177.415 68.6674 178.327 73.9524 178.327L73.9524 107.839Z"
fill="url(#paint3_linear_23636_5800)"
/>
<path
d="M73.953 56.1123L73.953 142.697L33.7068 142.697L33.7068 56.1123H73.953Z"
fill="url(#paint4_linear_23636_5800)"
/>
<path
d="M121.808 57.6391L73.4961 57.6391L73.4961 18.934L121.808 18.934V57.6391Z"
fill="url(#paint5_linear_23636_5800)"
/>
<path
d="M121.808 119.688H95.0719V86.814L121.808 86.814V119.688Z"
fill="url(#paint6_linear_23636_5800)"
/>
<path
d="M252.804 141.193V48.8847H313.922V64.9756H272.32V86.9709H309.866V103.062H272.32V141.193H252.804ZM345.563 142.5C341.146 142.5 337.21 141.734 333.754 140.201C330.298 138.639 327.564 136.34 325.551 133.305C323.568 130.24 322.576 126.424 322.576 121.857C322.576 118.011 323.282 114.78 324.695 112.166C326.107 109.552 328.03 107.449 330.464 105.856C332.898 104.264 335.662 103.062 338.757 102.25C341.882 101.439 345.157 100.868 348.583 100.538C352.609 100.117 355.855 99.7263 358.318 99.3657C360.782 98.9751 362.57 98.4042 363.682 97.653C364.794 96.9018 365.35 95.79 365.35 94.3176V94.0472C365.35 91.1926 364.448 88.9841 362.645 87.4216C360.873 85.8591 358.349 85.0778 355.073 85.0778C351.618 85.0778 348.868 85.844 346.825 87.3765C344.782 88.8789 343.43 90.772 342.769 93.0556L325.01 91.6133C325.911 87.4066 327.684 83.7707 330.329 80.7058C332.973 77.6108 336.383 75.237 340.56 73.5844C344.767 71.9017 349.635 71.0603 355.163 71.0603C359.01 71.0603 362.69 71.511 366.206 72.4125C369.752 73.3139 372.892 74.7112 375.626 76.6042C378.391 78.4973 380.569 80.9312 382.162 83.9059C383.754 86.8507 384.551 90.3813 384.551 94.4979V141.193H366.341V131.592H365.8C364.689 133.756 363.201 135.664 361.338 137.317C359.475 138.939 357.237 140.216 354.623 141.148C352.008 142.049 348.988 142.5 345.563 142.5ZM351.062 129.249C353.886 129.249 356.38 128.693 358.544 127.581C360.707 126.439 362.405 124.907 363.637 122.984C364.869 121.061 365.485 118.882 365.485 116.448V109.101C364.884 109.492 364.058 109.853 363.006 110.183C361.984 110.484 360.827 110.769 359.535 111.039C358.243 111.28 356.951 111.505 355.659 111.716C354.367 111.896 353.195 112.061 352.144 112.211C349.89 112.542 347.922 113.068 346.239 113.789C344.556 114.51 343.249 115.487 342.318 116.719C341.386 117.921 340.921 119.423 340.921 121.226C340.921 123.84 341.867 125.838 343.76 127.22C345.683 128.573 348.117 129.249 351.062 129.249ZM457.049 91.7034L439.471 92.7852C439.171 91.2828 438.525 89.9306 437.533 88.7287C436.541 87.4967 435.234 86.5201 433.612 85.799C432.019 85.0478 430.111 84.6722 427.888 84.6722C424.913 84.6722 422.404 85.3032 420.361 86.5652C418.317 87.7972 417.296 89.4498 417.296 91.5232C417.296 93.1758 417.957 94.5731 419.279 95.7149C420.601 96.8567 422.87 97.7732 426.085 98.4643L438.615 100.988C445.346 102.371 450.364 104.594 453.669 107.659C456.974 110.724 458.627 114.75 458.627 119.738C458.627 124.276 457.29 128.257 454.616 131.683C451.971 135.108 448.335 137.782 443.708 139.705C439.111 141.599 433.807 142.545 427.797 142.545C418.633 142.545 411.331 140.637 405.892 136.821C400.484 132.975 397.314 127.746 396.382 121.136L415.267 120.144C415.838 122.939 417.22 125.072 419.414 126.544C421.608 127.987 424.417 128.708 427.843 128.708C431.208 128.708 433.912 128.062 435.956 126.77C438.029 125.448 439.081 123.75 439.111 121.677C439.081 119.934 438.344 118.506 436.902 117.395C435.46 116.253 433.236 115.381 430.231 114.78L418.242 112.392C411.481 111.039 406.448 108.696 403.143 105.36C399.868 102.025 398.23 97.7732 398.23 92.6049C398.23 88.1578 399.432 84.3266 401.836 81.1114C404.27 77.8963 407.68 75.4173 412.067 73.6745C416.484 71.9317 421.653 71.0603 427.572 71.0603C436.316 71.0603 443.197 72.9083 448.215 76.6042C453.263 80.3001 456.208 85.3332 457.049 91.7034ZM507.542 71.9618V86.3849H465.85V71.9618H507.542ZM475.315 55.3751H494.516V119.919C494.516 121.692 494.786 123.074 495.327 124.065C495.868 125.027 496.619 125.703 497.581 126.094C498.572 126.484 499.714 126.68 501.006 126.68C501.908 126.68 502.809 126.604 503.711 126.454C504.612 126.274 505.303 126.139 505.784 126.049L508.804 140.336C507.842 140.637 506.49 140.983 504.747 141.373C503.004 141.794 500.886 142.049 498.392 142.139C493.765 142.32 489.708 141.704 486.222 140.291C482.767 138.879 480.078 136.686 478.155 133.711C476.231 130.736 475.285 126.98 475.315 122.443V55.3751ZM581.618 78.7226C580.987 76.5291 580.101 74.591 578.959 72.9083C577.817 71.1955 576.42 69.7532 574.767 68.5813C573.144 67.3794 571.281 66.4629 569.178 65.8319C567.105 65.2009 564.806 64.8854 562.282 64.8854C557.564 64.8854 553.418 66.0573 549.842 68.401C546.296 70.7448 543.532 74.1553 541.549 78.6325C539.566 83.0796 538.574 88.5183 538.574 94.9487C538.574 101.379 539.551 106.848 541.504 111.355C543.457 115.862 546.221 119.303 549.797 121.677C553.373 124.02 557.595 125.192 562.462 125.192C566.879 125.192 570.65 124.411 573.775 122.848C576.931 121.256 579.334 119.017 580.987 116.133C582.67 113.248 583.511 109.838 583.511 105.901L587.477 106.487H563.679V91.7936H602.306V103.422C602.306 111.535 600.594 118.506 597.168 124.336C593.743 130.135 589.025 134.612 583.015 137.767C577.006 140.892 570.125 142.455 562.372 142.455C553.718 142.455 546.116 140.547 539.566 136.731C533.015 132.885 527.907 127.431 524.241 120.369C520.605 113.278 518.787 104.865 518.787 95.1289C518.787 87.6469 519.869 80.9762 522.032 75.1168C524.226 69.2274 527.291 64.2394 531.227 60.1528C535.164 56.0663 539.746 52.9563 544.974 50.8228C550.203 48.6894 555.867 47.6227 561.967 47.6227C567.195 47.6227 572.063 48.3889 576.57 49.9214C581.077 51.4238 585.074 53.5572 588.559 56.3217C592.075 59.0861 594.944 62.3764 597.168 66.1925C599.392 69.9786 600.819 74.1553 601.45 78.7226H581.618ZM616.966 141.193V48.8847H653.384C660.386 48.8847 666.35 50.2219 671.278 52.8962C676.206 55.5404 679.962 59.2213 682.546 63.9389C685.16 68.6264 686.468 74.0351 686.468 80.1649C686.468 86.2948 685.145 91.7034 682.501 96.391C679.857 101.078 676.026 104.729 671.008 107.344C666.02 109.958 659.98 111.265 652.889 111.265H629.676V95.6247H649.734C653.49 95.6247 656.585 94.9787 659.019 93.6866C661.482 92.3645 663.315 90.5466 664.517 88.2329C665.749 85.8891 666.365 83.1998 666.365 80.1649C666.365 77.1 665.749 74.4257 664.517 72.1421C663.315 69.8283 661.482 68.0405 659.019 66.7784C656.555 65.4864 653.43 64.8403 649.643 64.8403H636.482V141.193H616.966ZM695.629 64.9756V48.8847H771.44V64.9756H743.18V141.193H723.889V64.9756H695.629Z"
fill="#111824"
/>
<defs>
<linearGradient
id="paint0_linear_23636_5800"
x1="95.1927"
y1="18.934"
x2="95.1927"
y2="178.327"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#326DFF" />
<stop offset="1" stopColor="#8EAEFF" />
</linearGradient>
<linearGradient
id="paint1_linear_23636_5800"
x1="95.1927"
y1="18.934"
x2="95.1927"
y2="178.327"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#326DFF" />
<stop offset="1" stopColor="#8EAEFF" />
</linearGradient>
<linearGradient
id="paint2_linear_23636_5800"
x1="95.1927"
y1="18.934"
x2="95.1927"
y2="178.327"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#326DFF" />
<stop offset="1" stopColor="#8EAEFF" />
</linearGradient>
<linearGradient
id="paint3_linear_23636_5800"
x1="95.1927"
y1="18.934"
x2="95.1927"
y2="178.327"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#326DFF" />
<stop offset="1" stopColor="#8EAEFF" />
</linearGradient>
<linearGradient
id="paint4_linear_23636_5800"
x1="95.1927"
y1="18.934"
x2="95.1927"
y2="178.327"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#326DFF" />
<stop offset="1" stopColor="#8EAEFF" />
</linearGradient>
<linearGradient
id="paint5_linear_23636_5800"
x1="95.1927"
y1="18.934"
x2="95.1927"
y2="178.327"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#326DFF" />
<stop offset="1" stopColor="#8EAEFF" />
</linearGradient>
<linearGradient
id="paint6_linear_23636_5800"
x1="95.1927"
y1="18.934"
x2="95.1927"
y2="178.327"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#326DFF" />
<stop offset="1" stopColor="#8EAEFF" />
</linearGradient>
</defs>
</svg>
);
export default LogoLight;