text stringlengths 3 8.33k | repo stringclasses 52
values | path stringlengths 6 141 | language stringclasses 35
values | sha stringlengths 64 64 | chunk_index int32 0 273 | n_tokens int32 1 896 |
|---|---|---|---|---|---|---|
import { SectionHeader } from "@/components/section-header";
import { SocialProofTestimonials } from "@/components/animations/testimonial-scroll";
import { siteConfig } from "@/lib/config";
import { HeaderBadge } from "../header-badge";
export function TestimonialSection() {
const { testimonialSection } = siteConf... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/section/testimonial-section.tsx | TypeScript | db249af02c9520f6ddccd36703eeed237ab8052eae8c7777170da4d6a41c8a97 | 0 | 273 |
"use client";
import { Button } from "@/components/ui/button";
import { Icons } from "@/components/icons";
import { siteConfig } from "@/lib/config";
import { IntegrationBlock } from "@/components/animations/sections/integration-block";
import { AgentWorkflowBlock } from "@/components/animations/sections/agent-workflo... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/section/workflow-connect-section.tsx | TypeScript | 252a4ac0ea17b7be589b5c7a78091b5c93ac09b964339a179247ef2b50505b4f | 0 | 807 |
"use client";
import { Button } from "@/components/ui/button";
import { Icons } from "@/components/icons";
import { siteConfig } from "@/lib/config";
import { SectionHeader } from "@/components/section-header";
import { HeaderBadge } from "@/components/header-badge";
import { TerminalBrowserPreviewBlock } from "@/comp... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/section/workflow-section.tsx | TypeScript | 71b818d664e6e07af7894d79738d686e9bcf1b1a7856078784407dc076858b33 | 0 | 896 |
-start p-6">
<p className="text-sm text-muted-foreground flex items-center gap-3 justify-start">
{workflowConfig.sections.blocks[1].icon}
{workflowConfig.sections.blocks[1].title}
... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/section/workflow-section.tsx | TypeScript | 022af72c202a724b8c6d7a6ef73a54412cfe45581efb836a0c264d7425587a64 | 1 | 126 |
"use client"
import { useRef } from "react"
import {
AnimatePresence,
motion,
MotionProps,
useInView,
UseInViewOptions,
Variants,
} from "motion/react"
type MarginType = UseInViewOptions["margin"]
interface BlurFadeProps extends MotionProps {
children: React.ReactNode
className?: string
variant?: {... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/blur-fade.tsx | TypeScript | a1f0dc21e09dc1642622561481fab0f4dd78d0999e9de584b0fcbb36792bad73 | 0 | 445 |
import * as React from "react"
import { Slot } from "@radix-ui/react-slot"
import { cva, type VariantProps } from "class-variance-authority"
import { cn } from "@/lib/utils"
const buttonVariants = cva(
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all dis... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/button.tsx | TypeScript | 8116b8529db6dc4e3c04bd5ebdd223a38535dcc737830d12ec4b290433d469d8 | 0 | 606 |
import * as React from "react";
import { cn } from "@/lib/utils";
function Card({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="card"
className={cn(
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
className
)... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/card.tsx | TypeScript | ba6e5ba5b735ccdb8d13114ae60db6b81fd13919f2282df98738350adfa5d964 | 0 | 577 |
import { cn } from "@/lib/utils";
type CornerPosition = "top-left" | "top-right" | "bottom-left" | "bottom-right" | "all";
interface CornerPlusProps {
position?: CornerPosition;
className?: string;
}
function CornerPlusSingle({ position, className }: { position: Exclude<CornerPosition, "all">; className?: st... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/corner-plus.tsx | TypeScript | 3549e09ef4b081ffc462b1fcd1fa769320387636ba6dcb4846c7ffa41aba925f | 0 | 641 |
"use client"
import React, { useEffect, useId, useRef, useState } from "react"
import { motion } from "motion/react"
import { cn } from "@/lib/utils"
/**
* DotPattern Component Props
*
* @param {number} [width=16] - The horizontal spacing between dots
* @param {number} [height=16] - The vertical spacing between... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/dot-pattern.tsx | TypeScript | 29a6329e5ae99185969cb9216ffc30f98449ec01b940aa740e8d77959d0dcd40 | 0 | 896 |
"currentColor" stopOpacity="0" />
</radialGradient>
</defs>
{dots.map((dot, index) => (
<motion.circle
key={`${dot.x}-${dot.y}`}
cx={dot.x}
cy={dot.y}
r={cr}
fill={glow ? `url(#${id}-gradient)` : "currentColor"}
initial={glow ? { op... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/dot-pattern.tsx | TypeScript | 75a5fd18fc20e555d6d0d371410a2d2a814e809a094bc33e9bf39e1f1cac07f5 | 1 | 194 |
/* eslint-disable react-hooks/preserve-manual-memoization */
import * as React from "react"
import { createMap } from "svg-dotted-map"
import { cn } from "@/lib/utils"
interface Marker {
lat: number
lng: number
size?: number
}
export interface DottedMapProps extends React.SVGProps<SVGSVGElement> {
width?: nu... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/dotted-map.tsx | TypeScript | f5fc4a08e3300c4b3b96cf38153492b5428dc28a739a3263fa523cb55e049263 | 0 | 688 |
"use client"
import React, { useCallback, useEffect, useMemo, useRef, useState } from "react"
import { cn } from "@/lib/utils"
interface FlickeringGridProps extends React.HTMLAttributes<HTMLDivElement> {
squareSize?: number
gridGap?: number
flickerChance?: number
color?: string
width?: number
height?: nu... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/flickering-grid.tsx | TypeScript | a00720cf7230afdc03b0fc0351ed9a8890dca86d3bb57d8dbc08e4539b5cfcf7 | 0 | 896 |
newHeight = height || container.clientHeight
setCanvasSize({ width: newWidth, height: newHeight })
gridParams = setupCanvas(canvas, newWidth, newHeight)
}
updateCanvasSize()
let lastTime = 0
const animate = (time: number) => {
if (!isInView) return
const deltaTime = (time - la... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/flickering-grid.tsx | TypeScript | c9410534be97bad3fb2f2ab8414f9c8cec92ba84a36fc3357a340cb49972425d | 1 | 293 |
import { ComponentPropsWithoutRef } from "react"
import { cn } from "@/lib/utils"
interface MarqueeProps extends ComponentPropsWithoutRef<"div"> {
/**
* Optional CSS class name to apply custom styles
*/
className?: string
/**
* Whether to reverse the animation direction
* @default false
*/
reve... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/marquee.tsx | TypeScript | db6043424aa980efa11a693249c69fb8fda131f14bd4ab837fb932ea3723f0d0 | 0 | 389 |
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
import { cva } from "class-variance-authority";
import { ChevronDownIcon } from "lucide-react";
import * as React from "react";
import { cn } from "@/lib/utils";
function NavigationMenu({
className,
children,
viewport = true,
...props... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/navigation-menu.tsx | TypeScript | ff5bc2e48c3a9ccbfc648d2f1a9a2057a62c60e9715a839b27f2c1d4baf46102 | 0 | 896 |
-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewpo... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/navigation-menu.tsx | TypeScript | 97e4b8c0ba765be594d505a619afdc016460fd9bd3da471e82fe585bbebf7305 | 1 | 896 |
: React.ComponentProps<typeof NavigationMenuPrimitive.Indicator>) {
return (
<NavigationMenuPrimitive.Indicator
data-slot="navigation-menu-indicator"
className={cn(
"data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-fu... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/navigation-menu.tsx | TypeScript | 40bb23d05806756f8548a037d9dc30c830d6b2cbb8f3763a63be16895bb8de37 | 2 | 176 |
"use client"
import { useEffect, useMemo, useRef, useState } from "react"
import { motion, MotionProps, useInView } from "motion/react"
import { cn } from "@/lib/utils"
interface TypingAnimationProps extends MotionProps {
children?: string
words?: string[]
className?: string
duration?: number
typeSpeed?: n... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/components/ui/typing-animation.tsx | TypeScript | 6463a66b7cffa758f8f99da24e4e3251a9dca56f769c04ca4fc1ff34f490d5c2 | 0 | 865 |
import { useState, useEffect } from "react";
import { type ConnectionStatus } from "@/components/animations/sections/connection-status-indicator";
export function useConnectionStatus(inView: boolean): ConnectionStatus {
const [status, setStatus] = useState<ConnectionStatus>("idle");
useEffect(() => {
... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/hooks/use-connection-status.ts | TypeScript | 37d8f06017b3c2569a8401f1c8ad2aaaabd55bcff3d3694f1f1655e72a94dad7 | 0 | 225 |
import { useState, useEffect } from "react";
/**
* Hook to detect if the current viewport is mobile (< 768px)
* @param breakpoint - The breakpoint in pixels (default: 768 for Tailwind's md breakpoint)
* @returns boolean indicating if the viewport is mobile
*/
export function useMobile(breakpoint: number = 768): bo... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/hooks/use-mobile.ts | TypeScript | c05ea3d9841edc6a1b156816c6a3c1c705a9ed4aebed0a100815fbc95dfc231d | 0 | 168 |
import { Icons } from "@/components/icons";
import { cn } from "@/lib/utils";
export const Highlight = ({
children,
className,
}: {
children: React.ReactNode;
className?: string;
}) => {
return (
<span
className={cn(
"bg-radial from-gradient-primary to-gradient-s... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/lib/config.tsx | TypeScript | 4cffddea1d8948966688e989cb3794f47986fccd935b64a8da0f65c6cf89e076 | 0 | 896 |
&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxmZWF0dXJlZC1waG90b3MtZmVlZHwzfHx8ZW58MHx8fHx8fA%3D%3D",
},
{
id: 3,
title: "Auto Testing",
content:
"Automatically generate and run comprehensive test suites. Ensure your code wo... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/lib/config.tsx | TypeScript | 4e84b576e342a56404e04d2c388d77ca628df0a15f4034273539156061187ef2 | 1 | 896 |
C13.0582 26.8403 13.1381 26.7962 13.1898 26.7642L19.1797 23.3049C19.4862 23.131 19.6742 22.8048 19.6723 22.4522V14.0078L22.2038 15.4696C22.2311 15.4828 22.249 15.5091 22.2527 15.5392V22.5321C22.249 25.6418 19.7306 28.163 16.621 28.1696ZM4.50945 22.9965C3.84863 21.8553 3.61081 20.5176 3.83735 19.2194C3.88154 19.2457 3.9... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/lib/config.tsx | TypeScript | 379867740ec70a4d176b6c52bb7ab401a43492c27a0147a287cccb239383e21f | 2 | 896 |
L102.848 7.6442V7.42663L108.142 5.88281V17.8119Z" />
<path d="M131.286 19.7207V19.9432H125.726V10.0431C125.726 8.44255 125.157 7.66482 123.984 7.66482C123.016 7.66482 122.518 8.36649 122.271 8.95936C122.321 9.26455 122.346 9.57356 122.344 9.88292V18.1575C122.344 19.1285 122.629 19.5068 123.512 1... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/lib/config.tsx | TypeScript | 27118166cbf989c6040edf8bdbc750886ddb16ee59cca4904e069a89fc004337 | 6 | 896 |
19.2952 113.062 20.8531 114.914 20.8531Z" />
<path d="M124.689 12.4637V13.3172C125.073 12.7846 125.584 12.3555 126.175 12.0683C126.766 11.7811 127.419 11.6447 128.076 11.6712C131.073 11.6712 133.01 14.1504 133.01 17.3984C133.01 20.6463 131.073 23.1559 128.076 23.1559C127.417 23.1799 126.763 ... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/lib/config.tsx | TypeScript | 9ef910895c11c90dcdded7db1c75c2b4fe33c15d7f5bc9ee96f7c73df8e03511 | 8 | 896 |
22.2141 96.1154 21.2481H92.9355C92.7939 21.6889 92.5631 22.0781 92.2428 22.4157C91.9321 22.744 91.541 23.0019 91.07 23.1895C90.5987 23.3771 90.0524 23.4708 89.4304 23.4708C88.5919 23.4708 87.871 23.2833 87.2682 22.9081C86.6747 22.533 86.2224 22.0125 85.9114 21.3466C85.6292 20.7337 85.4749 20.0397 85.4489 19.2645H96.313... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/lib/config.tsx | TypeScript | 32a986739c7ec4601091f31f1bdc4741d881288c3a05b7904959f948a4b843b0 | 10 | 896 |
blocks: [
{
id: 1,
icon: <Icons.puzzle className="size-4 text-muted-foreground" />,
title: "Used by teams at innovative companies",
description: "Trusted by engineering teams at rapidly growing startups. Write production cod... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/lib/config.tsx | TypeScript | 806ff6209926adb44a354664db9fafbcb883ced72a0982cd06c20220802fad32 | 11 | 896 |
jpg",
description: (
<p>
As a startup, we need to move fast and stay ahead. #CodeAI's
automated coding assistant helps us do just that.
Our development speed has doubled.
tool for any... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/lib/config.tsx | TypeScript | 5c1f198103b3100763f7c2703e57a08ea5abca9f0143911b755ab5b2ea1a501d | 12 | 896 |
s AI-powered security systems, our data
protection levels are unmatched.
<Highlight>
Ensuring safety and trust in digital spaces.
</Highlight>{" "}
Redefining cybersecurity standards.
... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/lib/config.tsx | TypeScript | 4791a0fde92bc6b6a1cad536cb9c552fa8566596e1289a00154e91e5f98c2d3f | 13 | 896 |
grade security measures including end-to-end encryption, secure data centers, and regular security audits. Your data is protected according to industry best practices and compliance standards.",
},
{
id: 4,
question: "Can I integrate my existing tools?",
... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/lib/config.tsx | TypeScript | f2d3fde490eb1c9b389416225813b22f29f8a96bf3203763288d419a13ae3f11 | 14 | 711 |
export const siteConfig = {
name: "Codeforge",
url: "https://codeforge-magicui.vercel.app",
description: "AI-powered code generation and review.",
links: {
twitter: "https://x.com/dillionverma",
github: "https://github.com/dillionverma",
},
};
export type SiteConfig = typeof siteCon... | hacknation-landing | magicuidesign-codeforge-template-5c32727714e7ca23c64a681e4ab6be8c5d50f8c8/src/lib/site.ts | TypeScript | 3aeda6f29256f8d37b06f5c99b1f21db659e8d4a5fba440137c65e9f44e279bb | 0 | 82 |
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/.gitignore | Git Ignore | 7676c1db6c1b6104cdbc1001a9e6de114928170c04e6d5b7cf229708acbee91f | 0 | 116 |
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/app/globals.css",
"baseColor": "slate",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"u... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/components.json | JSON | be35b416551e1ebb43fd9f7668275619563458624029620ed4046706b1e169be | 0 | 165 |
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [{ hostname: "localhost" }, { hostname: "randomuser.me" }],
},
transpilePackages: ["geist"],
};
export default nextConfig;
| hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/next.config.mjs | JavaScript | 24519e2ac0e7143a97fd3fadb22d2ae568ae8c7ca95403890934e6df0c325841 | 0 | 62 |
{
"name": "devtool-magicui",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/r... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/package.json | JSON | b497aec05b827d5f7fb819a36c89ce78e2ec9b29e8069a1c6234099137f916e7 | 0 | 599 |
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://l... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/README.md | Markdown | 11994b30b08107f737b64953aa4b479368ec65db88adb6688708fcaa44bd3fdc | 0 | 395 |
{
"compilerOptions": {
"baseUrl": ".",
"target": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/tsconfig.json | JSON | 09b34aae0c8beff6e9aca61ab5c4df637821dec0e507e467599e83aa2e9bb2cd | 0 | 211 |
---
title: How Dev AI?
publishedAt: "2024-11-01"
summary: Introducing Acme.ai, a cutting-edge AI solution for modern businesses.
author: "dillionverma"
image: "/introducing.png"
---
We're excited to unveil **Acme.ai**, an innovative AI-powered platform designed to transform your business operations and skyrocket produ... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/content/how-dev-ai.mdx | MDX | 56d6872104afd9a04dad374f41d82a8d9665801c101fdd7e25b0dbfd14c55437 | 0 | 497 |
@import "tailwindcss";
@plugin "@tailwindcss/typography";
@import "tw-animate-css";
@custom-variant dark (&:is(.dark *));
@theme inline {
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
--color-background: va... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/app/globals.css | CSS | 46d5ce5381438b094083a7ceef536dbf1feafdb937815140c983639a7c234a4a | 0 | 896 |
image-grid-3: linear-gradient(
to right,
hsl(var(--border)) 1px,
transparent 1px
);
--bg-image-grid-4: linear-gradient(
to right,
hsl(var(--border)) 1px,
transparent 1px
);
--bg-image-grid-5: linear-gradient(
to right,
hsl(var(--border)) 1px,
transparent 1px
);
--bg-image... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/app/globals.css | CSS | eb1385b706098c13a611b6c3a2a99dd939b38d3052e10ae3c869fd93eed5d840 | 1 | 896 |
-secondary: oklch(0.95 0.006 264);
--secondary-foreground: oklch(0.15 0.006 264);
--muted: oklch(0.96 0.004 264);
--muted-foreground: oklch(0.52 0.01 264);
--accent: oklch(0.95 0.006 264);
--accent-foreground: oklch(0.15 0.006 264);
--destructive: oklch(0.68 0.15 15);
--destructive-foreground: oklch(0.98 ... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/app/globals.css | CSS | 4f3e53a87046954489da1810a4c1f28b5aede4f212dbf83982fc95e5e9f11e4f | 2 | 884 |
import { TailwindIndicator } from "@/components/tailwind-indicator";
import { ThemeProvider } from "@/components/theme-provider";
import { ThemeToggle } from "@/components/theme-toggle";
import { siteConfig } from "@/lib/config";
import { cn, constructMetadata } from "@/lib/utils";
import { GeistMono } from "geist/font... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/app/layout.tsx | TypeScript | 4b4e709c9d7373da9419311bd6c767385e0e05e331dbeb66b5fad95fdbe1a630 | 0 | 343 |
import { Blog } from "@/components/sections/blog";
import { Community } from "@/components/sections/community";
import { CTA } from "@/components/sections/cta";
import { Examples } from "@/components/sections/examples";
import { Features } from "@/components/sections/features";
import { Footer } from "@/components/sect... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/app/page.tsx | TypeScript | 11156b04b037b9fd8e5b7bd2580f6af422fb101927759af1d6068aa62e323d5f | 0 | 268 |
import { MetadataRoute } from "next";
import { headers } from "next/headers";
export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
const headersList = await headers();
let domain = headersList.get("host") as string;
let protocol = "https";
return [
{
url: `${protocol}://${domain... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/app/sitemap.ts | TypeScript | 36dde0550790f7840c27662642e6d437e068ab3527a50fc5375d8d0744ec7e51 | 0 | 95 |
import { Footer } from "@/components/sections/footer";
import { Header } from "@/components/sections/header";
interface MarketingLayoutProps {
children: React.ReactNode;
}
export default async function Layout({ children }: MarketingLayoutProps) {
return (
<>
<Header />
<main>{children}</main>
... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/app/(marketing)/blog/layout.tsx | TypeScript | 6f5b71f492bcbd07e681d48246e7d529ae8e268d3db487322a712d133990ef10 | 0 | 81 |
import BlogCard from "@/components/blog-card";
import { getBlogPosts } from "@/lib/blog";
import { siteConfig } from "@/lib/config";
import { constructMetadata } from "@/lib/utils";
export const metadata = constructMetadata({
title: "Blog",
description: `Latest news and updates from ${siteConfig.name}.`,
});
expo... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/app/(marketing)/blog/page.tsx | TypeScript | 85b962d8d12a4dabb942287ffdd734ad5524c3b6aca5bc7d535723e73ab6061b | 0 | 392 |
import Author from "@/components/blog-author";
import { CTA } from "@/components/sections/cta";
import { getPost } from "@/lib/blog";
import { siteConfig } from "@/lib/config";
import { formatDate } from "@/lib/utils";
import type { Metadata } from "next";
import Image from "next/image";
import { notFound } from "next/... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/app/(marketing)/blog/[slug]/page.tsx | TypeScript | 4f864631364b1422bf1415d09d83a73065d971a5ee46cfe3d02d5839f5eb9aaa | 0 | 896 |
{post.metadata.author}
image={"/author.jpg"}
/>
</div>
<article
className="prose dark:prose-invert mx-auto max-w-full"
dangerouslySetInnerHTML={{ __html: post.source }}
></article>
</div>
<CTA />
</section>
);
}
| hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/app/(marketing)/blog/[slug]/page.tsx | TypeScript | 724adc155c368a0e4f39ea8bf560441e7cab0a8262fd0a86334f4795eb63cdd2 | 1 | 74 |
import { Icons } from "@/components/icons";
import { siteConfig } from "@/lib/config";
import { ImageResponse } from "next/og";
import { NextRequest } from "next/server";
export const runtime = "edge";
export async function GET(req: NextRequest) {
const { searchParams } = req.nextUrl;
const postTitle = searchPara... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/app/og/route.tsx | TypeScript | a4378bfb82f3f4648f45be352408bc724ff65ff4fb8a1e5c7df20341867ca5e6 | 0 | 550 |
"use client";
import React, { memo } from "react";
interface AuroraTextProps {
children: React.ReactNode;
className?: string;
colors?: string[];
speed?: number;
}
export const AuroraText = memo(
({
children,
className = "",
colors = [
"var(--color-1)",
"var(--color-2)",
"var(-... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/aurora-text.tsx | TypeScript | a4840d0d4d17c32c70dfdf93747e9510fe910032fb801eb37ecd349365e941ec | 0 | 291 |
import { formatDate } from "@/lib/utils";
import Image from "next/image";
import Link from "next/link";
export default function Author({
name,
image,
twitterUsername,
updatedAt,
imageOnly,
}: {
name: string;
image: string;
twitterUsername: string;
updatedAt?: string;
imageOnly?: boolean;
}) {
if ... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/blog-author.tsx | TypeScript | 180b2f92d278bb45632d9978acba8b6c110b8ff73133d51d14e68a899a4bfb4b | 0 | 410 |
import { Post } from "@/lib/blog";
import { formatDate } from "@/lib/utils";
import Image from "next/image";
import Link from "next/link";
export default function BlogCard({
data,
priority,
}: {
data: Post;
priority?: boolean;
}) {
return (
<Link
href={`/blog/${data.slug}`}
className="bg-back... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/blog-card.tsx | TypeScript | 81585facc6ff85c79e8c24c7c7b22c8d485b738f8f459448d110e2aef19b882b | 0 | 322 |
"use client";
import React, { useState } from "react";
interface FeatureOption {
id: number;
title: string;
description: string;
code: string;
}
interface FeatureSelectorProps {
features: FeatureOption[];
}
export const FeatureSelector: React.FC<FeatureSelectorProps> = ({
features,
}) => {
const [sele... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/feature-selector.tsx | TypeScript | 1476ba6ea38dde8c170fd8a66c79a68b6aeecdd89e1c2cfc160e93b7f29c5d9d | 0 | 459 |
import { DiscordLogoIcon } from "@radix-ui/react-icons";
type IconProps = React.HTMLAttributes<SVGElement>;
export const Icons = {
logo: (props: IconProps) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/icons.tsx | TypeScript | af18bd56aababcc10f0165119aecca1b09c3fa2a09bfd4af5754247e709423c5 | 0 | 896 |
13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/icons.tsx | TypeScript | 2033f96dcc8e949ea4a684b3ce83c5504c5ed886a9e075a8dec53eb8d0a313f1 | 1 | 896 |
1 .328-.06zm.006.7c-.507.016-1.001 1.519-1.001 1.519s-1.27-.204-2.266.871c-.199.218-.468.334-.746.44-.079.028-.176.023-.417.672-.371.991.625 2.094.625 2.094s-1.186.839-1.626 1.881c-.486 1.144-.338 2.261-.338 2.261s-.843.732-.899 1.487c-.051.663.139 1.2.343 1.515.227.343.51.176.51.176s-.561.653-.037.931c.477.25 1.283.39... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/icons.tsx | TypeScript | dd3e92009442189fb111f52f4f1da29cfc65a0bbc34d9c148f9d0f7c12830e74 | 2 | 896 |
054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/icons.tsx | TypeScript | 9898b802d1a5d64fc47f0afe954e0f6050c2cb61680b6158522a783dcabff6f8 | 3 | 896 |
,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/icons.tsx | TypeScript | 42066ca2b708e8567eeb8cd5e9542be5320912b0425a86e846591d80db68a5ce | 4 | 896 |
>
</svg>
),
spinner: (props: IconProps) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
{...props}
>
<p... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/icons.tsx | TypeScript | 2a1fde40faab8ae9e9890b4a71127bb85dbdffb30346da497fb7cf66a85cefcf | 5 | 113 |
import { Icons } from "@/components/icons";
import { buttonVariants } from "@/components/ui/button";
import {
Drawer,
DrawerContent,
DrawerDescription,
DrawerFooter,
DrawerHeader,
DrawerTitle,
DrawerTrigger,
} from "@/components/ui/drawer";
import { siteConfig } from "@/lib/config";
import { cn } from "@/... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/mobile-drawer.tsx | TypeScript | b89393794c08e2b353d1b5fb041b0f1a9f8d6e0f3bfab956fc40ee79fb6e9340 | 0 | 292 |
"use client";
import FlickeringGrid from "@/components/ui/flickering-grid";
import { cn } from "@/lib/utils";
import React, { forwardRef, useRef } from "react";
interface SectionProps {
id?: string;
title?: string;
subtitle?: string;
description?: string;
children?: React.ReactNode;
className?: string;
... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/section.tsx | TypeScript | f9baab174e6e6d5d30788475393342cd3b1c65030a10ba8f19ae9cbc7ab3ac4f | 0 | 680 |
export function TailwindIndicator() {
// Don't show in production
if (process.env.NODE_ENV === "production") return null;
return (
<div className="fixed bottom-12 left-3 z-50 flex h-6 w-6 items-center justify-center rounded-full bg-gray-800 p-3 font-mono text-xs text-white">
<div className="block sm:hid... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/tailwind-indicator.tsx | TypeScript | 41bdaf1d659a2c355527510198f6cca0e893dc0213de4cab6b1a44bc553c116b | 0 | 201 |
"use client";
import { Button } from "@/components/ui/button";
import { Moon, Sun } from "lucide-react";
import { useTheme } from "next-themes";
export function ThemeToggle() {
const { setTheme, theme } = useTheme();
// Don't show in production
if (process.env.NODE_ENV === "production") return null;
return (
... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/theme-toggle.tsx | TypeScript | 4a0cf052a21780896f687f816995f97fde4b74b0c941dc118b958952cc62165e | 0 | 205 |
import BlogCard from "@/components/blog-card";
import { Section } from "@/components/section";
import { getBlogPosts } from "@/lib/blog";
export async function Blog() {
const allPosts = await getBlogPosts();
const articles = await Promise.all(
allPosts.sort((a, b) => b.publishedAt.localeCompare(a.publishedAt)... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/blog.tsx | TypeScript | 0910bcd18b4df9b653da2e8a60a3308d2a3257eac7314b5993520d90f50dc49a | 0 | 178 |
"use client";
import { Icons } from "@/components/icons";
import { Section } from "@/components/section";
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
import { Button } from "@/components/ui/button";
import { Ripple } from "@/components/ui/ripple";
const contributors = [
{
name:... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/community.tsx | TypeScript | e90ab914e7c5adcaf8729ef6698a37f2a9f36fd0f7f594d70ff6fcc2837aae73 | 0 | 696 |
import { Section } from "@/components/section";
import { Button } from "@/components/ui/button";
export function CTA() {
return (
<Section id="cta">
<div className="border overflow-hidden relative text-center py-16 mx-auto">
<p className="max-w-3xl text-foreground mb-6 text-balance mx-auto font-med... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/cta.tsx | TypeScript | f1231bbe1b8512bbeaaa114380efe133572eaf7d2f2021014dfcab8959532925 | 0 | 155 |
import { FeatureSelector } from "@/components/feature-selector";
import { Section } from "@/components/section";
import { codeToHtml } from "shiki";
interface FeatureOption {
id: number;
title: string;
description: string;
code: string;
}
const featureOptions: FeatureOption[] = [
{
id: 1,
title: "Si... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/examples.tsx | TypeScript | 70b11f63e03d06bdf33c01975a0ecb5745d2902bedc957e3370c26b2e34a0f33 | 0 | 896 |
,
title: "Customizable Agent Behavior",
description:
"Design a specialized AI agent with custom decision-making logic.",
code: `import { Agent, KnowledgeBase } from 'ai-agent-sdk';
class CustomerSupportAgent extends Agent {
private knowledgeBase: KnowledgeBase;
constructor(name: string) {
su... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/examples.tsx | TypeScript | 8252a034f45b8e0ad4b01bbfcc2e7dd201ea4750e51c7fa6976e179fb8d65f1c | 1 | 513 |
import { Section } from "@/components/section";
import { siteConfig } from "@/lib/config";
import { cn } from "@/lib/utils";
import Link from "next/link";
export function Features() {
const services = siteConfig.features;
return (
<Section id="features" title="Features">
<div className="border-x border-t... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/features.tsx | TypeScript | 771a68e4b899c0966ea2a130eeef1562646394eceb2b98b5b64c320d8aa86003 | 0 | 501 |
import { Icons } from "@/components/icons";
import { BorderText } from "@/components/ui/border-number";
import { siteConfig } from "@/lib/config";
export function Footer() {
return (
<footer className="flex flex-col gap-y-5 rounded-lg p-5 container max-w-[var(--container-max-width)] mx-auto">
<div classNa... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/footer.tsx | TypeScript | d96288061b8fafa0dacea6923cad285239492ac9534ab5d9a2487a40146b959d | 0 | 544 |
"use client";
import { Icons } from "@/components/icons";
import { MobileDrawer } from "@/components/mobile-drawer";
import { buttonVariants } from "@/components/ui/button";
import { easeInOutCubic } from "@/lib/animation";
import { siteConfig } from "@/lib/config";
import { cn } from "@/lib/utils";
import { AnimatePr... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/header.tsx | TypeScript | d296697e5d24061626496add8919d7270ef0ecbf00e0046f52f9fcaa11f85bef | 0 | 380 |
"use client";
import { AuroraText } from "@/components/aurora-text";
import { Icons } from "@/components/icons";
import { Section } from "@/components/section";
import { buttonVariants } from "@/components/ui/button";
import { siteConfig } from "@/lib/config";
import { cn } from "@/lib/utils";
import { motion } from "... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/hero.tsx | TypeScript | 4787b75091762b359f6efce1099cad305838c99e2f8363eac8e0717fb27b10d0 | 0 | 896 |
0"
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ delay: 0.8, duration: 0.8, ease }}
>
<Link
href="/download"
className={cn(
buttonVariants({ variant: "default" }),
"w-full sm:w-auto text-background flex gap-... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/hero.tsx | TypeScript | a8d43eb3e44318bc54b80fda4b2ad68f1798a7250775f45e339abc3baf45319c | 1 | 623 |
"use client";
import { Section } from "@/components/section";
import { AnimatePresence, motion } from "framer-motion";
import Image from "next/image";
import { useEffect, useState } from "react";
const companies = [
"Google",
"Microsoft",
"Amazon",
"Netflix",
"YouTube",
"Instagram",
];
const companies2 =... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/logos.tsx | TypeScript | 5a0966319c58cdde4ee5dde6f34e04896ce3137f79ca3fdee2543f9f3a3f341f | 0 | 683 |
"use client";
import { Section } from "@/components/section";
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import { CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { siteConfig } from "@/lib/config";
import { cn } from "@/lib/utils";
import { ... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/pricing.tsx | TypeScript | a74b550031ebc8422c6f4fb3c6f4e9cf125861345e88682d0c567ccaae6d0b28 | 0 | 896 |
, 0.2, 1],
}}
>
{tier.price[billingCycle]}
<span className="text-sm font-medium text-muted-foreground">
/ {tier.frequency[billingCycle]}
</span>
</motion.div>
</div>
<p className="text-[15px] font-medium ... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/pricing.tsx | TypeScript | 012b848e6e268f2aad7dde1f02e18804f294110fffee0f959f60a07846e7b6fe | 1 | 751 |
"use client";
import { Icons } from "@/components/icons";
import { Section } from "@/components/section";
import { BorderText } from "@/components/ui/border-number";
import Link from "next/link";
const stats = [
{
title: "10K+",
subtitle: "Stars on GitHub",
icon: <Icons.github className="h-5 w-5" />,
... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/statistics.tsx | TypeScript | a57a0ef4c8daa99121ee5562e2bc6aa84ccfc307c74cb5b030cbadac9bd32736 | 0 | 673 |
"use client";
import { Section } from "@/components/section";
import { Button } from "@/components/ui/button";
import { siteConfig } from "@/lib/config";
import { cn } from "@/lib/utils";
import { motion } from "framer-motion";
import { useState } from "react";
export function Testimonials() {
const [showAll, setSh... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/testimonials.tsx | TypeScript | 652ff747381935004c307e85edd5fd67fb7b9c48d2aaa6791ed5b955a2ca84e6 | 0 | 619 |
"use client";
import { Section } from "@/components/section";
import OrbitingCircles from "@/components/ui/orbiting-circles";
import { cubicBezier, motion } from "framer-motion";
import {
AlertTriangleIcon,
BrainCircuitIcon,
DatabaseIcon,
GitForkIcon,
HeadsetIcon,
InfoIcon,
MessageSquareIcon,
SearchIco... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/use-cases.tsx | TypeScript | 631f9193b6e2bb21a4c8f56812c9bd40d28b0898da979c77b4f54d27baa75227 | 0 | 896 |
-2 w-48 rounded-full bg-slate-400/50"></div>
<div className="text-xs text-neutral-500">
Google Search API integration
</div>
</div>
</motion.div>
<motion.div
variants={variant2}
className="z-[2] flex h-fu... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/use-cases.tsx | TypeScript | 8534afd27ec0745d69de201bbcd09f25cc6fc6425db61baa9e191db413cc7438 | 1 | 896 |
-green-500 flex items-center justify-center">
<DatabaseIcon className="h-5 w-5 text-white" />
</div>
),
},
{
id: 3,
type: "decision",
timestamp: "2023-12-15 14:23:50",
message: "Analyzing data. Confidence: 85%",
icon: (
<div className="h-8 w-8 rounde... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/use-cases.tsx | TypeScript | 54cde7c4a2e36092516de1cef21f078e7805ed5749f29e2f58f8b8625d19d34a | 2 | 896 |
div>
<div className="flex flex-col gap-y-1 px-5 pb-4 items-start w-full">
<h2 className="font-semibold tracking-tight text-lg">
Monitor agent activity
</h2>
<p className="text-sm text-muted-foreground">
Track and analyze your AI agent performance with detail... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/sections/use-cases.tsx | TypeScript | 2116e95e225408aefc9199671159824279989b2e17b52259a70a4daef7be14a7 | 3 | 816 |
"use client"
import * as React from "react"
import * as AccordionPrimitive from "@radix-ui/react-accordion"
import { ChevronDown } from "lucide-react"
import { cn } from "@/lib/utils"
const Accordion = AccordionPrimitive.Root
const AccordionItem = React.forwardRef<
React.ElementRef<typeof AccordionPrimitive.Item>... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/ui/accordion.tsx | TypeScript | 1cc98c2ab5106d8d476f1da4aa8dd535198a8113513b2c918938ea76d90bbbc9 | 0 | 461 |
"use client"
import * as React from "react"
import * as AvatarPrimitive from "@radix-ui/react-avatar"
import { cn } from "@/lib/utils"
const Avatar = React.forwardRef<
React.ElementRef<typeof AvatarPrimitive.Root>,
React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>
>(({ className, ...props }, ref) => (
... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/ui/avatar.tsx | TypeScript | e78b35ed76c67d8ff50603fbe0dfa4fe600097bd860d89e65beea3e16683dad8 | 0 | 338 |
import { cn } from "@/lib/utils";
import React, { forwardRef } from "react";
interface BorderTextProps extends React.HTMLAttributes<HTMLDivElement> {
text: string;
}
export const BorderText = forwardRef<HTMLDivElement, BorderTextProps>(
({ text, className, ...props }, ref) => {
return (
<div className="... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/ui/border-number.tsx | TypeScript | 4de27a632372e46623b755999ca3eb43c3f6d2d434509bb50d1ca35007a36926 | 0 | 341 |
"use client"
import * as React from "react"
import { Drawer as DrawerPrimitive } from "vaul"
import { cn } from "@/lib/utils"
const Drawer = ({
shouldScaleBackground = true,
...props
}: React.ComponentProps<typeof DrawerPrimitive.Root>) => (
<DrawerPrimitive.Root
shouldScaleBackground={shouldScaleBackgroun... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/ui/drawer.tsx | TypeScript | 774316527ddc577fc54012a0c898ebcf7cf8f11152126e550828b53004a5b70c | 0 | 702 |
"use client";
import React, {
useCallback,
useEffect,
useMemo,
useRef,
useState,
} from "react";
interface FlickeringGridProps {
squareSize?: number;
gridGap?: number;
flickerChance?: number;
color?: string;
width?: number;
height?: number;
className?: string;
maxOpacity?: number;
}
const ... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/ui/flickering-grid.tsx | TypeScript | 32feb026bb8c11ac102f592f119fccdc119163037f39843714f3127056fdc8c2 | 0 | 896 |
: number;
let gridParams: ReturnType<typeof setupCanvas>;
const updateCanvasSize = () => {
const newWidth = width || container.clientWidth;
const newHeight = height || container.clientHeight;
setCanvasSize({ width: newWidth, height: newHeight });
gridParams = setupCanvas(canvas, newWidt... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/ui/flickering-grid.tsx | TypeScript | 0afbf5983434f766b63f559ded33a9616b865302b6a2bee74af6a1d5a9c3438c | 1 | 346 |
import * as React from "react"
import { cn } from "@/lib/utils"
export interface InputProps
extends React.InputHTMLAttributes<HTMLInputElement> {}
const Input = React.forwardRef<HTMLInputElement, InputProps>(
({ className, type, ...props }, ref) => {
return (
<input
type={type}
classNam... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/ui/input.tsx | TypeScript | 22192a97fc2d532e5e6f935d0e2f2c87f9e0034a1586159b45a53d0b029b82f2 | 0 | 208 |
import { cn } from "@/lib/utils";
interface MarqueeProps {
className?: string;
reverse?: boolean;
pauseOnHover?: boolean;
children?: React.ReactNode;
vertical?: boolean;
repeat?: number;
[key: string]: any;
}
export default function Marquee({
className,
reverse,
pauseOnHover = false,
children,
... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/ui/marquee.tsx | TypeScript | a05fdb920ac15367121d71e17287cf2b54f077b9410393f2c7e18c4fac9a57f1 | 0 | 297 |
import { cn } from "@/lib/utils";
export interface OrbitingCirclesProps {
className?: string;
children?: React.ReactNode;
reverse?: boolean;
duration?: number;
delay?: number;
radius?: number;
path?: boolean;
}
export default function OrbitingCircles({
className,
children,
reverse,
duration = 20... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/ui/orbiting-circles.tsx | TypeScript | 796d694ad918efe3fbf868c1f111315038dbf1176848ba4a23df65bd56e57511 | 0 | 314 |
import { CSSProperties, memo } from "react";
import { cn } from "@/lib/utils";
interface RippleProps {
mainCircleSize?: number;
mainCircleOpacity?: number;
numCircles?: number;
className?: string;
}
export const Ripple = memo(function Ripple({
mainCircleSize = 210,
mainCircleOpacity = 0.24,
numCircles ... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/components/ui/ripple.tsx | TypeScript | 9212f4e44ce6cee430202caa46dca33a36195c4ed474a3afdf0190e006bc96d5 | 0 | 359 |
import { cubicBezier } from "framer-motion";
export const easeInOutCubic = cubicBezier(0.645, 0.045, 0.355, 1);
export const easeOutCubic = cubicBezier(0, 0, 0.58, 1);
| hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/lib/animation.ts | TypeScript | d785c00143835afc2f4a2dae3231c5b153e4c292da437f36ad1267b12fd9ca7a | 0 | 41 |
import { siteConfig } from "@/lib/config";
import fs from "fs";
import path from "path";
import rehypePrettyCode from "rehype-pretty-code";
import rehypeStringify from "rehype-stringify";
import remarkGfm from "remark-gfm";
import remarkParse from "remark-parse";
import remarkRehype from "remark-rehype";
import { unifi... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/lib/blog.ts | TypeScript | 74238b319295b9072bd40d90be75f588010bb73def9668f10107ec58f3e8fa47 | 0 | 697 |
import { Icons } from "@/components/icons";
import {
BrainIcon,
CodeIcon,
GlobeIcon,
PlugIcon,
UsersIcon,
ZapIcon,
} from "lucide-react";
export const BLUR_FADE_DELAY = 0.15;
export const siteConfig = {
name: "AI Agent SDK",
description: "Create AI Agents with just a few lines of code.",
cta: "Get S... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/lib/config.tsx | TypeScript | 926939e351a12eaca641ea1f386af877fd3afb0b1eec87cdf89065824b5b4fdb | 0 | 896 |
,
popular: true,
cta: "Get Started",
},
],
footer: {
socialLinks: [
{
icon: <Icons.github className="h-5 w-5" />,
url: "#",
},
{
icon: <Icons.twitter className="h-5 w-5" />,
url: "#",
},
],
links: [
{ text: "Pricing", url: "#"... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/lib/config.tsx | TypeScript | 98611a3ccbf1dd18110f9c3ac95a256bbd35014e717bf19e96505f3046d7e021 | 1 | 896 |
company: "CollabAI",
image:
"https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NTJ8fHBvcnRyYWl0fGVufDB8fDB8fHww",
},
{
id: 9,
text: "The SDK's flexibility in integrating external tools has expanded o... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/lib/config.tsx | TypeScript | 176801538bc3c41e3cbcba181bb7fa4367999f91408dd3354b353c4e26ed4147 | 2 | 712 |
import {
JetBrains_Mono as FontMono,
Inter as FontSans,
} from "next/font/google";
export const fontSans = FontSans({
subsets: ["latin"],
variable: "--font-sans",
});
export const fontMono = FontMono({
subsets: ["latin"],
variable: "--font-mono",
});
| hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/lib/fonts.ts | TypeScript | 1dc9cb446c3371ae24826217e4fe94f2e8a16a68d759cda410ecc3b431fc047a | 0 | 76 |
import { siteConfig } from "@/lib/config";
import { type ClassValue, clsx } from "clsx";
import { Metadata } from "next";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
export function absoluteUrl(path: string) {
return `${process.env.NEXT_P... | hacknation-landing | magicuidesign-devtool-template-41c1ad858aed7c94d2e8af6c19736283b7b677a1/src/lib/utils.ts | TypeScript | 65dcd7f87ee11b2bb249827be7eb23e25da4d2400ca3e27906ee136e8cf89b94 | 0 | 587 |
{
"name": "hacknation-venture",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint"
},
"dependencies": {
"@base-ui/react": "^1.3.0",
"@types/three": "^0.183.1",
"class-variance-authority": "^0.7.1",
... | hacknation-venture | package.json | JSON | 71ba15ee8be4ec96a20dc8ed77a6803647242adfb903268e8255fcb7797e962b | 0 | 354 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.