Files
dalcode-website/components/blog/HeroSection.tsx
T
2026-04-29 00:29:14 +08:00

48 lines
2.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { BLOG_POSTS } from "@/lib/blog-data"
import BlogCard from "@/components/BlogCard"
export default function HeroSection() {
const featured = BLOG_POSTS.slice(0, 2)
return (
<section className="section top overflow-hidden">
<div className="w-layout-blockcontainer container-default w-container">
<div data-w-id="1d4184ff-9d8d-d0a9-7964-1fe6bc1712ef" style={{ opacity: "0", filter: "blur(8px)" }} className="title-left-content-right">
<div className="inner-container _480px">
<div className="subtitle"></div>
<div className="mg-top-4x-extra-small">
<h1> DAL Code </h1>
</div>
<div className="mg-top-5x-extra-small">
<p>
AI Intent-to-CodeMission ModeSmart Routing
Skills
</p>
</div>
</div>
<div className="inner-container _355px position-relative---z-index-1">
<p>
线 {BLOG_POSTS.length} Agent
便 DAL Code
</p>
<div className="mg-top-2x-extra-small">
<p className="text-color-neutral-500">
Open Core Skills
</p>
</div>
</div>
</div>
<div className="mg-top-regular">
<div data-w-id="1d4184ff-9d8d-d0a9-7964-1fe6bc1712fd" style={{ opacity: "0", filter: "blur(8px)" }} className="w-dyn-list">
<div role="list" className="w-dyn-items">
{featured.map((post) => (
<BlogCard key={post.slug} post={post} variant="featured" />
))}
</div>
</div>
</div>
</div>
</section>
)
}