mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
feat(docs): add Mochii.AI to sponsor section (#4936)
This commit is contained in:
parent
5b4255cb37
commit
7da53c4c5b
@ -89,3 +89,23 @@ export const CodeRabbitLogo = () => (
|
||||
/>
|
||||
</svg>
|
||||
);
|
||||
|
||||
export const MochiiAILogo = () => (
|
||||
<svg height="16.918" viewBox="0 0 100 16.918" width="100" xmlns="http://www.w3.org/2000/svg">
|
||||
<g
|
||||
fill="#7078fc"
|
||||
fillRule="evenodd"
|
||||
fontSize="9pt"
|
||||
id="svgGroup"
|
||||
stroke="#9b7bfa"
|
||||
strokeLinecap="round"
|
||||
strokeWidth="0.25mm"
|
||||
style={{stroke: "#9b7bfa", strokeWidth: "0.25mm", fill: "#7078fc"}}
|
||||
>
|
||||
<path
|
||||
d="M 2.156 16.654 L 0 16.654 L 0 0.264 L 1.98 0.264 L 8.118 8.998 L 7.106 8.998 L 13.2 0.264 L 15.18 0.264 L 15.18 16.654 L 13.002 16.654 L 13.002 2.992 L 13.772 3.234 L 7.678 11.814 L 7.502 11.814 L 1.474 3.234 L 2.156 2.992 L 2.156 16.654 Z M 48.268 16.654 L 46.222 16.654 L 46.222 0 L 48.268 0 L 48.268 7.106 L 47.894 6.908 Q 48.334 5.786 49.313 5.159 A 3.96 3.96 0 0 1 50.973 4.571 A 5.069 5.069 0 0 1 51.612 4.532 A 4.869 4.869 0 0 1 52.96 4.713 A 4.198 4.198 0 0 1 53.889 5.104 Q 54.89 5.676 55.473 6.688 A 4.393 4.393 0 0 1 56.042 8.584 A 5.331 5.331 0 0 1 56.056 8.976 L 56.056 16.654 L 53.988 16.654 L 53.988 9.636 A 4.486 4.486 0 0 0 53.928 8.882 Q 53.857 8.465 53.701 8.12 A 2.628 2.628 0 0 0 53.625 7.964 Q 53.262 7.282 52.624 6.897 A 2.681 2.681 0 0 0 51.512 6.531 A 3.367 3.367 0 0 0 51.15 6.512 A 2.961 2.961 0 0 0 50.092 6.698 A 2.777 2.777 0 0 0 49.676 6.897 Q 49.016 7.282 48.642 7.975 Q 48.268 8.667 48.268 9.634 A 3.42 3.42 0 0 0 48.268 9.636 L 48.268 16.654 Z M 77.352 16.654 L 75.042 16.654 L 80.916 0.264 L 83.468 0.264 L 89.342 16.654 L 87.032 16.654 L 85.69 12.804 L 78.694 12.804 L 77.352 16.654 Z M 43.538 7.722 L 41.712 8.602 Q 41.294 7.678 40.436 7.095 A 3.385 3.385 0 0 0 38.681 6.518 A 4.171 4.171 0 0 0 38.456 6.512 Q 37.378 6.512 36.509 7.062 Q 35.64 7.612 35.134 8.558 Q 34.628 9.504 34.628 10.736 A 4.8 4.8 0 0 0 34.816 12.098 A 4.221 4.221 0 0 0 35.134 12.881 A 3.953 3.953 0 0 0 36.196 14.167 A 3.853 3.853 0 0 0 36.509 14.388 Q 37.378 14.938 38.456 14.938 A 3.659 3.659 0 0 0 39.661 14.744 A 3.287 3.287 0 0 0 40.436 14.355 Q 41.294 13.772 41.712 12.804 L 43.538 13.728 A 4.294 4.294 0 0 1 42.487 15.3 A 4.992 4.992 0 0 1 42.416 15.367 Q 41.646 16.082 40.634 16.5 A 5.609 5.609 0 0 1 38.601 16.916 A 6.426 6.426 0 0 1 38.456 16.918 A 6.332 6.332 0 0 1 36.623 16.66 A 5.509 5.509 0 0 1 35.365 16.104 Q 34.012 15.29 33.242 13.882 A 6.328 6.328 0 0 1 32.493 11.282 A 7.674 7.674 0 0 1 32.472 10.714 Q 32.472 8.932 33.242 7.546 Q 34.012 6.16 35.365 5.346 Q 36.718 4.532 38.456 4.532 A 5.745 5.745 0 0 1 40.249 4.808 A 5.376 5.376 0 0 1 40.634 4.95 Q 41.646 5.368 42.416 6.072 Q 43.186 6.776 43.538 7.722 Z M 22.09 16.572 A 6.319 6.319 0 0 0 24.2 16.918 Q 25.872 16.918 27.247 16.115 Q 28.622 15.312 29.458 13.915 A 5.696 5.696 0 0 0 30.037 12.59 A 6.626 6.626 0 0 0 30.294 10.714 A 7.463 7.463 0 0 0 30.244 9.838 A 5.956 5.956 0 0 0 29.491 7.524 Q 28.688 6.138 27.302 5.335 A 5.832 5.832 0 0 0 26.31 4.878 A 6.319 6.319 0 0 0 24.2 4.532 Q 22.462 4.532 21.076 5.346 Q 19.69 6.16 18.887 7.546 Q 18.084 8.932 18.084 10.714 A 7.441 7.441 0 0 0 18.104 11.262 A 6.103 6.103 0 0 0 18.898 13.904 Q 19.712 15.312 21.098 16.115 A 5.832 5.832 0 0 0 22.09 16.572 Z M 93.566 16.654 L 91.41 16.654 L 91.41 0.264 L 93.566 0.264 L 93.566 16.654 Z M 61.028 16.654 L 58.982 16.654 L 58.982 4.796 L 61.028 4.796 L 61.028 16.654 Z M 66.242 16.654 L 64.196 16.654 L 64.196 4.796 L 66.242 4.796 L 66.242 16.654 Z M 24.2 14.938 Q 25.3 14.938 26.191 14.388 Q 27.082 13.838 27.599 12.87 A 4.425 4.425 0 0 0 28.108 11.008 A 5.279 5.279 0 0 0 28.116 10.714 A 4.819 4.819 0 0 0 27.97 9.507 A 3.988 3.988 0 0 0 27.599 8.569 Q 27.082 7.634 26.191 7.073 Q 25.3 6.512 24.2 6.512 Q 23.078 6.512 22.187 7.073 Q 21.296 7.634 20.768 8.569 A 4.086 4.086 0 0 0 20.273 10.126 A 5.114 5.114 0 0 0 20.24 10.714 A 4.619 4.619 0 0 0 20.467 12.179 A 4.215 4.215 0 0 0 20.768 12.87 A 4.041 4.041 0 0 0 21.866 14.167 A 3.935 3.935 0 0 0 22.187 14.388 A 3.714 3.714 0 0 0 24.026 14.935 A 4.471 4.471 0 0 0 24.2 14.938 Z M 82.5 1.826 L 79.376 10.824 L 85.008 10.824 L 81.884 1.826 L 82.5 1.826 Z M 72.38 16.654 L 70.246 16.654 L 70.246 14.014 L 72.38 14.014 L 72.38 16.654 Z M 61.028 2.904 L 58.982 2.904 L 58.982 0.264 L 61.028 0.264 L 61.028 2.904 Z M 66.242 2.904 L 64.196 2.904 L 64.196 0.264 L 66.242 0.264 L 66.242 2.904 Z"
|
||||
vectorEffect="non-scaling-stroke"
|
||||
/>
|
||||
</g>
|
||||
</svg>
|
||||
);
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import {Button, Link} from "@heroui/react";
|
||||
|
||||
import {sectionWrapper} from "@/components/primitives";
|
||||
import {Story2DesignLogo, CodeRabbitLogo} from "@/components/icons/sponsors";
|
||||
import {Story2DesignLogo, CodeRabbitLogo, MochiiAILogo} from "@/components/icons/sponsors";
|
||||
import {HeartFilledIcon} from "@/components/icons";
|
||||
import {siteConfig} from "@/config/site";
|
||||
import {Sponsor, SponsorItem} from "@/components/marketing/sponsor-item";
|
||||
@ -17,6 +17,11 @@ const sponsors: Sponsor[] = [
|
||||
href: "https://coderabbit.ai/?utm_source=heroui&utm_marketing=oss",
|
||||
logo: <CodeRabbitLogo />,
|
||||
},
|
||||
{
|
||||
name: "Mochii.AI",
|
||||
href: "https://www.mochii.ai/?utm_source=heroui&utm_marketing=oss",
|
||||
logo: <MochiiAILogo />,
|
||||
},
|
||||
];
|
||||
|
||||
export const Sponsors = () => {
|
||||
|
||||
BIN
apps/docs/public/sponsors/000000.webp
Normal file
BIN
apps/docs/public/sponsors/000000.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
@ -6,7 +6,19 @@ import fs from "fs";
|
||||
*/
|
||||
export function getAllSponsors() {
|
||||
const sponsorsRcPath = path.resolve(".sponsorsrc");
|
||||
const sponsors = JSON.parse(fs.readFileSync(sponsorsRcPath, "utf-8"));
|
||||
const openCollectiveSponsors = JSON.parse(fs.readFileSync(sponsorsRcPath, "utf-8"));
|
||||
const patreonSponsors = [
|
||||
{
|
||||
MemberId: "000000",
|
||||
tier: "Gold Sponsor 🥇",
|
||||
currency: "USD",
|
||||
lastTransactionAt: "2025-02-15 00:00",
|
||||
lastTransactionAmount: 100,
|
||||
name: "Mochii.AI",
|
||||
image: "/sponsors/000000.webp",
|
||||
website: "https://www.mochii.ai",
|
||||
},
|
||||
];
|
||||
|
||||
return sponsors;
|
||||
return [...openCollectiveSponsors, ...patreonSponsors];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user