update /www and tailwind-plugin to support tailwind v4. Thanks to the merge of #3034, the work of integrating and advancing #2903 is promoted. related #3034 related #2903 close #3056 close #2819 --patch-1 based on review, 1. del compiler and make it more clean and simple, 2. fix init tailwind part, 3. fix test tailwind part --patch-2 1. fix the docs 2. fix the docs of plugin and version --patch-3 1. Addressed various maintenance tasks (chores) 2. Updated the Tailwind CSS plugin to align with this release. Generated a fresh project using the updated init configuration and 3. deployed it via Deno Deploy EA. Deployment is functioning correctly. --patch-4 Move postcss imports to Tailwind section in init script --patch-5 Refactored Tailwind plugin type definitions by copying PluginOptions properties from @tailwindcss/postcss and adding Fresh-specific exclude option, while exporting types from package entrypoint for better accessibility. Test Project: https://fresh.fresh-press.deno.net/ Test Project Repository: https://github.com/SisyphusZheng/fresh-tailwindv4 Test Plugin: https://jsr.io/@freshpress/fresh-plugin-tailwind@1.0.0 --------- Co-authored-by: 李嘉图·M·路 <146103794+Ricardo-M-Zheng@users.noreply.github.com> Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com> Co-authored-by: Marvin Hagemeister <marvin@deno.com>
56 lines
2.3 KiB
TypeScript
56 lines
2.3 KiB
TypeScript
import { PageSection } from "../../components/PageSection.tsx";
|
|
import { FancyLink } from "../../components/FancyLink.tsx";
|
|
import { DemoBox } from "../../components/homepage/DemoBox.tsx";
|
|
|
|
export function SocialProof() {
|
|
return (
|
|
<PageSection>
|
|
<div class="text-center max-w-max mx-auto flex flex-col gap-4">
|
|
<h2 class="text-gray-600 text-4xl sm:text-5xl md:text-6xl lg:text-7xl sm:tracking-tight sm:leading-[1.1] font-extrabold text-balance">
|
|
Built for the edge
|
|
</h2>
|
|
<p class="text-xl text-balance max-w-prose mx-auto">
|
|
Fresh is the secret sauce behind production-grade, enterprise-ready
|
|
software like{" "}
|
|
<a href="https://deco.cx" class="underline">Deco.cx</a>, Brazil's top
|
|
eCommerce platform
|
|
</p>
|
|
</div>
|
|
<a href="https://deno.com/blog/deco-cx-subhosting-serve-their-clients-storefronts-fast">
|
|
<img
|
|
src="/showcase/deco.webp"
|
|
alt="Deco CX"
|
|
class="mx-auto"
|
|
loading="lazy"
|
|
/>
|
|
</a>
|
|
<div class="flex flex-col gap-8 items-center justify-center -mt-8 md:-mt-16 lg:-mt-32">
|
|
<DemoBox flip>
|
|
<blockquote class="text-center italic text-lg sm:text-xl md:text-2xl lg:text-2xl xl:text-3xl max-w-screen-md text-gray-700 text-balance font-normal border-l-yellow-300 mx-auto my-4">
|
|
<span class="font-semibold inline-block transform scale-150 relative -left-3 top-1 leading-none">
|
|
“
|
|
</span>The team also used{" "}
|
|
<b>Fresh</b>, a next-gen Deno-native full stack web framework that
|
|
sends zero JavaScript to the client, for its modern developer
|
|
experience and snappy performance…<br />
|
|
<br />This stack unlocked{" "}
|
|
<b>
|
|
5x faster page load speeds and a 30% jump in conversion rates
|
|
</b>{" "}
|
|
for their
|
|
clients.<span class="font-semibold inline-block transform scale-150 relative -right-2 top-1 leading-none">
|
|
”
|
|
</span>
|
|
</blockquote>
|
|
</DemoBox>
|
|
<FancyLink
|
|
href="https://deno.com/blog/deco-cx-subhosting-serve-their-clients-storefronts-fast"
|
|
class="mt-8"
|
|
>
|
|
Read the case study
|
|
</FancyLink>
|
|
</div>
|
|
</PageSection>
|
|
);
|
|
}
|