fimo 0.2.3-staging.7 → 0.2.3-staging.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/bundle.json +2 -2
- package/package.json +1 -1
- package/templates/react-router/package.json +1 -1
- package/templates/react-router/public/claude-color.svg +1 -0
- package/templates/react-router/public/codex.svg +1 -0
- package/templates/react-router/public/copilot-color.svg +1 -0
- package/templates/react-router/public/cursor-light.svg +12 -0
- package/templates/react-router/public/fimo-logo-black.svg +3 -0
- package/templates/react-router/src/index.css +0 -4
- package/templates/react-router/src/pages/Index.tsx +38 -97
package/dist/cli/bundle.json
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Claude</title><path d="M4.709 15.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97 2.97 0 01-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312-.006.006z" fill="#D97757" fill-rule="nonzero"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Codex</title><path clip-rule="evenodd" d="M8.086.457a6.105 6.105 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.117.117 0 00.107.029c1.408-.346 2.762-.224 4.061.366l.063.03.154.076c1.357.703 2.33 1.77 2.918 3.198.278.679.418 1.388.421 2.126a5.655 5.655 0 01-.18 1.631.167.167 0 00.04.155 5.982 5.982 0 011.578 2.891c.385 1.901-.01 3.615-1.183 5.14l-.182.22a6.063 6.063 0 01-2.934 1.851.162.162 0 00-.108.102c-.255.736-.511 1.364-.987 1.992-1.199 1.582-2.962 2.462-4.948 2.451-1.583-.008-2.986-.587-4.21-1.736a.145.145 0 00-.14-.032c-.518.167-1.04.191-1.604.185a5.924 5.924 0 01-2.595-.622 6.058 6.058 0 01-2.146-1.781c-.203-.269-.404-.522-.551-.821a7.74 7.74 0 01-.495-1.283 6.11 6.11 0 01-.017-3.064.166.166 0 00.008-.074.115.115 0 00-.037-.064 5.958 5.958 0 01-1.38-2.202 5.196 5.196 0 01-.333-1.589 6.915 6.915 0 01.188-2.132c.45-1.484 1.309-2.648 2.577-3.493.282-.188.55-.334.802-.438.286-.12.573-.22.861-.304a.129.129 0 00.087-.087A6.016 6.016 0 015.635 2.31C6.315 1.464 7.132.846 8.086.457zm-.804 7.85a.848.848 0 00-1.473.842l1.694 2.965-1.688 2.848a.849.849 0 001.46.864l1.94-3.272a.849.849 0 00.007-.854l-1.94-3.393zm5.446 6.24a.849.849 0 000 1.695h4.848a.849.849 0 000-1.696h-4.848z"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Copilot</title><path d="M17.533 1.829A2.528 2.528 0 0015.11 0h-.737a2.531 2.531 0 00-2.484 2.087l-1.263 6.937.314-1.08a2.528 2.528 0 012.424-1.833h4.284l1.797.706 1.731-.706h-.505a2.528 2.528 0 01-2.423-1.829l-.715-2.453z" fill="url(#lobe-icons-copilot-0-_R_0_)" transform="translate(0 1)"></path><path d="M6.726 20.16A2.528 2.528 0 009.152 22h1.566c1.37 0 2.49-1.1 2.525-2.48l.17-6.69-.357 1.228a2.528 2.528 0 01-2.423 1.83h-4.32l-1.54-.842-1.667.843h.497c1.124 0 2.113.75 2.426 1.84l.697 2.432z" fill="url(#lobe-icons-copilot-1-_R_0_)" transform="translate(0 1)"></path><path d="M15 0H6.252c-2.5 0-4 3.331-5 6.662-1.184 3.947-2.734 9.225 1.75 9.225H6.78c1.13 0 2.12-.753 2.43-1.847.657-2.317 1.809-6.359 2.713-9.436.46-1.563.842-2.906 1.43-3.742A1.97 1.97 0 0115 0" fill="url(#lobe-icons-copilot-2-_R_0_)" transform="translate(0 1)"></path><path d="M15 0H6.252c-2.5 0-4 3.331-5 6.662-1.184 3.947-2.734 9.225 1.75 9.225H6.78c1.13 0 2.12-.753 2.43-1.847.657-2.317 1.809-6.359 2.713-9.436.46-1.563.842-2.906 1.43-3.742A1.97 1.97 0 0115 0" fill="url(#lobe-icons-copilot-3-_R_0_)" transform="translate(0 1)"></path><path d="M9 22h8.749c2.5 0 4-3.332 5-6.663 1.184-3.948 2.734-9.227-1.75-9.227H17.22c-1.129 0-2.12.754-2.43 1.848a1149.2 1149.2 0 01-2.713 9.437c-.46 1.564-.842 2.907-1.43 3.743A1.97 1.97 0 019 22" fill="url(#lobe-icons-copilot-4-_R_0_)" transform="translate(0 1)"></path><path d="M9 22h8.749c2.5 0 4-3.332 5-6.663 1.184-3.948 2.734-9.227-1.75-9.227H17.22c-1.129 0-2.12.754-2.43 1.848a1149.2 1149.2 0 01-2.713 9.437c-.46 1.564-.842 2.907-1.43 3.743A1.97 1.97 0 019 22" fill="url(#lobe-icons-copilot-5-_R_0_)" transform="translate(0 1)"></path><defs><radialGradient cx="85.44%" cy="100.653%" fx="85.44%" fy="100.653%" gradientTransform="scale(-.8553 -1) rotate(50.927 2.041 -1.946)" id="lobe-icons-copilot-0-_R_0_" r="105.116%"><stop offset="9.6%" stop-color="#00AEFF"></stop><stop offset="77.3%" stop-color="#2253CE"></stop><stop offset="100%" stop-color="#0736C4"></stop></radialGradient><radialGradient cx="18.143%" cy="32.928%" fx="18.143%" fy="32.928%" gradientTransform="scale(.8897 1) rotate(52.069 .193 .352)" id="lobe-icons-copilot-1-_R_0_" r="95.612%"><stop offset="0%" stop-color="#FFB657"></stop><stop offset="63.4%" stop-color="#FF5F3D"></stop><stop offset="92.3%" stop-color="#C02B3C"></stop></radialGradient><radialGradient cx="82.987%" cy="-9.792%" fx="82.987%" fy="-9.792%" gradientTransform="scale(-1 -.9441) rotate(-70.872 .142 1.17)" id="lobe-icons-copilot-4-_R_0_" r="140.622%"><stop offset="6.6%" stop-color="#8C48FF"></stop><stop offset="50%" stop-color="#F2598A"></stop><stop offset="89.6%" stop-color="#FFB152"></stop></radialGradient><linearGradient id="lobe-icons-copilot-2-_R_0_" x1="39.465%" x2="46.884%" y1="12.117%" y2="103.774%"><stop offset="15.6%" stop-color="#0D91E1"></stop><stop offset="48.7%" stop-color="#52B471"></stop><stop offset="65.2%" stop-color="#98BD42"></stop><stop offset="93.7%" stop-color="#FFC800"></stop></linearGradient><linearGradient id="lobe-icons-copilot-3-_R_0_" x1="45.949%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#3DCBFF"></stop><stop offset="24.7%" stop-color="#0588F7" stop-opacity="0"></stop></linearGradient><linearGradient id="lobe-icons-copilot-5-_R_0_" x1="83.507%" x2="83.453%" y1="-6.106%" y2="21.131%"><stop offset="5.8%" stop-color="#F8ADFA"></stop><stop offset="70.8%" stop-color="#A86EDD" stop-opacity="0"></stop></linearGradient></defs></svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg id="Ebene_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 466.73 532.09">
|
|
3
|
+
<!-- Generator: Adobe Illustrator 29.6.1, SVG Export Plug-In . SVG Version: 2.1.1 Build 9) -->
|
|
4
|
+
<defs>
|
|
5
|
+
<style>
|
|
6
|
+
.st0 {
|
|
7
|
+
fill: #26251e;
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
</defs>
|
|
11
|
+
<path class="st0" d="M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z"/>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="2017" height="420" viewBox="0 0 2017 420" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M1424.99 4.51883C1407.48 -1.17117 1389.04 -1.49117 1371.66 3.57883C1352.68 9.11883 1336.33 20.7488 1324.37 37.2188L1107.47 335.759C1104.64 339.659 1100.88 340.879 1096.29 339.389C1091.71 337.899 1089.38 334.699 1089.38 329.879V90.1188C1089.38 69.7688 1082.99 50.7488 1070.89 35.1088C1059.81 20.7888 1044.7 10.2188 1027.19 4.52883C1009.68 -1.16117 991.239 -1.48117 973.859 3.58883C954.879 9.12883 938.529 20.7588 926.569 37.2288L709.669 335.769C706.839 339.669 703.069 340.889 698.489 339.399C693.899 337.909 691.579 334.709 691.579 329.889V210.009C691.579 187.919 673.669 170.009 651.579 170.009C629.489 170.009 611.579 187.919 611.579 210.009V329.889C611.579 350.239 617.969 369.259 630.069 384.899C641.149 399.219 656.259 409.789 673.769 415.479C683.039 418.489 692.569 419.999 702.069 419.999C710.509 419.999 718.919 418.809 727.099 416.419C746.079 410.879 762.429 399.249 774.389 382.779L991.289 84.2388C994.119 80.3388 997.879 79.1188 1002.47 80.6088C1007.05 82.0988 1009.38 85.2988 1009.38 90.1188V329.879C1009.38 350.229 1015.77 369.249 1027.87 384.889C1038.95 399.209 1054.06 409.779 1071.57 415.469C1089.08 421.159 1107.52 421.489 1124.9 416.409C1143.88 410.869 1160.23 399.239 1172.19 382.769L1389.09 84.2288C1391.92 80.3288 1395.69 79.1088 1400.27 80.5988C1404.85 82.0888 1407.18 85.2888 1407.18 90.1088V379.959C1407.18 402.049 1425.09 419.959 1447.18 419.959C1469.27 419.959 1487.18 402.049 1487.18 379.959V90.1188C1487.18 69.7688 1480.79 50.7488 1468.69 35.1088C1457.61 20.7888 1442.5 10.2188 1424.99 4.52883V4.51883ZM363.419 80.0188H517.429C539.519 80.0188 557.429 62.1088 557.429 40.0188C557.429 17.9288 539.519 0.018832 517.429 0.018832H363.419C302.799 0.018832 245.339 29.2988 209.709 78.3388L7.63908 356.459C-5.34092 374.329 -1.38092 399.349 16.4891 412.329C23.5891 417.489 31.8191 419.969 39.9691 419.969C52.3391 419.969 64.5391 414.249 72.3591 403.479L150.949 295.299C171.579 266.929 204.839 249.989 239.919 249.989H517.419C539.509 249.989 557.419 232.079 557.419 209.989C557.419 187.899 539.509 169.989 517.419 169.989H241.999L274.429 125.359C295.059 96.9688 328.329 80.0188 363.419 80.0188ZM1826.52 0.018832H1731.33C1626.56 0.018832 1541.33 85.2488 1541.33 190.019V229.969C1541.33 334.739 1626.56 419.969 1731.33 419.969H1826.52C1931.29 419.969 2016.52 334.739 2016.52 229.969V190.019C2016.52 85.2488 1931.28 0.018832 1826.52 0.018832ZM1936.52 229.969C1936.52 290.619 1887.17 339.969 1826.52 339.969H1731.33C1670.68 339.969 1621.33 290.619 1621.33 229.969V190.019C1621.33 129.369 1670.68 80.0188 1731.33 80.0188H1826.52C1887.17 80.0188 1936.52 129.369 1936.52 190.019V229.969ZM651.579 80.0188C673.669 80.0188 691.579 62.1088 691.579 40.0188C691.579 17.9288 673.669 0.018832 651.579 0.018832C629.489 0.018832 611.579 17.9288 611.579 40.0188C611.579 62.1088 629.489 80.0188 651.579 80.0188Z" fill="black"/>
|
|
3
|
+
</svg>
|
|
@@ -1,104 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
{
|
|
3
|
-
title: 'Update this website',
|
|
4
|
-
ui: 'Use Preview, Content, or Code in the Fimo UI to edit the site directly.',
|
|
5
|
-
cli: 'Edit the homepage locally and shape the page in your own editor.',
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
title: 'Publish',
|
|
9
|
-
ui: 'Click Publish in the top-right corner when you are ready to go live.',
|
|
10
|
-
cli: 'Run the publish command from the terminal when you are ready to go live.',
|
|
11
|
-
},
|
|
12
|
-
];
|
|
13
|
-
|
|
14
|
-
const links = [
|
|
15
|
-
{ label: 'Documentation', href: 'https://docs.fimo.ai' },
|
|
16
|
-
{ label: 'Community', href: 'https://fimo.ai' },
|
|
17
|
-
{ label: 'Blog', href: 'https://blog.fimo.ai' },
|
|
18
|
-
{ label: 'Roadmap', href: 'https://fimo.canny.io' },
|
|
19
|
-
{ label: 'Discord', href: 'https://discord.fimo.ai' },
|
|
20
|
-
];
|
|
1
|
+
import { AppWindow, Globe, SquareTerminal } from 'lucide-react';
|
|
21
2
|
|
|
22
3
|
const Index = () => {
|
|
23
4
|
return (
|
|
24
|
-
<div className="relative min-h-screen overflow-hidden bg-
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
<
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
>
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
<div className="rounded-2xl border border-orange-200 bg-orange-50 p-4">
|
|
61
|
-
<p className="text-xs font-semibold tracking-[0.24em] text-orange-700 uppercase">CLI</p>
|
|
62
|
-
<p className="mt-2 text-sm leading-6 text-zinc-700">
|
|
63
|
-
{action.title === 'Update this website' ? (
|
|
64
|
-
<>
|
|
65
|
-
Edit{' '}
|
|
66
|
-
<code className="rounded bg-white px-1.5 py-0.5 text-[0.95em] text-zinc-950">
|
|
67
|
-
src/pages/Index.tsx
|
|
68
|
-
</code>{' '}
|
|
69
|
-
locally and shape the page in your own editor.
|
|
70
|
-
</>
|
|
71
|
-
) : (
|
|
72
|
-
<>
|
|
73
|
-
Run{' '}
|
|
74
|
-
<code className="rounded bg-white px-1.5 py-0.5 text-[0.95em] text-zinc-950">
|
|
75
|
-
fimo deploy --publish
|
|
76
|
-
</code>{' '}
|
|
77
|
-
from the terminal when you are ready to go live.
|
|
78
|
-
</>
|
|
79
|
-
)}
|
|
80
|
-
</p>
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
</article>
|
|
84
|
-
))}
|
|
85
|
-
</section>
|
|
86
|
-
|
|
87
|
-
<footer className="mt-16 border-t border-zinc-200 pt-8">
|
|
88
|
-
<div className="flex flex-wrap items-center justify-center gap-x-6 gap-y-3 text-sm text-zinc-500">
|
|
89
|
-
{links.map((link) => (
|
|
90
|
-
<a
|
|
91
|
-
key={link.label}
|
|
92
|
-
href={link.href}
|
|
93
|
-
target="_blank"
|
|
94
|
-
rel="noreferrer"
|
|
95
|
-
className="transition-colors hover:text-zinc-950"
|
|
96
|
-
>
|
|
97
|
-
{link.label}
|
|
98
|
-
</a>
|
|
99
|
-
))}
|
|
5
|
+
<div className="relative min-h-screen overflow-hidden bg-white">
|
|
6
|
+
<main className="mx-auto flex min-h-screen flex-col items-center px-6 py-16">
|
|
7
|
+
<div className="w-full max-w-3xl">
|
|
8
|
+
<img src="/fimo-logo-black.svg" alt="Fimo" className="pointer-events-none mb-8 h-6 w-auto" />
|
|
9
|
+
<div className="flex flex-col gap-8 text-zinc-500">
|
|
10
|
+
<p>Welcome to your new Fimo site!</p>
|
|
11
|
+
<ul className="space-y-8 sm:space-y-4">
|
|
12
|
+
<li className="flex flex-col gap-3 sm:flex-row sm:items-center">
|
|
13
|
+
<SquareTerminal className="hidden size-4 shrink-0 text-zinc-500 sm:block" />
|
|
14
|
+
<span>If you're working locally, you can edit it with your favorite coding agent or IDE.</span>
|
|
15
|
+
<span className="flex items-center gap-3">
|
|
16
|
+
<img src="/claude-color.svg" alt="Claude" className="pointer-events-none h-5 w-auto" />
|
|
17
|
+
<img src="/codex.svg" alt="Codex" className="pointer-events-none h-5 w-auto" />
|
|
18
|
+
<img src="/copilot-color.svg" alt="Copilot" className="pointer-events-none h-5 w-auto" />
|
|
19
|
+
<img src="/cursor-light.svg" alt="Cursor" className="pointer-events-none h-5 w-auto" />
|
|
20
|
+
</span>
|
|
21
|
+
</li>
|
|
22
|
+
<li className="flex flex-col gap-3 sm:flex-row sm:items-center">
|
|
23
|
+
<Globe className="hidden size-4 shrink-0 text-zinc-500 sm:block" />
|
|
24
|
+
<span>If you're on the web, you can edit it with the chat.</span>
|
|
25
|
+
</li>
|
|
26
|
+
</ul>
|
|
27
|
+
<hr />
|
|
28
|
+
<div className="flex flex-col gap-4 text-sm sm:flex-row">
|
|
29
|
+
<a href="https://fimo.ai" target="_blank" rel="noreferrer">
|
|
30
|
+
Fimo.ai
|
|
31
|
+
</a>
|
|
32
|
+
<a href="https://docs.fimo.ai" target="_blank" rel="noreferrer">
|
|
33
|
+
Documentation
|
|
34
|
+
</a>
|
|
35
|
+
<a href="https://blog.fimo.ai" target="_blank" rel="noreferrer">
|
|
36
|
+
Blog
|
|
37
|
+
</a>
|
|
38
|
+
<a href="https://fimo.canny.io" target="_blank" rel="noreferrer">
|
|
39
|
+
Roadmap
|
|
40
|
+
</a>
|
|
100
41
|
</div>
|
|
101
|
-
</
|
|
42
|
+
</div>
|
|
102
43
|
</div>
|
|
103
44
|
</main>
|
|
104
45
|
</div>
|