Skip to content

Commit

Permalink
upgrade: bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
0xHericles committed Aug 21, 2024
1 parent c70411e commit 128d969
Show file tree
Hide file tree
Showing 26 changed files with 355 additions and 276 deletions.
5 changes: 3 additions & 2 deletions components/Glossary/GlossaryItem.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import Icon from "site/components/ui/Icon.tsx";

export const alphabet = Array.from({ length: 26 }, (_, i) =>
String.fromCharCode(65 + i)
export const alphabet = Array.from(
{ length: 26 },
(_, i) => String.fromCharCode(65 + i),
); // Create list of characters

function GlossaryItem({
Expand Down
30 changes: 20 additions & 10 deletions components/Home/Testimonials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,63 +66,72 @@ export default function Testimonials({
image:
"https://ozksgdmyrqcxcwhnbepg.supabase.co/storage/v1/object/public/assets/530/5ea5f2ce-0a0e-4105-8333-2cbddc6c1c6e",
name: "Alex Dulub",
description: `"It's exciting to see a platform that not only speeds up frontend development but also fosters collaboration between developers and marketing teams. The seamless integration of modern technologies and the focus on both developer power and ease of use are impressive."`,
description:
`"It's exciting to see a platform that not only speeds up frontend development but also fosters collaboration between developers and marketing teams. The seamless integration of modern technologies and the focus on both developer power and ease of use are impressive."`,
href: "#",
},
{
image:
"https://ozksgdmyrqcxcwhnbepg.supabase.co/storage/v1/object/public/assets/530/0b4a74da-5050-4641-a128-df3b606bfd05",
name: "Andres Pradilla",
description: `"Wow!!! 🚀 This is a game changer for headless ecommerce! Have seen the product in action and it absolutely rocks! The best news is this product has happy live customers using it day in day out and have seen great value out of the tool!"`,
description:
`"Wow!!! 🚀 This is a game changer for headless ecommerce! Have seen the product in action and it absolutely rocks! The best news is this product has happy live customers using it day in day out and have seen great value out of the tool!"`,
href: "#",
},
{
image:
"https://ozksgdmyrqcxcwhnbepg.supabase.co/storage/v1/object/public/assets/530/31035191-0815-4a14-b2a5-559c451a19a3",
name: "Joep van den Bogaert",
description: `"Wow, such an impressive product. Really love how you bring together development and content management. The automatic forms based on the typescript models are awesome."`,
description:
`"Wow, such an impressive product. Really love how you bring together development and content management. The automatic forms based on the typescript models are awesome."`,
href: "#",
},
{
image:
"https://ozksgdmyrqcxcwhnbepg.supabase.co/storage/v1/object/public/assets/530/adbf4b08-e54f-4d4a-aecf-94de3974f0e0",
name: "khaosdoctor",
description: `"This is AWESOME! I’ve been looking to find something like this for my pages for ages. The Deno core using TypeScript is the ABSOLUTE BEST mix ever. Loved the work you guys are doing. Hope you continue to disrupt even more!"`,
description:
`"This is AWESOME! I’ve been looking to find something like this for my pages for ages. The Deno core using TypeScript is the ABSOLUTE BEST mix ever. Loved the work you guys are doing. Hope you continue to disrupt even more!"`,
href: "#",
},
{
image:
"https://ozksgdmyrqcxcwhnbepg.supabase.co/storage/v1/object/public/assets/530/adbf4b08-e54f-4d4a-aecf-94de3974f0e0",
name: "p2hari",
description: `"oh man, are you folks for real!!! I just checked out the website, git and discord channels (I just joined in) and you are awesome. Open source core and so much more work on git. Bringing partytown to deno etc. etc."`,
description:
`"oh man, are you folks for real!!! I just checked out the website, git and discord channels (I just joined in) and you are awesome. Open source core and so much more work on git. Bringing partytown to deno etc. etc."`,
href: "#",
},
{
image:
"https://ozksgdmyrqcxcwhnbepg.supabase.co/storage/v1/object/public/assets/530/adbf4b08-e54f-4d4a-aecf-94de3974f0e0",
name: "nopro",
description: `"This looks amazing, like a modern take on Dreamweaver or something. The low code IDE may soon return! The ability to switch between no-code/code is great for teaching people to code. Dreamweaver (and MySpace profiles) basically taught me CSS."`,
description:
`"This looks amazing, like a modern take on Dreamweaver or something. The low code IDE may soon return! The ability to switch between no-code/code is great for teaching people to code. Dreamweaver (and MySpace profiles) basically taught me CSS."`,
href: "#",
},
{
image:
"https://ozksgdmyrqcxcwhnbepg.supabase.co/storage/v1/object/public/assets/530/5b024b3e-d57c-48bc-8818-de33cf4d447a",
name: "Marco Ferreira",
description: `"Man, I don't even know who to tag here hahaha, but I wanted to give my recognition to deco itself! To the folks who founded it and those who keep updating and improving the platform. Excellent work for the client in terms of registration flexibility and simple for the developer!"`,
description:
`"Man, I don't even know who to tag here hahaha, but I wanted to give my recognition to deco itself! To the folks who founded it and those who keep updating and improving the platform. Excellent work for the client in terms of registration flexibility and simple for the developer!"`,
href: "#",
},
{
image:
"https://ozksgdmyrqcxcwhnbepg.supabase.co/storage/v1/object/public/assets/530/726cd991-7b37-45a7-b1d2-e1af364ea926",
name: "Gustavo Vasconcellos",
description: `"A round of applause for the team that has significantly improved the usability of the Admin since the last hackathon. Both the section editor and the library are GREAT. Special recognition to whoever had the idea and implemented the change to repo branches in the Admin: Great job! 👏"`,
description:
`"A round of applause for the team that has significantly improved the usability of the Admin since the last hackathon. Both the section editor and the library are GREAT. Special recognition to whoever had the idea and implemented the change to repo branches in the Admin: Great job! 👏"`,
href: "#",
},
{
image:
"https://ozksgdmyrqcxcwhnbepg.supabase.co/storage/v1/object/public/assets/530/3c766de4-48a5-46c9-aff4-6edd766c949c",
name: "Julyanne Taboaço",
description: `"I’m sure you will soar even higher; this is just the beginning. Very grateful for this partnership and for believing in you from the very start. And what a partnership! You are tireless in evolving and suggesting improvements, embracing any challenges we face, and always ready to support and grow with us!"`,
description:
`"I’m sure you will soar even higher; this is just the beginning. Very grateful for this partnership and for believing in you from the very start. And what a partnership! You are tireless in evolving and suggesting improvements, embracing any challenges we face, and always ready to support and grow with us!"`,
href: "#",
},
],
Expand All @@ -138,7 +147,8 @@ export default function Testimonials({
dangerouslySetInnerHTML={{
__html: title,
}}
></h2>
>
</h2>
)}

{subtitle && (
Expand Down
11 changes: 6 additions & 5 deletions components/LiveProjects/Project.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ export interface IProject {
}

function ProgressBar({ progress }: { progress: number }) {
const radius = 45
const dasharray = 2 * Math.PI * radius
const dashoffset = dasharray * ((100 - progress) / 100)
const radius = 45;
const dasharray = 2 * Math.PI * radius;
const dashoffset = dasharray * ((100 - progress) / 100);

return (
<div class="absolute scale-[40%] group-hover:scale-[60%] right-[-30px] top-[-30px] transition duration-500">
Expand All @@ -42,7 +42,8 @@ function ProgressBar({ progress }: { progress: number }) {
stroke-dashoffset={dashoffset}
stroke-linecap="round"
transform="rotate(-90, 50, 50)"
></circle>
>
</circle>
</svg>
</div>
</div>
Expand All @@ -56,7 +57,7 @@ function Project({ project }: { project: IProject }) {
href={project.url}
target="_blank"
>
<ProgressBar progress={project.performance}/>
<ProgressBar progress={project.performance} />
<div class="flex flex-col gap-4">
<div class="box-border bg-[#070D0D] p-2 border border-[#0B1612] rounded-xl">
<div class="flex items-start justify-center h-[400px] max-w-[300px] overflow-hidden rounded-lg">
Expand Down
6 changes: 5 additions & 1 deletion components/devCollab/Benefits.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ export interface Props {
export default function Benefits({ title, items = [] }: Props) {
return (
<div class="relative flex flex-col items-center justify-center gap-16 z-10 my-10 md:my-20 text-[#949E9E]">
{title && <h2 class="text-3xl md:text-4xl lg:text-[40px] text-white font-medium">{title}</h2>}
{title && (
<h2 class="text-3xl md:text-4xl lg:text-[40px] text-white font-medium">
{title}
</h2>
)}
<div class="flex flex-col md:flex-row gap-6 lg:gap-20 px-4 w-full justify-center">
{items.map((item, index) => (
<>
Expand Down
15 changes: 10 additions & 5 deletions components/devCollab/FinalDelivery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,22 @@ export interface Props {
export default function FinalDelivery({ title, items = [] }: Props) {
return (
<div class="relative flex flex-col items-center justify-center gap-16 z-10 my-10 md:my-20 text-[#949E9E]">
<h2 class="text-3xl md:text-4xl lg:text-[40px] text-white font-medium">{title}</h2>
<h2 class="text-3xl md:text-4xl lg:text-[40px] text-white font-medium">
{title}
</h2>
<div class="flex flex-col lg:flex-row gap-8 px-4 w-full justify-center">
{items.map((item) => (
<div class="flex flex-col gap-6 lg:max-w-96">
<div class="text-[#02F67C] p-3 border border-[#02f67c1a] bg-[#02f67c1a] w-fit rounded-full">
<Icon id={item.icon} size={24}/>
<Icon id={item.icon} size={24} />
</div>
<span class="text-3xl text-white font-bold">{item.title}</span>
<span class="text-[#949E9E]" dangerouslySetInnerHTML={{
__html: item.text
}} />
<span
class="text-[#949E9E]"
dangerouslySetInnerHTML={{
__html: item.text,
}}
/>
</div>
))}
</div>
Expand Down
7 changes: 4 additions & 3 deletions components/devCollab/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,17 @@ export default function Hero({
dangerouslySetInnerHTML={{
__html: title,
}}
></h1>
>
</h1>
)}
{subTitle && (
<h2
class="font-albert-sans mx-11 inline-block text-[16px] lg:text-[20px] leading-7 text-center leading-[150%] text-white max-w-lg md:max-w-2xl"
dangerouslySetInnerHTML={{
__html: subTitle,
}}
></h2>
>
</h2>
)}
</div>
<div class="flex flex-row gap-4 justify-center items-center w-full md:w-auto z-20">
Expand All @@ -80,7 +82,6 @@ export default function Hero({
))}
</div>
</div>

</div>
);
}
7 changes: 5 additions & 2 deletions components/devCollab/Schedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ export interface Props {
export default function Schedule({ title, schedule = [] }: Props) {
const styles = {
card: {
highlight: "bg-[#27ae6bd6] border border-[#27AE6B] shadow-[0_0_40px_0_rgba(2,246,124,0.3)]",
highlight:
"bg-[#27ae6bd6] border border-[#27AE6B] shadow-[0_0_40px_0_rgba(2,246,124,0.3)]",
regular: "bg-[#162121] border border-[#273433]",
},
};

return (
<div class="relative flex flex-col items-center justify-center gap-16 z-10 my-10 md:my-20 text-[#949E9E]">
<h2 class="text-3xl md:text-4xl lg:text-[40px] text-white text-center font-medium">{title}</h2>
<h2 class="text-3xl md:text-4xl lg:text-[40px] text-white text-center font-medium">
{title}
</h2>
<div class="flex flex-col items-stretch justify-center md:flex-row gap-8 px-4 w-full">
{schedule.map((item) => (
<div class="flex flex-col items-center gap-6 lg:max-w-96 grow">
Expand Down
12 changes: 8 additions & 4 deletions components/ui/CarouselLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export interface Props {

export default function CarouselLinks({
bottomPadding,
title = "Lorem ipsum dolor sit amet consectetur.<br>Lectus diam pellentesque sit velit.",
title =
"Lorem ipsum dolor sit amet consectetur.<br>Lectus diam pellentesque sit velit.",
cards,
}: Props) {
const id = useId();
Expand Down Expand Up @@ -60,11 +61,14 @@ export default function CarouselLinks({
<h2
class="font-albert-sans text-lg lg:text-2xl font-medium text-white text-center leading-[115%] tracking-[-0.72px] max-w-[636px] mx-auto"
dangerouslySetInnerHTML={{ __html: title }}
></h2>
>
</h2>
)}
<div class="relative pt-8 lg:pt-12">
<div className="before:absolute before:inset-y-0 before:left-0 before:w-[8%] before:bg-gradient-to-l before:from-black/0 before:to-[#030806] before:z-20"></div>
<div className="after:absolute after:inset-y-0 after:right-0 after:w-[8%] after:bg-gradient-to-r after:from-black/0 after:to-[#030806] after:z-20"></div>
<div className="before:absolute before:inset-y-0 before:left-0 before:w-[8%] before:bg-gradient-to-l before:from-black/0 before:to-[#030806] before:z-20">
</div>
<div className="after:absolute after:inset-y-0 after:right-0 after:w-[8%] after:bg-gradient-to-r after:from-black/0 after:to-[#030806] after:z-20">
</div>

{/* Contêiner para os cards */}
<div class="relative overflow-hidden">
Expand Down
35 changes: 30 additions & 5 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"imports": {
"site/": "./",
"deco-sites/std/": "https://denopkg.com/deco-sites/[email protected].7/",
"$live/": "https://denopkg.com/deco-cx/deco@1.83.4/",
"deco-sites/std/": "https://denopkg.com/deco-sites/[email protected].8/",
"$live/": "https://denopkg.com/deco-cx/deco@1.90.2/",
"$store/": "./",
"deco/": "https://denopkg.com/deco-cx/deco@1.83.4/",
"apps/": "https://denopkg.com/deco-cx/apps@0.53.12/",
"deco/": "https://denopkg.com/deco-cx/deco@1.90.2/",
"apps/": "https://denopkg.com/deco-cx/apps@0.55.9/",
"$fresh/": "https://deno.land/x/[email protected]/",
"preact": "https://esm.sh/[email protected]",
"preact/": "https://esm.sh/[email protected]/",
Expand All @@ -18,7 +18,32 @@
"typography": "npm:@tailwindcss/[email protected]",
"motion": "https://esm.sh/[email protected]",
"partytown/": "https://deno.land/x/[email protected]/",
"@floating-ui/react": "https://esm.sh/@floating-ui/[email protected]?external=preact/compat,tabbable,@floating-ui/react-dom,react,react-dom"
"@floating-ui/react": "https://esm.sh/@floating-ui/[email protected]?external=preact/compat,tabbable,@floating-ui/react-dom,react,react-dom",
"@cliffy/prompt": "jsr:@cliffy/prompt@^1.0.0-rc.5",
"@core/asyncutil": "jsr:@core/asyncutil@^1.0.2",
"@deco/durable": "jsr:@deco/durable@^0.5.3",
"@deco/warp": "jsr:@deco/warp@^0.3.4",
"@hono/hono": "jsr:@hono/hono@^4.5.4",
"@std/assert": "jsr:@std/assert@^1.0.2",
"@std/async": "jsr:@std/async@^0.224.1",
"@std/cli": "jsr:@std/cli@^1.0.3",
"@std/crypto": "jsr:@std/[email protected]",
"@std/datetime": "jsr:@std/datetime@^0.224.0",
"@std/encoding": "jsr:@std/encoding@^1.0.0-rc.1",
"@std/flags": "jsr:@std/flags@^0.224.0",
"@std/fmt": "jsr:@std/fmt@^0.225.3",
"@std/fs": "jsr:@std/fs@^0.229.1",
"@std/http": "jsr:@std/http@^1.0.0",
"@std/io": "jsr:@std/io@^0.224.4",
"@std/log": "jsr:@std/log@^0.224.5",
"@std/media-types": "jsr:@std/media-types@^1.0.0-rc.1",
"@std/path": "jsr:@std/path@^0.225.2",
"@std/semver": "jsr:@std/semver@^0.224.3",
"@std/streams": "jsr:@std/streams@^1.0.0",
"@std/testing": "jsr:@std/testing@^1.0.0",
"@zaubrik/djwt": "jsr:@zaubrik/djwt@^3.0.2",
"fast-json-patch": "npm:fast-json-patch@^3.1.1",
"simple-git": "npm:simple-git@^3.25.0"
},
"tasks": {
"start": "deno task bundle && deno run -A --env --config=deno.json https://deco.cx/run --build-cmd 'deno task build' -- deno task dev",
Expand Down
Loading

0 comments on commit 128d969

Please sign in to comment.