import { ArrowRight, Code2, Shield, Zap } from "lucide-react"; import React from "react"; const Featured = () => { return ( <>
{[ { icon: Shield, title: "Type-Safe by Default", description: "End-to-end type safety from database to frontend. Catch errors before they happen.", }, { icon: Zap, title: "Lightning Fast", description: "Built on Bun's lightning-fast runtime with optimal configurations for performance.", }, { icon: Code2, title: "Developer Experience", description: "Modern tooling and intuitive APIs make development a breeze.", }, ].map((feature) => (

{feature.title}

{feature.description}

))}

Write Better Code, Faster

Leverage the power of TypeScript with our carefully selected tools and frameworks.

{[ { title: "Type-Safe API Calls", description: "No more guessing API shapes. tRPC ensures type safety across your stack.", }, { title: "Database Type Safety", description: "Drizzle ORM provides type-safe database queries with great DX.", }, { title: "Modern Authentication", description: "Secure authentication with Better-Auth, built for modern web apps.", }, ].map((item) => (

{item.title}

{item.description}

))}
									{`// Type-safe API endpoint
export const userRouter = router({
  get: publicProcedure
    .input(z.string())
    .query(async ({ input }) => {
      const user = await db
        .select()
        .from(users)
        .where(eq(users.id, input));

      return user;
    })
});`}
								

Ready to Build Something Amazing?

Start your next project with Better-T Stack and experience the future of web development.

); }; export default Featured;