mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-16 08:01:18 +00:00

* 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>
128 lines
10 KiB
TypeScript
128 lines
10 KiB
TypeScript
'use client';
|
|
|
|
import React from 'react';
|
|
|
|
const LogoDark: 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.5048 107.416 36.1387C102.994 29.7726 96.7087 24.8109 89.3549 21.8809C82.0011 18.9509 73.9092 18.1843 66.1024 19.678C58.2957 21.1717 51.1247 24.8586 45.4963 30.2725C39.868 35.6864 36.035 42.5841 34.4822 50.0934C32.9293 57.6027 33.7263 65.3863 36.7723 72.4599C39.8184 79.5334 44.9767 85.5793 51.5949 89.833C58.2132 94.0867 65.9941 96.3571 73.9538 96.3571V57.6456H114.199Z"
|
|
fill="url(#paint0_linear_23715_5)"
|
|
/>
|
|
<path
|
|
d="M156.679 57.6456C156.679 52.5619 155.745 47.5281 153.932 42.8314C152.118 38.1347 149.46 33.8672 146.109 30.2725C142.758 26.6778 138.78 23.8263 134.401 21.8809C130.023 19.9355 125.331 18.9342 120.592 18.9342C115.853 18.9342 111.16 19.9355 106.782 21.8809C102.404 23.8263 98.4254 26.6778 95.0744 30.2725C91.7234 33.8672 89.0653 38.1347 87.2517 42.8314C85.4382 47.5281 84.5048 52.562 84.5048 57.6456L156.679 57.6456Z"
|
|
fill="url(#paint1_linear_23715_5)"
|
|
/>
|
|
<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.4462C138.996 93.3924 135.835 90.97 132.356 89.3173C128.877 87.6646 125.148 86.8139 121.382 86.8139V119.7H150.058Z"
|
|
fill="url(#paint2_linear_23715_5)"
|
|
/>
|
|
<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.732 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_23715_5)"
|
|
/>
|
|
<path
|
|
d="M73.953 56.1123L73.953 142.697L33.7068 142.697L33.7068 56.1123H73.953Z"
|
|
fill="url(#paint4_linear_23715_5)"
|
|
/>
|
|
<path
|
|
d="M121.808 57.6391L73.4961 57.6391L73.4961 18.9341L121.808 18.9341V57.6391Z"
|
|
fill="url(#paint5_linear_23715_5)"
|
|
/>
|
|
<path
|
|
d="M121.808 119.688H95.0719V86.814L121.808 86.814V119.688Z"
|
|
fill="url(#paint6_linear_23715_5)"
|
|
/>
|
|
<path
|
|
d="M252.804 141.193V48.8846H313.922V64.9754H272.321V86.9707H309.866V103.062H272.321V141.193H252.804ZM345.563 142.5C341.146 142.5 337.21 141.734 333.754 140.201C330.299 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.263 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.7262 358.319 99.3656C360.783 98.975 362.57 98.4041 363.682 97.6529C364.794 96.9017 365.35 95.7899 365.35 94.3175V94.0471C365.35 91.1925 364.448 88.984 362.646 87.4215C360.873 85.8589 358.349 85.0777 355.073 85.0777C351.618 85.0777 348.868 85.8439 346.825 87.3764C344.782 88.8788 343.43 90.7718 342.769 93.0555L325.01 91.6132C325.912 87.4064 327.684 83.7706 330.329 80.7057C332.973 77.6107 336.383 75.2369 340.56 73.5842C344.767 71.9015 349.635 71.0602 355.164 71.0602C359.01 71.0602 362.691 71.5109 366.206 72.4124C369.752 73.3138 372.892 74.7111 375.626 76.6041C378.391 78.4971 380.569 80.931 382.162 83.9058C383.754 86.8505 384.551 90.3812 384.551 94.4978V141.193H366.341V131.592H365.801C364.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.989 142.5 345.563 142.5ZM351.062 129.249C353.887 129.249 356.381 128.693 358.544 127.581C360.707 126.439 362.405 124.907 363.637 122.984C364.869 121.06 365.485 118.882 365.485 116.448V109.101C364.884 109.492 364.058 109.852 363.006 110.183C361.984 110.483 360.828 110.769 359.536 111.039C358.243 111.28 356.951 111.505 355.659 111.715C354.367 111.896 353.195 112.061 352.144 112.211C349.89 112.542 347.922 113.068 346.239 113.789C344.557 114.51 343.249 115.486 342.318 116.718C341.386 117.92 340.921 119.423 340.921 121.226C340.921 123.84 341.867 125.838 343.76 127.22C345.683 128.572 348.117 129.249 351.062 129.249ZM457.05 91.7033L439.471 92.7851C439.171 91.2826 438.525 89.9305 437.533 88.7286C436.542 87.4966 435.235 86.52 433.612 85.7988C432.019 85.0476 430.111 84.672 427.888 84.672C424.913 84.672 422.404 85.3031 420.361 86.5651C418.317 87.7971 417.296 89.4497 417.296 91.523C417.296 93.1757 417.957 94.5729 419.279 95.7148C420.601 96.8566 422.87 97.7731 426.085 98.4642L438.615 100.988C445.346 102.37 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.682C451.971 135.108 448.336 137.782 443.708 139.705C439.111 141.598 433.807 142.545 427.798 142.545C418.633 142.545 411.331 140.637 405.892 136.821C400.484 132.975 397.314 127.746 396.382 121.136L415.268 120.144C415.838 122.938 417.221 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.447 439.081 123.75 439.111 121.676C439.081 119.934 438.345 118.506 436.902 117.395C435.46 116.253 433.236 115.381 430.232 114.78L418.242 112.392C411.481 111.039 406.448 108.696 403.143 105.36C399.868 102.025 398.23 97.7731 398.23 92.6048C398.23 88.1576 399.432 84.3265 401.836 81.1113C404.27 77.8962 407.68 75.4172 412.067 73.6744C416.484 71.9316 421.653 71.0602 427.572 71.0602C436.316 71.0602 443.197 72.9082 448.215 76.6041C453.263 80.3 456.208 85.3331 457.05 91.7033ZM507.542 71.9616V86.3848H465.85V71.9616H507.542ZM475.315 55.375H494.516V119.919C494.516 121.691 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.679 501.006 126.679C501.908 126.679 502.809 126.604 503.711 126.454C504.612 126.274 505.303 126.139 505.784 126.048L508.804 140.336C507.842 140.637 506.49 140.982 504.747 141.373C503.005 141.794 500.886 142.049 498.392 142.139C493.765 142.32 489.708 141.704 486.223 140.291C482.767 138.879 480.078 136.686 478.155 133.711C476.232 130.736 475.285 126.98 475.315 122.443V55.375ZM581.618 78.7225C580.987 76.529 580.101 74.5909 578.959 72.9082C577.817 71.1954 576.42 69.7531 574.767 68.5812C573.145 67.3793 571.282 66.4628 569.178 65.8318C567.105 65.2008 564.806 64.8853 562.282 64.8853C557.565 64.8853 553.418 66.0572 549.842 68.4009C546.297 70.7447 543.532 74.1552 541.549 78.6323C539.566 83.0795 538.574 88.5182 538.574 94.9485C538.574 101.379 539.551 106.848 541.504 111.355C543.457 115.862 546.221 119.303 549.797 121.676C553.373 124.02 557.595 125.192 562.462 125.192C566.88 125.192 570.651 124.411 573.776 122.848C576.931 121.256 579.335 119.017 580.987 116.133C582.67 113.248 583.511 109.837 583.511 105.901L587.478 106.487H563.679V91.7935H602.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.884 527.907 127.431 524.241 120.369C520.605 113.278 518.787 104.864 518.787 95.1288C518.787 87.6468 519.869 80.9761 522.033 75.1167C524.226 69.2273 527.291 64.2393 531.227 60.1527C535.164 56.0661 539.746 52.9561 544.974 50.8227C550.203 48.6893 555.867 47.6226 561.967 47.6226C567.195 47.6226 572.063 48.3888 576.57 49.9213C581.077 51.4237 585.074 53.5571 588.559 56.3215C592.075 59.086 594.945 62.3763 597.168 66.1924C599.392 69.9785 600.819 74.1552 601.45 78.7225H581.618ZM616.966 141.193V48.8846H653.385C660.386 48.8846 666.35 50.2218 671.278 52.896C676.206 55.5403 679.962 59.2212 682.546 63.9388C685.161 68.6263 686.468 74.035 686.468 80.1648C686.468 86.2946 685.146 91.7033 682.501 96.3908C679.857 101.078 676.026 104.729 671.008 107.343C666.02 109.958 659.98 111.265 652.889 111.265H629.677V95.6246H649.734C653.49 95.6246 656.585 94.9786 659.019 93.6865C661.483 92.3644 663.316 90.5465 664.518 88.2328C665.749 85.889 666.365 83.1997 666.365 80.1648C666.365 77.0999 665.749 74.4256 664.518 72.1419C663.316 69.8282 661.483 68.0403 659.019 66.7783C656.555 65.4863 653.43 64.8402 649.644 64.8402H636.483V141.193H616.966ZM695.629 64.9754V48.8846H771.44V64.9754H743.18V141.193H723.889V64.9754H695.629Z"
|
|
fill="white"
|
|
/>
|
|
<defs>
|
|
<linearGradient
|
|
id="paint0_linear_23715_5"
|
|
x1="95.1927"
|
|
y1="18.9341"
|
|
x2="95.1927"
|
|
y2="178.327"
|
|
gradientUnits="userSpaceOnUse"
|
|
>
|
|
<stop stopColor="#326DFF" />
|
|
<stop offset="1" stopColor="#8EAEFF" />
|
|
</linearGradient>
|
|
<linearGradient
|
|
id="paint1_linear_23715_5"
|
|
x1="95.1927"
|
|
y1="18.9341"
|
|
x2="95.1927"
|
|
y2="178.327"
|
|
gradientUnits="userSpaceOnUse"
|
|
>
|
|
<stop stopColor="#326DFF" />
|
|
<stop offset="1" stopColor="#8EAEFF" />
|
|
</linearGradient>
|
|
<linearGradient
|
|
id="paint2_linear_23715_5"
|
|
x1="95.1927"
|
|
y1="18.9341"
|
|
x2="95.1927"
|
|
y2="178.327"
|
|
gradientUnits="userSpaceOnUse"
|
|
>
|
|
<stop stopColor="#326DFF" />
|
|
<stop offset="1" stopColor="#8EAEFF" />
|
|
</linearGradient>
|
|
<linearGradient
|
|
id="paint3_linear_23715_5"
|
|
x1="95.1927"
|
|
y1="18.9341"
|
|
x2="95.1927"
|
|
y2="178.327"
|
|
gradientUnits="userSpaceOnUse"
|
|
>
|
|
<stop stopColor="#326DFF" />
|
|
<stop offset="1" stopColor="#8EAEFF" />
|
|
</linearGradient>
|
|
<linearGradient
|
|
id="paint4_linear_23715_5"
|
|
x1="95.1927"
|
|
y1="18.9341"
|
|
x2="95.1927"
|
|
y2="178.327"
|
|
gradientUnits="userSpaceOnUse"
|
|
>
|
|
<stop stopColor="#326DFF" />
|
|
<stop offset="1" stopColor="#8EAEFF" />
|
|
</linearGradient>
|
|
<linearGradient
|
|
id="paint5_linear_23715_5"
|
|
x1="95.1927"
|
|
y1="18.9341"
|
|
x2="95.1927"
|
|
y2="178.327"
|
|
gradientUnits="userSpaceOnUse"
|
|
>
|
|
<stop stopColor="#326DFF" />
|
|
<stop offset="1" stopColor="#8EAEFF" />
|
|
</linearGradient>
|
|
<linearGradient
|
|
id="paint6_linear_23715_5"
|
|
x1="95.1927"
|
|
y1="18.9341"
|
|
x2="95.1927"
|
|
y2="178.327"
|
|
gradientUnits="userSpaceOnUse"
|
|
>
|
|
<stop stopColor="#326DFF" />
|
|
<stop offset="1" stopColor="#8EAEFF" />
|
|
</linearGradient>
|
|
</defs>
|
|
</svg>
|
|
);
|
|
|
|
export default LogoDark;
|