chore: add ESLint configuration for improved linting of JSON, Markdown, and MDX files; integrate new SVG icons and update TypeScript definitions for SVG imports
@@ -8,6 +8,7 @@
|
||||
},
|
||||
|
||||
// ESLint settings
|
||||
"eslint.enable": true,
|
||||
"eslint.useFlatConfig": true,
|
||||
"eslint.format.enable": true,
|
||||
"eslint.nodePath": "website/node_modules",
|
||||
@@ -15,11 +16,25 @@
|
||||
"javascript",
|
||||
"javascriptreact",
|
||||
"typescript",
|
||||
"typescriptreact"
|
||||
"typescriptreact",
|
||||
"json",
|
||||
"jsonc",
|
||||
"markdown",
|
||||
"mdx"
|
||||
],
|
||||
"eslint.workingDirectories": [
|
||||
{ "directory": "website", "changeProcessCWD": true }
|
||||
],
|
||||
"eslint.probe": [
|
||||
"javascript",
|
||||
"javascriptreact",
|
||||
"typescript",
|
||||
"typescriptreact",
|
||||
"json",
|
||||
"jsonc",
|
||||
"markdown",
|
||||
"mdx"
|
||||
],
|
||||
|
||||
// TypeScript settings
|
||||
"typescript.preferences.importModuleSpecifier": "relative",
|
||||
@@ -53,10 +68,7 @@
|
||||
"**/__pycache__": true
|
||||
},
|
||||
|
||||
// Python settings
|
||||
"python.analysis.typeCheckingMode": "basic",
|
||||
|
||||
// JSON settings
|
||||
// JSON settings (use Prettier for root, ESLint for website)
|
||||
"[json]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
@@ -82,5 +94,8 @@
|
||||
"[markdown]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.wordWrap": "on"
|
||||
},
|
||||
"[mdx]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
import { defineConfig, globalIgnores } from "eslint/config";
|
||||
|
||||
export default defineConfig(
|
||||
// Root config only to satisfy the ESLint extension; linting happens in /website.
|
||||
globalIgnores(["**/*"]),
|
||||
);
|
||||
@@ -26,5 +26,8 @@
|
||||
"engines": {
|
||||
"node": ">=20.0.0",
|
||||
"pnpm": ">=9.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^9.39.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -120,6 +120,41 @@ export default defineConfig(
|
||||
},
|
||||
},
|
||||
|
||||
// JSON and JSONC files
|
||||
{
|
||||
files: ["**/*.{json,jsonc}"],
|
||||
plugins: {
|
||||
prettier: eslintPluginPrettier,
|
||||
},
|
||||
rules: {
|
||||
"@typescript-eslint/no-unused-expressions": "off",
|
||||
"no-unused-expressions": "off",
|
||||
"prettier/prettier": "warn",
|
||||
},
|
||||
},
|
||||
|
||||
// Markdown files
|
||||
{
|
||||
files: ["**/*.md"],
|
||||
plugins: {
|
||||
prettier: eslintPluginPrettier,
|
||||
},
|
||||
rules: {
|
||||
"prettier/prettier": "warn",
|
||||
},
|
||||
},
|
||||
|
||||
// MDX files
|
||||
{
|
||||
files: ["**/*.mdx"],
|
||||
plugins: {
|
||||
prettier: eslintPluginPrettier,
|
||||
},
|
||||
rules: {
|
||||
"prettier/prettier": "warn",
|
||||
},
|
||||
},
|
||||
|
||||
// Linter options
|
||||
{
|
||||
linterOptions: {
|
||||
|
||||
@@ -46,6 +46,26 @@ const config = {
|
||||
// your project has type errors.
|
||||
ignoreBuildErrors: true,
|
||||
},
|
||||
|
||||
experimental: {
|
||||
turbo: {
|
||||
rules: {
|
||||
"*.svg": {
|
||||
loaders: ["@svgr/webpack"],
|
||||
as: "*.js",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
webpack(config) {
|
||||
config.module.rules.push({
|
||||
test: /\.svg$/i,
|
||||
issuer: /\.[jt]sx?$/,
|
||||
use: ["@svgr/webpack"],
|
||||
});
|
||||
return config;
|
||||
},
|
||||
};
|
||||
|
||||
export default withNextra(config);
|
||||
|
||||
@@ -77,6 +77,7 @@
|
||||
"devDependencies": {
|
||||
"@eslint/eslintrc": "^3.3.3",
|
||||
"@next/eslint-plugin-next": "^15.4.10",
|
||||
"@svgr/webpack": "^8.1.0",
|
||||
"@tailwindcss/postcss": "^4.1.18",
|
||||
"@types/node": "^25.0.9",
|
||||
"@types/react": "^19.2.8",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3.76879 18.3015L8.49839 13.505L10.2196 20.0399L12.72 19.3561L10.2288 9.86749L0.890876 7.33844L0.22594 9.89331L6.65134 11.6388L1.94138 16.4282L3.76879 18.3015Z" fill="#F34E3F"/>
|
||||
<path d="M17.4074 12.7414L19.9078 12.0575L17.4167 2.56897L8.07873 0.0399246L7.4138 2.5948L15.2992 4.73685L17.4074 12.7414Z" fill="#F34E3F"/>
|
||||
<path d="M13.8184 16.3883L16.3188 15.7044L13.8276 6.21588L4.48971 3.68683L3.82477 6.24171L11.7101 8.38376L13.8184 16.3883Z" fill="#F34E3F"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 572 B |
@@ -0,0 +1,97 @@
|
||||
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 113 113" width="113" height="113">
|
||||
<mask id="mask0_6001_463" maskUnits="userSpaceOnUse" x="13" y="18" width="85" height="78" style="mask-type: alpha;">
|
||||
<path d="M89.6992 93.695C94.3659 97.195 101.366 94.8617 94.9492 88.445C75.6992 69.7783 79.7825 18.445 55.8659 18.445C31.9492 18.445 36.0325 69.7783 16.7825 88.445C9.78251 95.445 17.3658 97.195 22.0325 93.695C40.1159 81.445 38.9492 59.8617 55.8659 59.8617C72.7825 59.8617 71.6159 81.445 89.6992 93.695Z" fill="black"/>
|
||||
</mask>
|
||||
<g mask="url(#mask0_6001_463)">
|
||||
<g filter="url(#filter0_f_6001_463)">
|
||||
<ellipse cx="22.7873" cy="26.8098" rx="22.7873" ry="26.8098" transform="matrix(-0.112784 0.99362 -0.99362 -0.112781 66.2473 -15.5344)" fill="#FFE432"/>
|
||||
</g>
|
||||
<g filter="url(#filter1_f_6001_463)">
|
||||
<ellipse cx="96.491" cy="35.1231" rx="29.5007" ry="30.1492" transform="rotate(76.9243 96.491 35.1231)" fill="#FC413D"/>
|
||||
</g>
|
||||
<g filter="url(#filter2_f_6001_463)">
|
||||
<ellipse cx="9.02988" cy="41.6647" rx="30.832" ry="39.9417" transform="rotate(74.1257 9.02988 41.6647)" fill="#00B95C"/>
|
||||
</g>
|
||||
<g filter="url(#filter3_f_6001_463)">
|
||||
<ellipse cx="9.02988" cy="41.6647" rx="30.832" ry="39.9417" transform="rotate(74.1257 9.02988 41.6647)" fill="#00B95C"/>
|
||||
</g>
|
||||
<g filter="url(#filter4_f_6001_463)">
|
||||
<ellipse cx="11.2212" cy="42.8915" rx="30.22" ry="33.2695" transform="rotate(45.6065 11.2212 42.8915)" fill="#00B95C"/>
|
||||
</g>
|
||||
<g filter="url(#filter5_f_6001_463)">
|
||||
<ellipse cx="75.7546" cy="104.822" rx="29.0177" ry="27.943" transform="rotate(76.9243 75.7546 104.822)" fill="#3186FF"/>
|
||||
</g>
|
||||
<g filter="url(#filter6_f_6001_463)">
|
||||
<ellipse cx="33.5661" cy="35.4043" rx="33.5661" ry="35.4043" transform="matrix(-0.409539 0.912293 -0.912294 -0.409537 101.25 -15.1674)" fill="#FBBC04"/>
|
||||
</g>
|
||||
<g filter="url(#filter7_f_6001_463)">
|
||||
<path d="M2.56802 149.695C-15.8116 142.48 15.5987 83.1163 23.4093 63.2203C31.22 43.3244 52.4514 33.0447 70.831 40.26C89.2107 47.4753 110.996 87.2162 103.185 107.112C95.3742 127.008 20.9477 156.91 2.56802 149.695Z" fill="#3186FF"/>
|
||||
</g>
|
||||
<g filter="url(#filter8_f_6001_463)">
|
||||
<path d="M113.934 75.8079C109.013 81.5509 96.1724 78.6224 85.253 69.2667C74.3335 59.911 69.4704 47.6711 74.391 41.928C79.3116 36.185 92.1525 39.1136 103.072 48.4692C113.991 57.8249 118.855 70.0648 113.934 75.8079Z" fill="#749BFF"/>
|
||||
</g>
|
||||
<g filter="url(#filter9_f_6001_463)">
|
||||
<ellipse cx="92.611" cy="23.7962" rx="44.2411" ry="27.5016" transform="rotate(34.0763 92.611 23.7962)" fill="#FC413D"/>
|
||||
</g>
|
||||
<g filter="url(#filter10_f_6001_463)">
|
||||
<ellipse cx="23.4949" cy="29.5887" rx="23.7071" ry="13.7869" transform="rotate(112.516 23.4949 29.5887)" fill="#FFEE48"/>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<filter id="filter0_f_6001_463" x="2.49348" y="-26.5423" width="69.0899" height="61.2525" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
||||
<feGaussianBlur stdDeviation="3.89034" result="effect1_foregroundBlur_6001_463"/>
|
||||
</filter>
|
||||
<filter id="filter1_f_6001_463" x="28.7524" y="-32.0333" width="135.477" height="134.313" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
||||
<feGaussianBlur stdDeviation="18.8078" result="effect1_foregroundBlur_6001_463"/>
|
||||
</filter>
|
||||
<filter id="filter2_f_6001_463" x="-62.2884" y="-21.9253" width="142.637" height="127.18" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
||||
<feGaussianBlur stdDeviation="15.9884" result="effect1_foregroundBlur_6001_463"/>
|
||||
</filter>
|
||||
<filter id="filter3_f_6001_463" x="-62.2884" y="-21.9253" width="142.637" height="127.18" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
||||
<feGaussianBlur stdDeviation="15.9884" result="effect1_foregroundBlur_6001_463"/>
|
||||
</filter>
|
||||
<filter id="filter4_f_6001_463" x="-52.5697" y="-20.8346" width="127.582" height="127.452" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
||||
<feGaussianBlur stdDeviation="15.9884" result="effect1_foregroundBlur_6001_463"/>
|
||||
</filter>
|
||||
<filter id="filter5_f_6001_463" x="17.3619" y="45.4646" width="116.786" height="118.715" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
||||
<feGaussianBlur stdDeviation="15.1937" result="effect1_foregroundBlur_6001_463"/>
|
||||
</filter>
|
||||
<filter id="filter6_f_6001_463" x="-7.44765" y="-60.4737" width="125.303" height="122.858" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
||||
<feGaussianBlur stdDeviation="13.7698" result="effect1_foregroundBlur_6001_463"/>
|
||||
</filter>
|
||||
<filter id="filter7_f_6001_463" x="-27.7086" y="13.3597" width="157.119" height="162.029" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
||||
<feGaussianBlur stdDeviation="12.297" result="effect1_foregroundBlur_6001_463"/>
|
||||
</filter>
|
||||
<filter id="filter8_f_6001_463" x="50.4638" y="16.981" width="87.3973" height="83.7738" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
||||
<feGaussianBlur stdDeviation="11.0036" result="effect1_foregroundBlur_6001_463"/>
|
||||
</filter>
|
||||
<filter id="filter9_f_6001_463" x="34.2604" y="-28.457" width="116.701" height="104.506" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
||||
<feGaussianBlur stdDeviation="9.29385" result="effect1_foregroundBlur_6001_463"/>
|
||||
</filter>
|
||||
<filter id="filter10_f_6001_463" x="-15.1522" y="-15.9493" width="77.2941" height="91.076" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
||||
<feGaussianBlur stdDeviation="11.5027" result="effect1_foregroundBlur_6001_463"/>
|
||||
</filter>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.2 KiB |
@@ -0,0 +1 @@
|
||||
<svg fill="#D97757" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Claude</title><path d="m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1 @@
|
||||
<svg viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg" data-astro-cid-j7pv25f6="" xmlns:xlink="http://www.w3.org/1999/xlink"> \x3C!-- Lobster Claw Silhouette --> <path d="M60 10 C30 10 15 35 15 55 C15 75 30 95 45 100 L45 110 L55 110 L55 100 C55 100 60 102 65 100 L65 110 L75 110 L75 100 C90 95 105 75 105 55 C105 35 90 10 60 10Z" fill="url("#lobster-gradient")" class="claw-body" data-astro-cid-j7pv25f6=""/> \x3C!-- Left Claw --> <path d="M20 45 C5 40 0 50 5 60 C10 70 20 65 25 55 C28 48 25 45 20 45Z" fill="url("#lobster-gradient")" class="claw-left" data-astro-cid-j7pv25f6=""/> \x3C!-- Right Claw --> <path d="M100 45 C115 40 120 50 115 60 C110 70 100 65 95 55 C92 48 95 45 100 45Z" fill="url("#lobster-gradient")" class="claw-right" data-astro-cid-j7pv25f6=""/> \x3C!-- Antenna --> <path d="M45 15 Q35 5 30 8" stroke="rgb(255, 77, 77)" stroke-width="2" stroke-linecap="round" class="antenna" data-astro-cid-j7pv25f6=""/> <path d="M75 15 Q85 5 90 8" stroke="rgb(255, 77, 77)" stroke-width="2" stroke-linecap="round" class="antenna" data-astro-cid-j7pv25f6=""/> \x3C!-- Eyes --> <circle cx="45" cy="35" r="6" fill="rgb(5, 8, 16)" class="eye" data-astro-cid-j7pv25f6=""/> <circle cx="75" cy="35" r="6" fill="rgb(5, 8, 16)" class="eye" data-astro-cid-j7pv25f6=""/> <circle cx="46" cy="34" r="2" fill="rgb(0, 229, 204)" class="eye-glow" data-astro-cid-j7pv25f6=""/> <circle cx="76" cy="34" r="2" fill="rgb(0, 229, 204)" class="eye-glow" data-astro-cid-j7pv25f6=""/> <defs data-astro-cid-j7pv25f6=""> <linearGradient id="lobster-gradient" x1="0%" y1="0%" x2="100%" y2="100%" data-astro-cid-j7pv25f6=""> <stop offset="0%" stop-color="rgb(255, 77, 77)" data-astro-cid-j7pv25f6=""/> <stop offset="100%" stop-color="rgb(153, 27, 27)" data-astro-cid-j7pv25f6=""/> </linearGradient> </defs> </svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1 @@
|
||||
<svg fill="currentColor" viewBox="0 0 320 320" xmlns="http://www.w3.org/2000/svg"><path d="m297.06 130.97c7.26-21.79 4.76-45.66-6.85-65.48-17.46-30.4-52.56-46.04-86.84-38.68-15.25-17.18-37.16-26.95-60.13-26.81-35.04-.08-66.13 22.48-76.91 55.82-22.51 4.61-41.94 18.7-53.31 38.67-17.59 30.32-13.58 68.54 9.92 94.54-7.26 21.79-4.76 45.66 6.85 65.48 17.46 30.4 52.56 46.04 86.84 38.68 15.24 17.18 37.16 26.95 60.13 26.8 35.06.09 66.16-22.49 76.94-55.86 22.51-4.61 41.94-18.7 53.31-38.67 17.57-30.32 13.55-68.51-9.94-94.51zm-120.28 168.11c-14.03.02-27.62-4.89-38.39-13.88.49-.26 1.34-.73 1.89-1.07l63.72-36.8c3.26-1.85 5.26-5.32 5.24-9.07v-89.83l26.93 15.55c.29.14.48.42.52.74v74.39c-.04 33.08-26.83 59.9-59.91 59.97zm-128.84-55.03c-7.03-12.14-9.56-26.37-7.15-40.18.47.28 1.3.79 1.89 1.13l63.72 36.8c3.23 1.89 7.23 1.89 10.47 0l77.79-44.92v31.1c.02.32-.13.63-.38.83l-64.41 37.19c-28.69 16.52-65.33 6.7-81.92-21.95zm-16.77-139.09c7-12.16 18.05-21.46 31.21-26.29 0 .55-.03 1.52-.03 2.2v73.61c-.02 3.74 1.98 7.21 5.23 9.06l77.79 44.91-26.93 15.55c-.27.18-.61.21-.91.08l-64.42-37.22c-28.63-16.58-38.45-53.21-21.95-81.89zm221.26 51.49-77.79-44.92 26.93-15.54c.27-.18.61-.21.91-.08l64.42 37.19c28.68 16.57 38.51 53.26 21.94 81.94-7.01 12.14-18.05 21.44-31.2 26.28v-75.81c.03-3.74-1.96-7.2-5.2-9.06zm26.8-40.34c-.47-.29-1.3-.79-1.89-1.13l-63.72-36.8c-3.23-1.89-7.23-1.89-10.47 0l-77.79 44.92v-31.1c-.02-.32.13-.63.38-.83l64.41-37.16c28.69-16.55 65.37-6.7 81.91 22 6.99 12.12 9.52 26.31 7.15 40.1zm-168.51 55.43-26.94-15.55c-.29-.14-.48-.42-.52-.74v-74.39c.02-33.12 26.89-59.96 60.01-59.94 14.01 0 27.57 4.92 38.34 13.88-.49.26-1.33.73-1.89 1.07l-63.72 36.8c-3.26 1.85-5.26 5.31-5.24 9.06l-.04 89.79zm14.63-31.54 34.65-20.01 34.65 20v40.01l-34.65 20-34.65-20z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1 @@
|
||||
<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Cursor</title><path d="M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23"/></svg>
|
||||
|
After Width: | Height: | Size: 474 B |
|
After Width: | Height: | Size: 5.9 KiB |
@@ -0,0 +1 @@
|
||||
<svg fill="#8E75B2" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Google Gemini</title><path d="M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81"/></svg>
|
||||
|
After Width: | Height: | Size: 416 B |
@@ -0,0 +1 @@
|
||||
<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub Copilot</title><path d="M23.922 16.997C23.061 18.492 18.063 22.02 12 22.02 5.937 22.02.939 18.492.078 16.997A.641.641 0 0 1 0 16.741v-2.869a.883.883 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.098 10.098 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952C7.255 2.937 9.248 1.98 11.978 1.98c2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.841.841 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256Zm-11.75-5.992h-.344a4.359 4.359 0 0 1-.355.508c-.77.947-1.918 1.492-3.508 1.492-1.725 0-2.989-.359-3.782-1.259a2.137 2.137 0 0 1-.085-.104L4 11.746v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.359 4.359 0 0 1-.355-.508Zm2.328 3.25c.549 0 1 .451 1 1v2c0 .549-.451 1-1 1-.549 0-1-.451-1-1v-2c0-.549.451-1 1-1Zm-5 0c.549 0 1 .451 1 1v2c0 .549-.451 1-1 1-.549 0-1-.451-1-1v-2c0-.549.451-1 1-1Zm3.313-6.185c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30" fill="none">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.9054 0C1.30079 0 0 1.30079 0 2.9054V20.1021C2.38785 14.0608 6.74939 7.63786 11.6215 5.81079C12.7015 5.35879 15.4537 4.89536 17.8233 6.65761C17.6908 6.82689 17.5574 6.99874 17.423 7.17291C16.8561 7.99958 16.0943 8.93987 15.3336 9.87884C13.8387 11.7241 12.3479 13.5642 12.3479 14.527C12.3479 15.6813 14.7206 17.6277 17.0895 19.5712C17.7019 20.0735 18.3143 20.5759 18.8851 21.0641C17.1791 22.7524 10.6159 26.2603 9.57928 29.054H26.1486C27.7532 29.054 29.054 27.7532 29.054 26.1486V2.9054C29.054 1.30079 27.7532 0 26.1486 0H2.9054ZM24.1474 1.4527C25.8285 1.4527 26.4732 3.84867 25.8285 6.35555C25.3658 8.15493 24.8181 10.0369 24.3258 11.7287C23.9239 13.1099 23.5587 14.3648 23.3069 15.3441C24.988 17.7956 28.182 22.8618 27.5096 23.5155C23.475 24.1693 21.7904 22.5168 15.2533 14.527C14.9391 12.3922 22.4663 1.4527 24.1474 1.4527Z" fill="currentColor"/>
|
||||
<path d="M10.1689 13.8006C10.1689 15.0041 9.19329 15.9797 7.98984 15.9797C6.78638 15.9797 5.81079 15.0041 5.81079 13.8006C5.81079 12.5972 6.78638 11.6216 7.98984 11.6216C9.19329 11.6216 10.1689 12.5972 10.1689 13.8006Z" fill="currentColor"/>
|
||||
<script xmlns=""/></svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 50 50">
|
||||
<path d="M0,0v50h50V0H0ZM46.2962963,46.2962963H3.7037037V3.7037037h42.5925926v42.5925926ZM30.5555522,35.9548042h4.6296296v3.7037037h-5.8201058l-2.5132275-2.5132275v-5.8201058h3.7037037v4.6296296ZM38.8888855,35.9548042h-3.7037037v-4.6296296h-4.6296296v-3.7037037h5.8201058l2.5132275,2.5132275v5.8201058ZM23.1481481,30.5557103h-3.7037037v-3.7037037h3.7037037v3.7037037ZM11.1111111,26.8520066h3.7037037v8.3333333h8.3333333v3.7037037h-9.5238095l-2.5132275-2.5132275v-9.5238095ZM38.8888855,19.4444444v3.7037037h-12.037037v-3.7037037h4.1390959v-4.6296296h-4.1390959v-3.7037037h5.3295721l2.5132275,2.5132275v5.8201058h4.1942374ZM14.8148148,15.2777778h4.6296296l3.7037037,3.7037037v4.1666667h-3.7037037v-4.1666667h-4.6296296v4.1666667h-3.7037037v-12.037037h3.7037037v4.1666667ZM23.1481481,15.2777778h-3.7037037v-4.1666667h3.7037037v4.1666667Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 941 B |
@@ -0,0 +1,16 @@
|
||||
<svg width="240" height="300" viewBox="0 0 240 300" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_1401_86283)">
|
||||
<mask id="mask0_1401_86283" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="240" height="300">
|
||||
<path d="M240 0H0V300H240V0Z" fill="white"/>
|
||||
</mask>
|
||||
<g mask="url(#mask0_1401_86283)">
|
||||
<path d="M180 240H60V120H180V240Z" fill="#4B4646"/>
|
||||
<path d="M180 60H60V240H180V60ZM240 300H0V0H240V300Z" fill="#F1ECEC"/>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_1401_86283">
|
||||
<rect width="240" height="300" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 593 B |
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 33 21" width="33" height="21" fill="none">
|
||||
<path d="M27.6939 0.698856L27.0853 2.88004C27.0531 2.99552 26.9315 3.06224 26.8157 3.02799L16.6072 0.00893058C16.5393 -0.0111487 16.4658 0.00308892 16.4106 0.047029L6.30049 8.08333C6.27097 8.10679 6.23575 8.12215 6.19836 8.12786L0.18292 9.04674C0.0715357 9.06375 -0.0078759 9.16286 0.000622655 9.27425L0.0267609 9.61687C0.035109 9.72631 0.125665 9.81172 0.236347 9.81456L7.22353 9.99359L7.30322 9.9958L12.4661 7.2622C12.5383 7.22393 12.6263 7.22955 12.693 7.27669L16.3507 9.86111C16.408 9.90164 16.4418 9.96737 16.4412 10.0372L16.4103 13.4664C16.4099 13.5108 16.4235 13.5542 16.4491 13.5906L21.5943 20.9084C21.6346 20.9658 21.7007 21 21.7713 21H23.4001C23.5626 21 23.6668 20.8287 23.5909 20.6863L19.9237 13.8002C19.8878 13.7328 19.8908 13.6516 19.9315 13.5871L21.8435 10.551C21.8643 10.5179 21.8939 10.4912 21.9289 10.4735L28.7648 7.03514C28.8342 7.00021 28.9173 7.00508 28.9821 7.0479L30.9355 8.33851C30.971 8.36193 31.0126 8.37442 31.0552 8.37442H32.83C33.0019 8.37442 33.1047 8.18497 33.0101 8.04276L28.082 0.63809C27.98 0.484786 27.7433 0.521844 27.6939 0.698856Z" fill="currentColor"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1 @@
|
||||
<svg fill="currentColor" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Windsurf</title><path d="M23.55 5.067c-1.2038-.002-2.1806.973-2.1806 2.1765v4.8676c0 .972-.8035 1.7594-1.7597 1.7594-.568 0-1.1352-.286-1.4718-.7659l-4.9713-7.1003c-.4125-.5896-1.0837-.941-1.8103-.941-1.1334 0-2.1533.9635-2.1533 2.153v4.8957c0 .972-.7969 1.7594-1.7596 1.7594-.57 0-1.1363-.286-1.4728-.7658L.4076 5.1598C.2822 4.9798 0 5.0688 0 5.2882v4.2452c0 .2147.0656.4228.1884.599l5.4748 7.8183c.3234.462.8006.8052 1.3509.9298 1.3771.313 2.6446-.747 2.6446-2.0977v-4.893c0-.972.7875-1.7593 1.7596-1.7593h.003a1.798 1.798 0 0 1 1.4718.7658l4.9723 7.0994c.4135.5905 1.05.941 1.8093.941 1.1587 0 2.1515-.9645 2.1515-2.153v-4.8948c0-.972.7875-1.7594 1.7596-1.7594h.194a.22.22 0 0 0 .2204-.2202v-4.622a.22.22 0 0 0-.2203-.2203Z"/></svg>
|
||||
|
After Width: | Height: | Size: 833 B |
@@ -0,0 +1,98 @@
|
||||
import type { SVGProps } from "react";
|
||||
import { cn } from "~/lib/utils";
|
||||
import AmpIcon from "../../../public/icons/amp.svg";
|
||||
import AntigravityIcon from "../../../public/icons/antigravity.svg";
|
||||
import ClaudeCodeIcon from "../../../public/icons/claude-code.svg";
|
||||
import ClawdbotIcon from "../../../public/icons/clawdbot.svg";
|
||||
import CodexIcon from "../../../public/icons/codex.svg";
|
||||
import CursorIcon from "../../../public/icons/cursor.svg";
|
||||
import DroidIcon from "../../../public/icons/droid.svg";
|
||||
import GeminiCliIcon from "../../../public/icons/gemini-cli.svg";
|
||||
import GithubCopilotIcon from "../../../public/icons/github-copilot.svg";
|
||||
import GooseIcon from "../../../public/icons/goose.svg";
|
||||
import KiloCodeIcon from "../../../public/icons/kilo-code.svg";
|
||||
import OpenCodeIcon from "../../../public/icons/opencode.svg";
|
||||
import RooCodeIcon from "../../../public/icons/roo-code.svg";
|
||||
import WindsurfIcon from "../../../public/icons/windsurf.svg";
|
||||
|
||||
const toolIconMap = {
|
||||
// Claude Code
|
||||
"claude-code": ClaudeCodeIcon,
|
||||
// Cursor
|
||||
cursor: CursorIcon,
|
||||
// GitHub Copilot
|
||||
"github-copilot": GithubCopilotIcon,
|
||||
// Codex
|
||||
codex: CodexIcon,
|
||||
// OpenCode
|
||||
opencode: OpenCodeIcon,
|
||||
// Amp
|
||||
amp: AmpIcon,
|
||||
// Roo Code
|
||||
"roo-code": RooCodeIcon,
|
||||
// Kilo Code
|
||||
"kilo-code": KiloCodeIcon,
|
||||
// Goose
|
||||
goose: GooseIcon,
|
||||
// Gemini CLI
|
||||
"gemini-cli": GeminiCliIcon,
|
||||
// Antigravity
|
||||
antigravity: AntigravityIcon,
|
||||
// Clawdbot
|
||||
clawdbot: ClawdbotIcon,
|
||||
// Droid
|
||||
droid: DroidIcon,
|
||||
// Windsurf
|
||||
windsurf: WindsurfIcon,
|
||||
} as const;
|
||||
|
||||
export type AiToolName = keyof typeof toolIconMap;
|
||||
|
||||
type AiToolIconProps = {
|
||||
name: AiToolName;
|
||||
size?: number;
|
||||
className?: string;
|
||||
title?: string;
|
||||
decorative?: boolean;
|
||||
} & Omit<SVGProps<SVGSVGElement>, "name" | "width" | "height">;
|
||||
|
||||
export const toolLabels: Record<AiToolName, string> = {
|
||||
"claude-code": "Claude Code",
|
||||
cursor: "Cursor",
|
||||
"github-copilot": "GitHub Copilot",
|
||||
codex: "Codex",
|
||||
opencode: "OpenCode",
|
||||
amp: "Amp",
|
||||
"roo-code": "Roo Code",
|
||||
"kilo-code": "Kilo Code",
|
||||
goose: "Goose",
|
||||
"gemini-cli": "Gemini CLI",
|
||||
antigravity: "Antigravity",
|
||||
clawdbot: "Clawdbot",
|
||||
droid: "Droid",
|
||||
windsurf: "Windsurf",
|
||||
};
|
||||
|
||||
export function AiToolIcon({
|
||||
name,
|
||||
size = 24,
|
||||
className,
|
||||
title,
|
||||
decorative = false,
|
||||
...props
|
||||
}: AiToolIconProps) {
|
||||
const Icon = toolIconMap[name];
|
||||
const label = title ?? toolLabels[name];
|
||||
|
||||
return (
|
||||
<Icon
|
||||
width={size}
|
||||
height={size}
|
||||
className={cn("shrink-0 text-foreground", className)}
|
||||
role="img"
|
||||
aria-label={decorative ? undefined : label}
|
||||
aria-hidden={decorative || undefined}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
import Link from "next/link";
|
||||
import { GitHubIcon, BilibiliIcon, DouyinIcon, XIcon } from "./social-icons";
|
||||
import { cn } from "~/lib/utils";
|
||||
import { GitHubIcon, BilibiliIcon, DouyinIcon, XIcon } from "./social-icons";
|
||||
|
||||
const socialLinks = [
|
||||
{
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
declare module "*.svg" {
|
||||
import { type FC, type SVGProps } from "react";
|
||||
const content: FC<SVGProps<SVGElement>>;
|
||||
export default content;
|
||||
}
|
||||
|
||||
declare module "*.svg?url" {
|
||||
const content: any;
|
||||
export default content;
|
||||
}
|
||||
@@ -34,13 +34,16 @@
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"src/types/svg.d.ts",
|
||||
"next-env.d.ts",
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
"**/*.cjs",
|
||||
"**/*.js",
|
||||
"**/*.d.ts",
|
||||
".next/types/**/*.ts",
|
||||
"next.config.mjs"
|
||||
, "eslint.config.mjs" ],
|
||||
"exclude": ["node_modules", "generated", "public/_pagefind", "out"]
|
||||
"next.config.mjs",
|
||||
"eslint.config.mjs"
|
||||
],
|
||||
"exclude": ["node_modules", "generated", "public/_pagefind", "out"]
|
||||
}
|
||||
|
||||