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 |
|---|---|---|---|---|---|---|
"use client";
import { usePathname } from "next/navigation";
import { useEffect } from "react";
/** Scrolls to `location.hash` on `/` — Next.js client navigations do not always apply native hash scrolling. */
export function LandingHashScroll() {
const pathname = usePathname();
useEffect(() => {
if (pathname... | clawguard | components/landing-hash-scroll.tsx | TypeScript | 7eac870f8ad469025d6801cb2ac563a57a94dd1190f865a839e999ff645d3071 | 0 | 223 |
import Image from "next/image";
import { cn } from "@/lib/utils";
export const Icons = {
logo: ({ className }: { className?: string }) => (
<Image
src="/logo.svg"
alt="ClawGuard"
width={1080}
height={1080}
decoding="async"
unoptimized
className={cn("size-4 object-contain... | clawguard | components/landing-icons.tsx | TypeScript | 6bc1f504165970a92ccb39991dd7771f474e028570d68609ecef5af985c13952 | 0 | 896 |
3099 16.3187H29.0478L28.4878 17.8882H27.9425ZM29.2173 15.8324H31.1404L30.1825 13.1061L29.2173 15.8324Z"
fill="#6A7282"
/>
<line
x1="10.4938"
y1="21.2488"
x2="34.988"
y2="21.2488"
stroke="#E5E7EB"
strokeWidth="0.26315... | clawguard | components/landing-icons.tsx | TypeScript | 100eda88b77fb95f5842194bfea6fed40a9a90dfc3953c130e875ecfcf170831 | 1 | 896 |
.5439 26.1577 18.4849 26.4991 18.4849 26.897C18.4849 27.2899 18.5439 27.6289 18.6618 27.9138C18.7846 28.1987 18.9565 28.4173 19.1776 28.5696C19.4035 28.717 19.6737 28.7906 19.9881 28.7906ZM25.3276 29.6233C24.8511 29.6233 24.4311 29.5152 24.0676 29.2991C23.7041 29.078 23.4192 28.7612 23.2129 28.3485C23.0066 27.9359 22.9... | clawguard | components/landing-icons.tsx | TypeScript | afec3692fc04c493c1e196ed59d3936a54dbdaa083845da05b69f125bdd77d62 | 2 | 896 |
/>
</g>
</g>
<defs>
<linearGradient
id="paint0_linear_1_2018"
x1="9.88803"
y1="6.55415"
x2="36.0447"
y2="35.5773"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#27272A" />
<stop offset="1" stopColor="... | clawguard | components/landing-icons.tsx | TypeScript | 93d763ec7e1d6be0c65b481d455a5f5a5a8391c56e719edd5df01a5c0c3b1529 | 3 | 896 |
21.5138 11.1708C21.7195 11.2172 21.9931 11.24 22.3346 11.239L22.319 10.9648C22.3183 10.9535 22.3134 10.9428 22.3051 10.9348C22.2969 10.9268 22.2859 10.9221 22.2743 10.9215C22.0977 10.9123 21.9254 10.8988 21.7573 10.881C21.118 10.8134 21.057 9.96774 21.0224 9.48751L21.0186 9.43534C20.9317 8.26069 20.3701 7.38696 19.0736... | clawguard | components/landing-icons.tsx | TypeScript | 996cbed07558e94f894a8c8828c4bfe6430a10a64bcc2095e3e39fd69f2c45b0 | 4 | 896 |
23.9149 16.4829C23.915 16.4768 23.9138 16.4707 23.9114 16.4651C23.909 16.4595 23.9055 16.4544 23.9011 16.45C23.8622 16.4116 23.8575 16.3616 23.8869 16.2998C24.017 16.0255 24.2377 15.8758 24.5492 15.851C25.1037 15.8072 25.9763 15.9758 26.1329 16.5869C26.1354 16.5965 26.1411 16.6052 26.1491 16.6118C26.5773 16.9473 26.936... | clawguard | components/landing-icons.tsx | TypeScript | cfba801a2b7356bdcec1d74195457e38a63a41790848f14f5b016e0b459e4281 | 5 | 896 |
16.2403 21.4079 16.2514 21.3989 16.2617C21.39 16.272 21.3769 16.2813 21.3606 16.289C21.3442 16.2967 21.3248 16.3028 21.3035 16.3067C21.2823 16.3107 21.2595 16.3126 21.2366 16.3122C21.1902 16.3114 21.146 16.3015 21.1135 16.2848C21.0811 16.2681 21.0631 16.2459 21.0635 16.223C21.0637 16.2117 21.0684 16.2006 21.0773 16.190... | clawguard | components/landing-icons.tsx | TypeScript | d824c9b35df6097d8906080ac448541da5666a8d45564d352e72c182d5190626 | 6 | 896 |
.4879 29.8555V26.8126H14.1393V29.8555H13.4879ZM14.7142 29.8555V26.8126H15.9313C16.6599 26.8126 17.1013 27.1898 17.1013 27.8069C17.1013 28.424 16.6599 28.8055 15.9313 28.8055H15.3656V29.8555H14.7142ZM15.3656 28.2569H15.8928C16.2356 28.2569 16.4328 28.1026 16.4328 27.8069C16.4328 27.5112 16.2356 27.3612 15.8928 27.3612H1... | clawguard | components/landing-icons.tsx | TypeScript | e756ea2f727bf77c29ae3e3cb869e77b9a1bc97ef22934eeea2ffe7de6a3f91b | 7 | 896 |
height="40" rx="20" fill="url(#paint0_linear_1_2028)" />
<path
fillRule="evenodd"
clipRule="evenodd"
d="M19.0736 7.30078H18.5513C17.4523 7.40753 16.5515 7.91698 15.6382 8.43349L15.6382 8.4335C15.3095 8.61938 14.9792 8.80617 14.6375 8.97544C13.1797 9.69771 11.6905 10.3538 10.1701 10... | clawguard | components/landing-icons.tsx | TypeScript | 22c80766ec46c6288ed689d24815000e6301e0647fe1729f3f7124ff88d18e8c | 8 | 896 |
7319 15.4376 29.1806 15.3736 28.9683 14.8455C28.8421 14.5317 28.6996 14.2814 28.4347 14.0395C28.3382 13.951 28.2445 13.8599 28.1537 13.7662C27.6951 13.2931 27.7171 13.2711 28.2197 13.7003C28.3102 13.7774 28.4013 13.8539 28.4931 13.9298C28.9793 14.3317 30.2502 14.833 30.8636 14.7685C31.6346 14.6883 31.016 13.9418 30.730... | clawguard | components/landing-icons.tsx | TypeScript | b622ae5d3cc958ec4951862669f8102afd2b0e769f4d5d95615011cf4fb07c74 | 9 | 896 |
6359 9.73416 23.6285 9.73372 23.6213 9.73491C23.6141 9.7361 23.6073 9.7389 23.6014 9.74309C23.5954 9.74728 23.5906 9.75274 23.5872 9.75906C23.5837 9.76538 23.5818 9.77239 23.5816 9.77953C23.5332 11.8247 23.484 13.8507 23.434 15.8574C23.4068 16.9628 23.3851 18.0682 23.3689 19.1735C23.3688 19.1812 23.3707 19.1889 23.3744... | clawguard | components/landing-icons.tsx | TypeScript | 4b52b57f86a02fa846b7406ad077b2de802fd6affbbac71966f884e1baf7cc4f | 10 | 896 |
20.6129 22.5771 20.6073 22.5707 20.6032C22.5644 20.599 22.5571 20.5964 22.5494 20.5956C22.5418 20.5947 22.5341 20.5957 22.5269 20.5983C22.1238 20.7509 20.664 21.49 21.4544 22.0735ZM23.4793 27.5085C23.2219 27.2836 22.8996 26.9619 22.7045 26.7573C22.6963 26.7491 22.6917 26.7382 22.6916 26.7269L22.6556 24.4527C22.6554 24.... | clawguard | components/landing-icons.tsx | TypeScript | 42edbebac2cabfabad6c453218fa82393acba3626fbf3e8d559c1cab46ac5488 | 11 | 896 |
0149ZM11.7435 33.924C11.4663 33.924 11.2192 33.8612 11.0021 33.7355C10.7849 33.6098 10.6163 33.4269 10.4963 33.1869C10.3763 32.9469 10.3163 32.664 10.3163 32.3383C10.3163 32.0183 10.3749 31.7383 10.4921 31.4983C10.6092 31.2555 10.7763 31.0698 10.9935 30.9412C11.2106 30.8098 11.4635 30.744 11.7521 30.744C12.1435 30.744 ... | clawguard | components/landing-icons.tsx | TypeScript | 94987d688bd2d3c40574f92a3653cb8ce2c5cfcc4f26411d7b4178c968f727ef | 12 | 896 |
stopOpacity="0" />
</linearGradient>
</defs>
</svg>
),
gdpr: ({ className }: { className?: string }) => (
<svg
width="46"
height="45"
viewBox="0 0 46 45"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={cn("size-4", className)}
>
<g>
... | clawguard | components/landing-icons.tsx | TypeScript | 780c6b4bc429b4aeb9a20cc413c38b6a394d0f17138dd85c2d170a11f8af394e | 13 | 896 |
L13.5802 10.4204L15.372 9.1185L17.1639 10.4204L16.4795 8.3139L18.2714 7.01203L16.0565 7.01202Z"
fill="url(#paint12_linear_1_4914)"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M15.2383 20.8682C15.2383 22.1882 15.9883 23.0882 17.2243 23.0882C17.8363 23.0882 18... | clawguard | components/landing-icons.tsx | TypeScript | 68f40d3f75cdd60322f9c5adaa6443c749f82e3a4453b6e1d9461757358056c5 | 14 | 896 |
<linearGradient
id="paint6_linear_1_4914"
x1="15.8864"
y1="51.1315"
x2="29.5116"
y2="5.36433"
gradientUnits="userSpaceOnUse"
>
<stop offset="0.188554" stopColor="#364153" stopOpacity="0" />
<stop offset="0.526459" stopColor="#364153... | clawguard | components/landing-icons.tsx | TypeScript | 3093372d3d9b52a37862a44b9d9b5fc762fafe4241cebe5baf8417054cf4a29a | 15 | 896 |
.6857 4.96976Z"
fill="url(#paint3_linear_1_2046)"
/>
<path
d="M30.6226 4.90555L31.307 7.01202L33.5219 7.01202L31.73 8.3139L32.4144 10.4204L30.6226 9.1185L28.8307 10.4204L29.5151 8.3139L27.7233 7.01202L29.9381 7.01202L30.6226 4.90555Z"
fill="url(#paint4_linear_1_2046)"
... | clawguard | components/landing-icons.tsx | TypeScript | db71c8d49183a464559a635770015b61849b9ef54e091fe04a613ce71c8ffaa8 | 16 | 896 |
77 22.1402H21.244C21.628 22.1402 21.91 22.0362 22.09 21.8282C22.27 21.6202 22.36 21.2982 22.36 20.8622C22.36 20.4262 22.27 20.1042 22.09 19.8962C21.91 19.6882 21.628 19.5842 21.244 19.5842H20.77V22.1402ZM23.8058 22.9922V18.7322H25.5698C26.0938 18.7322 26.5038 18.8602 26.7998 19.1162C27.0998 19.3682 27.2498 19.7142 27.2... | clawguard | components/landing-icons.tsx | TypeScript | 0432cd9323e50ccb5ac0af576e40436dd38e755e6035ac6b53fe891ef6fefe7b | 17 | 896 |
stopColor="#FAFAFA" stopOpacity="0.7" />
</linearGradient>
<linearGradient
id="paint7_linear_1_2046"
x1="15.8864"
y1="51.1315"
x2="29.5116"
y2="5.36433"
gradientUnits="userSpaceOnUse"
>
<stop offset="0.188554" stopColor="#FAFA... | clawguard | components/landing-icons.tsx | TypeScript | 5c0c45763986fa4a0ad07fd91414bcf784e4bf03e238115ae228f686c58374d3 | 18 | 896 |
V8.875Z"
fill="#F26207"
/>
<path
d="M28 17H38.625C39.6605 17 40.5 17.8395 40.5 18.875V25.125C40.5 26.1605 39.6605 27 38.625 27H28V17Z"
fill="#F26207"
/>
<path
d="M15.5 28.875C15.5 27.8395 16.3395 27 17.375 27H28V35.125C28 36.1605 27... | clawguard | components/landing-icons.tsx | TypeScript | f7c170b7d9858e0eb344f8694e836e9481d22af53f7f850d0ff89e958e96a48e | 19 | 896 |
30.9012 42.7786 30.8306 42.9043 30.705C43.0299 30.5793 43.1005 30.4089 43.1005 30.2312V29.4273C43.1005 29.0574 42.7997 28.762 42.4325 28.7144C41.3008 28.567 40.2495 28.0488 39.4424 27.2418ZM35.2074 28.7579C34.9231 28.7579 34.6505 28.645 34.4494 28.444C34.2484 28.2429 34.1355 27.9703 34.1355 27.686C34.1355 27.4017 34.24... | clawguard | components/landing-icons.tsx | TypeScript | 0538226b27a2b4e93fbf389d3320e8253dce5a9a4b0107495a45cdb6b7ed0693 | 20 | 896 |
22Z"
fill="#6363F1"
/>
<g clipPath="url(#clip0_1_4101)">
<path
d="M12 22.0011C12 22.557 12.1516 23.0624 12.4043 23.5173L17.3069 32.0083C17.8123 32.8675 18.5704 33.5751 19.5307 33.8783C21.3502 34.4848 23.3213 33.7267 24.2816 32.1094L25.444 30.0372L20.7942 21.9505L25.7473 1... | clawguard | components/landing-icons.tsx | TypeScript | 985edf436c5c923b976104f6273437c34a857a744c39eb34e4de3634f958836f | 21 | 896 |
"matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" />
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1_4106" />
<feColorMatrix
in="SourceAlpha"
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
result... | clawguard | components/landing-icons.tsx | TypeScript | 6d0746d3502f2391f1aa2fc1cbf96b6ebc0eca0caf790ef8885a42aa7ecec65f | 22 | 896 |
"hardAlpha"
/>
<feOffset dy="3" />
<feGaussianBlur stdDeviation="1.5" />
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.09 0" />
<feBlend
mode="normal"
in2="effect1_dropShadow_1_4143"
result="effect2_dropSh... | clawguard | components/landing-icons.tsx | TypeScript | 17f3d6fc1072cbeef220f0722587193bbaa66e8b5dee0f3a4df1adbb4f79331a | 23 | 896 |
"52" height="60" viewBox="0 0 52 60" fill="none" xmlns="http://www.w3.org/2000/svg">
<g>
<path
d="M5 22C5 10.402 14.402 1 26 1C37.598 1 47 10.402 47 22C47 33.598 37.598 43 26 43C14.402 43 5 33.598 5 22Z"
fill="#121212"
/>
<g clipPath="url(#clip0_1_4134)">
<pat... | clawguard | components/landing-icons.tsx | TypeScript | dda7ba39c2f18caae993bf9ad7c030ed0443d4090b6174a0a035bba49f5b36a8 | 24 | 896 |
" />
<stop offset="1" stopColor="#3ECF8E" />
</linearGradient>
<linearGradient
id="paint1_linear_1_4134"
x1="20.9634"
y1="14.8902"
x2="25.9916"
y2="24.3555"
gradientUnits="userSpaceOnUse"
>
<stop />
<stop o... | clawguard | components/landing-icons.tsx | TypeScript | d9524f924e3b6598ab3f198755f3569da3a84000919215392d92e33819af1130 | 25 | 549 |
"use client";
import { signIn } from "next-auth/react";
import { Button } from "@/components/ui/button";
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import { FieldDescription } from "@/components/ui/field";
import { cn } from "@/lib/utils";
export function LoginF... | clawguard | components/login-form.tsx | TypeScript | e1ce14e91a9f5a6fff869b242d843d0b3e8b08f7a333f3ed470f37a927e774c8 | 0 | 648 |
import Image from "next/image";
import { cn } from "@/lib/utils";
export type ClawGuardLogoProps = {
className?: string;
"aria-hidden"?: boolean | "true" | "false";
title?: string;
};
/** ClawGuard mark from `/logo.svg` (square). Size via className, e.g. `size-8` or `h-10 w-10`. */
export function ClawGuardLogo... | clawguard | components/logo.tsx | TypeScript | bbd0ee62308523c42286dfd7ff0564f05a7e21c79d39952265d1008f60994308 | 0 | 220 |
"use client";
import { LogOutIcon } from "lucide-react";
import { signOut } from "next-auth/react";
import { Button } from "@/components/ui/button";
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import { FieldDescription } from "@/components/ui/field";
import { cn }... | clawguard | components/logout-form.tsx | TypeScript | 41f922746b554c0f361faaea8b7a58c896084c265aaabe438f121a658c0948f5 | 0 | 345 |
"use client";
import { Moon, Sun } from "lucide-react";
import { useTheme } from "next-themes";
import * as React from "react";
import { Button } from "@/components/ui/button";
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuRadioGroup,
DropdownMenuRadioItem,
DropdownMenuTrigger,
} from "@/component... | clawguard | components/mode-toggle.tsx | TypeScript | 218382aa2eb6dc6e753d040f5a6a4ea3f7304006555e0594ca59d2679d43f9f1 | 0 | 411 |
"use client";
import { FolderIcon, MoreHorizontalIcon, ShareIcon, Trash2Icon } from "lucide-react";
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuSeparator,
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu";
import {
SidebarGroup,
SidebarGroupLabel,
SidebarMenu,
... | clawguard | components/nav-documents.tsx | TypeScript | 88fde8a4cdbb928bcc7c8d05d7936a0ec9aa13291342ef2b279f20e6c9117ce9 | 0 | 445 |
"use client";
import { CirclePlusIcon, MailIcon } from "lucide-react";
import Link from "next/link";
import type * as React from "react";
import { Button } from "@/components/ui/button";
import {
SidebarGroup,
SidebarGroupContent,
SidebarMenu,
SidebarMenuButton,
SidebarMenuItem,
} from "@/components/ui/sideb... | clawguard | components/nav-main.tsx | TypeScript | 3da2d956e1df7b0e29cf149db768fde63bc3e06e20e72c93e2c77c0e66e56cb5 | 0 | 409 |
"use client";
import { motion } from "motion/react";
import React, { useRef, useState } from "react";
import { siteConfig } from "@/lib/landing-config";
interface NavItem {
name: string;
href: string;
}
const navs: NavItem[] = siteConfig.nav.links;
export function NavMenu() {
const ref = useRef<HTMLUListEleme... | clawguard | components/nav-menu.tsx | TypeScript | 32065f7a4ac230534dfc834bbd688519d555f18469978c69ef3e2e7283b154ad | 0 | 889 |
"use client";
import Link from "next/link";
import type * as React from "react";
import {
SidebarGroup,
SidebarGroupContent,
SidebarMenu,
SidebarMenuButton,
SidebarMenuItem,
} from "@/components/ui/sidebar";
export function NavSecondary({
items,
...props
}: {
items: {
title: string;
url: stri... | clawguard | components/nav-secondary.tsx | TypeScript | 52aed4034e7781a0bc73ecd868a458c2cd204e5bdf08f7dd6297fdbb269fe3a2 | 0 | 250 |
"use client";
import { EllipsisVerticalIcon, LogOutIcon } from "lucide-react";
import Link from "next/link";
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuLabel,
DropdownMenuSeparator,
DropdownMenuTrig... | clawguard | components/nav-user.tsx | TypeScript | d949b25df9d8cb59fca99693c200fd503cb4b06e5bbcee4d2141dac519378aa3 | 0 | 819 |
import {
Bug,
FileWarning,
GitPullRequest,
KeyRound,
Lock,
Network,
ScanSearch,
Server,
Shield,
} from "lucide-react";
import type { ReactNode } from "react";
import { Icons } from "@/components/landing-icons";
import { OrbitingCircles } from "@/components/ui/orbiting-circle";
function OrbitIcon({ ch... | clawguard | components/second-bento-animation.tsx | TypeScript | 0d0f944552f61b9d11a5d6faca6ae3eb8a338e79b4f623593ffc5b71d98baf9b | 0 | 708 |
import { TrendingDownIcon, TrendingUpIcon } from "lucide-react";
import { Badge } from "@/components/ui/badge";
import {
Card,
CardAction,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card";
export function SectionCards({
repoCount,
totalAudits,
avgScore,
criticalFind... | clawguard | components/section-cards.tsx | TypeScript | bfbbdb26f1a2c8fd6896fcd77e35e8e02c96173a0be684105d0a8da9f6eb024c | 0 | 896 |
<CardFooter className="flex-col items-start gap-1 text-sm">
<div className="line-clamp-1 flex gap-2 font-medium">
Total across completed audits <TrendingDownIcon className="size-4 shrink-0" />
</div>
<div className="text-muted-foreground">Severity CRITICAL only</div>
</... | clawguard | components/section-cards.tsx | TypeScript | 2164a191b439bc8b12c9929c5518c2de59c89de752c7256cd507249cff7fc44d | 1 | 94 |
interface SectionHeaderProps {
children: React.ReactNode;
}
export function SectionHeader({ children }: SectionHeaderProps) {
return (
<div className="border-b w-full h-full p-10 md:p-14">
<div className="max-w-xl mx-auto flex flex-col items-center justify-center gap-2">
{children}
</div>
... | clawguard | components/section-header.tsx | TypeScript | f722590b36fdf6a23bfc09f3fc44078e2deda54b440c5304b3f9ad151be2d475 | 0 | 89 |
"use client";
import { ExternalLink } from "lucide-react";
import Link from "next/link";
import { usePathname } from "next/navigation";
import * as React from "react";
import { ModeToggle } from "@/components/mode-toggle";
import {
Breadcrumb,
BreadcrumbItem,
BreadcrumbLink,
BreadcrumbList,
BreadcrumbPage,
... | clawguard | components/site-header.tsx | TypeScript | 059ed82cbbafe2c6f961bce923f7d9d38567dbbb83e089884ba2a24fcc0354a6 | 0 | 896 |
.href}>{c.label}</Link>
</BreadcrumbLink>
) : (
<span className="font-mono text-xs text-muted-foreground sm:text-sm">
{c.label}
</span>
)}
</BreadcrumbItem>
</React.Fragmen... | clawguard | components/site-header.tsx | TypeScript | e8279c71636936da7dbcf30a1f3618bf6d8a7c090b386eff56f5e4804691e438 | 1 | 178 |
"use client";
import { ThemeProvider as NextThemesProvider } from "next-themes";
import type * as React from "react";
export function ThemeProvider({
children,
...props
}: React.ComponentProps<typeof NextThemesProvider>) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}
| clawguard | components/theme-provider.tsx | TypeScript | 4f3db6b8fdfcf0c5b2d7c60d7ed468f5d17f252285e38279ea7b534e3a993a41 | 0 | 69 |
"use client";
import NumberFlow from "@number-flow/react";
import { motion, useInView } from "motion/react";
import { type CSSProperties, useCallback, useEffect, useRef, useState } from "react";
import { colorWithOpacity, getRGBA } from "@/lib/utils";
interface LineChartProps {
data: number[];
height?: number;
... | clawguard | components/third-bento-animation.tsx | TypeScript | d470d2a80a6d7f0814cf06fb38e8166616f44b1cbef181f40fc5a56cb7365d72 | 0 | 896 |
${height} L 0,${height} Z`}
fill="url(#lineGradient)"
/>
<motion.path
initial={{ pathLength: 0 }}
animate={{ pathLength: shouldAnimate ? 1 : 0 }}
transition={{
duration: 1.5,
ease: "easeInOut",
delay: startAnimationDelay,
}}
d={s... | clawguard | components/third-bento-animation.tsx | TypeScript | 119716f61e177026fe07d0309eab1985e5f88c4f6c3f1b4499994af9df99fa1d | 1 | 896 |
useState(color);
useEffect(() => {
setComputedColor(getRGBA(color));
}, [color]);
useEffect(() => {
if (isInView) {
setShouldAnimate(true);
} else {
setShouldAnimate(false);
}
}, [isInView]);
return (
<div
ref={ref}
className="relative flex size-full items-center... | clawguard | components/third-bento-animation.tsx | TypeScript | 82c3517c8d2e4f2c0d90ae2c5dc9cb8098a97fdee325c3915ab04b6043ae79d2 | 2 | 285 |
"use client";
import { Progress } from "@/components/ui/progress";
import { cn } from "@/lib/utils";
interface ConfidenceBarProps {
value: number;
className?: string;
}
export function ConfidenceBar({ value, className }: ConfidenceBarProps) {
const pct = Math.round(Math.min(1, Math.max(0, value)) * 100);
ret... | clawguard | components/dashboard/confidence-bar.tsx | TypeScript | 34c2aeb4a439f9fb4830c3a12cbc8ecd05c74fcc87af14837b2aba71a8436302 | 0 | 271 |
"use client";
import type * as React from "react";
import { AppSidebar } from "@/components/app-sidebar";
import { SiteHeader } from "@/components/site-header";
import { SidebarInset, SidebarProvider } from "@/components/ui/sidebar";
export type DashboardUser = {
name?: string | null;
email?: string | null;
ima... | clawguard | components/dashboard/dashboard-shell.tsx | TypeScript | b5baf8275acc293c5da401a1472090ead50557b71be006adef4b34796588adba | 0 | 284 |
import { BookOpen, Brain, LineChart } from "lucide-react";
import Link from "next/link";
import { ChartAreaInteractive } from "@/components/chart-area-interactive";
import { TrendChart } from "@/components/dashboard/trend-chart";
import { DataTable } from "@/components/data-table";
import { SectionCards } from "@/compo... | clawguard | components/dashboard/demo-showcase-hub.tsx | TypeScript | 876f3bba633cd078dccdf7d8eeb80cd8f1ec987ec889f44eddd822e799711fcb | 0 | 896 |
/Link>
</Button>
<Button variant="outline" asChild>
<Link href={trackingHref}>
<LineChart className="size-4" />
Tracking
</Link>
</Button>
</div>
</section>
<Separator />
<section className="space-y-8" aria-lab... | clawguard | components/dashboard/demo-showcase-hub.tsx | TypeScript | 1693bcf131ef293564cbe909d6ea1f64fe037faa8d005bbe863d6f9b68ac35ec | 1 | 893 |
import type { LucideIcon } from "lucide-react";
import { cn } from "@/lib/utils";
interface EmptyStateProps {
icon: LucideIcon;
title: string;
description: string;
className?: string;
}
export function EmptyState({ icon: Icon, title, description, className }: EmptyStateProps) {
return (
<div
clas... | clawguard | components/dashboard/empty-state.tsx | TypeScript | 72b6126c2bba8707075d16b8020558c7103a01ffbb28c85c95dfd7741cb3b491 | 0 | 182 |
"use client";
import { Brain } from "lucide-react";
import { ConfidenceBar } from "@/components/dashboard/confidence-bar";
import { EmptyState } from "@/components/dashboard/empty-state";
import { Badge } from "@/components/ui/badge";
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/compone... | clawguard | components/dashboard/knowledge-view.tsx | TypeScript | 9500f5accc7fd684998c3d79708cb240ec17832f93dc64594e678ccb8d2ca30a | 0 | 896 |
[] }) {
if (entries.length === 0) {
return (
<EmptyState
icon={Brain}
title="No org knowledge yet"
description="Promote learnings from the learnings dashboard or use the API to append entries. Knowledge is injected into future scans."
/>
);
}
return (
<TooltipProvi... | clawguard | components/dashboard/knowledge-view.tsx | TypeScript | 442757756fc2c6df8887cf31af8a1418efe66e9fc3c65cbceb5c254aed13df8a | 1 | 615 |
"use client";
import { BookOpen } from "lucide-react";
import Link from "next/link";
import { ConfidenceBar } from "@/components/dashboard/confidence-bar";
import { EmptyState } from "@/components/dashboard/empty-state";
import { Badge } from "@/components/ui/badge";
import { Card, CardContent, CardDescription, CardHe... | clawguard | components/dashboard/learnings-view.tsx | TypeScript | 59a3293114e155b00ef31cc755e276cd930572e5ad752b457689f77993951ce3 | 0 | 896 |
null ? (
repoForPrLink ? (
<Link
href={`https://github.com/${owner}/${repoForPrLink}/pull/${l.sourcePr}`}
className="text-primary underline-offset-4 hover:underline"
target="_blank"
rel="noreferrer"
... | clawguard | components/dashboard/learnings-view.tsx | TypeScript | 56cdd2d51aa11e11f2990d64fdcbcd61e9024129d065722eedaa3dd562d699ff | 1 | 896 |
} />
</div>
</CardContent>
</Card>
</>
)}
{hasRepoContext && (
<Tabs defaultValue="org" className="space-y-6">
<TabsList>
<TabsTrigger value="org">Organization</TabsTrigger>
<TabsTrigger value="repo">
... | clawguard | components/dashboard/learnings-view.tsx | TypeScript | 25377f22240cd1a376d9e779c6286a09d3ecb71425d95ea45e8b3c357f343551 | 2 | 376 |
"use client";
import { Target } from "lucide-react";
import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import { Progress } from "@/components/ui/progress";
interface PrecisionStatCardProps {
precision: number | null;
}
export function PrecisionStatCard({ precision }: PrecisionSt... | clawguard | components/dashboard/precision-stat-card.tsx | TypeScript | 1a585160c8540b87afb9a79b36fb259972221ba9666b9eb8e2c50620b2593ada | 0 | 261 |
"use client";
import { Cell, Pie, PieChart } from "recharts";
import {
type ChartConfig,
ChartContainer,
ChartTooltip,
ChartTooltipContent,
} from "@/components/ui/chart";
const chartConfig = {
truePositives: {
label: "True positives",
color: "hsl(142 76% 36%)",
},
falsePositives: {
label: ... | clawguard | components/dashboard/tracking-chart.tsx | TypeScript | 0f9ff3ec2926279d75c5b35cfdbe56c5dbddcc161c59d581fcfdf52c6a830497 | 0 | 416 |
"use client";
import { CartesianGrid, Line, LineChart, XAxis, YAxis } from "recharts";
import {
type ChartConfig,
ChartContainer,
ChartTooltip,
ChartTooltipContent,
} from "@/components/ui/chart";
const chartConfig = {
score: {
label: "Score",
color: "var(--chart-1)",
},
} satisfies ChartConfig;
... | clawguard | components/dashboard/trend-chart.tsx | TypeScript | 2456e70729d9176834af5b12918ed6cc5f05c437bbf7fd74edcb1b0f02e3c5d0 | 0 | 401 |
"use client";
import { AlertTriangle, Bug, CheckCircle2, Loader2, Shield, Wrench } from "lucide-react";
import { useEffect, useRef } from "react";
export interface StreamEvent {
event: string;
data: Record<string, unknown>;
timestamp: number;
}
interface ActivityFeedProps {
events: StreamEvent[];
}
function... | clawguard | components/report/activity-feed.tsx | TypeScript | 3ea4b85834927e2ef9bdbc445c4005978ab27ffc99edd5a4cda244104bdd94ee | 0 | 896 |
-foreground shrink-0 tabular-nums">
{new Date(evt.timestamp).toLocaleTimeString([], { hour12: false })}
</span>
<span className="text-foreground/80 break-all">{eventLabel(evt)}</span>
</div>
))}
<div ref={endRef} />
</div>
);
}
| clawguard | components/report/activity-feed.tsx | TypeScript | 01bbd25fdf8441d139827c999b395a465a758b43815e695e9c52a4cee8b89a30 | 1 | 83 |
"use client";
import {
BookOpen,
CheckCircle2,
FileText,
GitBranch,
Loader2,
type LucideIcon,
Network,
Shield,
Sparkles,
TestTube2,
XCircle,
Zap,
} from "lucide-react";
import type { StreamEvent } from "./activity-feed";
const AGENT_ICONS: Record<string, LucideIcon> = {
"security-scan": Shie... | clawguard | components/report/agent-status-panel.tsx | TypeScript | 059920cf8dedf1a9cac7ebe227dd1c8b28902f397383ba91491bff2843fb168c | 0 | 870 |
import { Badge } from "@/components/ui/badge";
import type { AttackSurfaceEntry } from "@/lib/analysis/types";
import { SEVERITY_BADGE_CLASS, SEVERITY_ORDER } from "@/lib/constants";
interface AttackSurfaceTableProps {
surfaces: AttackSurfaceEntry[];
}
export function AttackSurfaceTable({ surfaces }: AttackSurfaceT... | clawguard | components/report/attack-surface-table.tsx | TypeScript | 33363cc9c819d463e620c36368c3ca36b3e46f6e66f0b37cec9900a624fc8662 | 0 | 499 |
"use client";
import { useEffect, useState } from "react";
import { codeToHtml } from "shiki";
interface CodeDiffProps {
fix: {
before: string;
after: string;
file?: string;
startLine?: number;
endLine?: number;
};
}
/** Shiki language id inferred from file path (must match bundled grammars).... | clawguard | components/report/code-diff.tsx | TypeScript | 09405a9ee27990e0b90e806b906ab123c38e7307274737829b3301388f580242 | 0 | 896 |
beforeHtml || !afterHtml) {
return (
<div className="my-4 rounded-lg border border-border bg-card">
{fix.file && (
<div className="border-b border-border bg-muted/40 px-3 py-2 font-mono text-xs text-muted-foreground">
{fix.file}
{fix.startLine != null && `:${fix.start... | clawguard | components/report/code-diff.tsx | TypeScript | 1f5bbf42cec3f684302e6d5cf8402b8f5aedd93a35c39a7db19686fb7581b462 | 1 | 733 |
import type { ReactNode } from "react";
import { Badge } from "@/components/ui/badge";
import {
Table,
TableBody,
TableCell,
TableHead,
TableHeader,
TableRow,
} from "@/components/ui/table";
import type { Finding } from "@/lib/analysis/types";
import { SEVERITY_BADGE_CLASS, SEVERITY_ORDER } from "@/lib/cons... | clawguard | components/report/compliance-tab.tsx | TypeScript | 07959ee6eec4d5ceab1bf468af3ef93d4c2dd9892ca7a71dabbb5ee42a0005ab | 0 | 723 |
"use client";
import { ShieldAlert } from "lucide-react";
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
interface ErrorViewProps {
owner: string;
repo: string;
pr: string;
message?: string;
}
export function ErrorView({ owner, repo, pr, message }: ErrorView... | clawguard | components/report/error-view.tsx | TypeScript | 0ae7c5e824512ec317d2851571fbae8528e79ff3ec74176961870aa47defc5df | 0 | 357 |
"use client";
import { CodeDiff } from "@/components/report/code-diff";
import { MermaidDiagram } from "@/components/report/mermaid-diagram";
import { AccordionContent, AccordionItem, AccordionTrigger } from "@/components/ui/accordion";
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
impor... | clawguard | components/report/finding-card.tsx | TypeScript | 3bb0122ea6a7f596a350b21a116610155ec953ce578e0194ae37fb888d1b3844 | 0 | 896 |
">
PCI DSS: {finding.complianceMapping.pciDss.join(", ")}
</Badge>
)}
{finding.complianceMapping.soc2.length > 0 && (
<Badge variant="outline" className="text-[10px]">
SOC 2: {finding.complianceMapping.soc2.join(", ")}
</B... | clawguard | components/report/finding-card.tsx | TypeScript | 311c0b5797d68e951f3501626e11c7e13f6b909c9023909c72227ede91e75c40 | 1 | 416 |
"use client";
import type { Finding, FindingCategory } from "@/lib/analysis/types";
import { FindingsList } from "./findings-list";
interface FindingsByCategoryProps {
findings: Finding[];
category: FindingCategory;
}
export function FindingsByCategory({ findings, category }: FindingsByCategoryProps) {
const s... | clawguard | components/report/findings-by-category.tsx | TypeScript | 626e4cef0ad517def946fe9e2cf538b9f737645e85531b7af3336bec895ed504 | 0 | 103 |
"use client";
import { SearchX, ShieldCheck } from "lucide-react";
import { useMemo, useState } from "react";
import { FindingCard } from "@/components/report/finding-card";
import { Accordion } from "@/components/ui/accordion";
import { Badge } from "@/components/ui/badge";
import { Input } from "@/components/ui/inpu... | clawguard | components/report/findings-list.tsx | TypeScript | f9e5e39fceb6d986db1b10a9da890bfc73112a352f0af587a11fa1ddf271116c | 0 | 896 |
(
<div className="flex flex-col items-center justify-center gap-2 py-12 text-center">
<SearchX className="size-8 text-muted-foreground/35" strokeWidth={1.25} aria-hidden />
<p className="text-sm text-muted-foreground">No findings match your filters.</p>
</div>
) : (
<Ac... | clawguard | components/report/findings-list.tsx | TypeScript | 6148f6bbd58718a764bc5a353130af16731cf95d62887adbcf78524aaa432258 | 1 | 174 |
"use client";
import { useEffect, useState } from "react";
import { getMermaid } from "@/lib/mermaid-init";
interface MermaidDiagramProps {
chart: string;
id: string;
}
export function MermaidDiagram({ chart, id }: MermaidDiagramProps) {
const [svg, setSvg] = useState<string>("");
const [error, setError] = u... | clawguard | components/report/mermaid-diagram.tsx | TypeScript | 0b34e36285157222e99806105f8411d3c3bd1febb9e4a97ef4429034077831d9 | 0 | 394 |
"use client";
import { Bar, BarChart, Cell, XAxis, YAxis } from "recharts";
import {
type ChartConfig,
ChartContainer,
ChartTooltip,
ChartTooltipContent,
} from "@/components/ui/chart";
import type { Finding, Severity } from "@/lib/analysis/types";
import { SEVERITY_CHART_COLORS } from "@/lib/constants";
inte... | clawguard | components/report/owasp-chart.tsx | TypeScript | 486ba05882f7a165cb8b8c83d91614cbe489191f2b5e52d363f68c93e5253261 | 0 | 715 |
"use client";
import { MermaidDiagram } from "@/components/report/mermaid-diagram";
import type { PRSummary } from "@/lib/analysis/types";
interface PrSummaryTabProps {
prSummary: PRSummary | undefined;
}
export function PrSummaryTab({ prSummary }: PrSummaryTabProps) {
if (!prSummary) {
return (
<p cla... | clawguard | components/report/pr-summary-tab.tsx | TypeScript | 8a0cfca1abc9bac0f8896f8302dcef6611b47e5872ca46b00169cf84d2f2ecee | 0 | 855 |
"use client";
import { Printer } from "lucide-react";
import { Button } from "@/components/ui/button";
export function PrintReportButton() {
return (
<Button
type="button"
variant="outline"
size="sm"
className="print:hidden gap-1.5"
onClick={() => window.print()}
>
<Print... | clawguard | components/report/print-report-button.tsx | TypeScript | 9d565d05a8710bb78c93ca693995a2388c43064baf0db9a789a5631b0a32d740 | 0 | 99 |
"use client";
import { Shield } from "lucide-react";
import { useRouter } from "next/navigation";
import { useCallback, useEffect, useRef, useState } from "react";
import { Card, CardContent, CardHeader } from "@/components/ui/card";
import { ActivityFeed, type StreamEvent } from "./activity-feed";
import { AgentStatu... | clawguard | components/report/processing-view.tsx | TypeScript | bbfd5714fc019907217f692fa60572dd7db0586faca9aeef531fa8ac7746e31a | 0 | 896 |
as Record<string, unknown>;
addEvent(type, data);
if (type === "pipeline:complete") {
source?.close();
router.refresh();
}
} catch {
// skip malformed event
}
});
}
source.onerror = () => {
setSs... | clawguard | components/report/processing-view.tsx | TypeScript | fe83fb4bd68799853307613417e274f8a521bcb44de4953b24568e971a3dbe53 | 1 | 896 |
: ""}
</span>
)}
</div>
{Object.keys(findingCounts).length > 0 && (
<div className="flex items-center justify-center gap-2 flex-wrap">
{Object.entries(findingCounts)
.sort(([a], [b]) => {
const order = ["CRITICAL"... | clawguard | components/report/processing-view.tsx | TypeScript | ae184d89a1bc07d34959e3b5cb2fd58275f4a535138c859e3a866acfebb8d3f7 | 2 | 450 |
import { ShieldCheck } from "lucide-react";
import { Badge } from "@/components/ui/badge";
interface ReportHeaderProps {
owner: string;
repo: string;
prNumber: number;
prTitle: string;
timestamp: string;
}
function formatRelativeTime(dateString: string): string {
const date = new Date(dateString);
const... | clawguard | components/report/report-header.tsx | TypeScript | 2702c38f021eb2e677a7f8cdee4388a454e2986bca4a6e3b441400c3fe6471ec | 0 | 496 |
import { ExternalLink } from "lucide-react";
import Link from "next/link";
import { ClawGuardLogo } from "@/components/logo";
import { ModeToggle } from "@/components/mode-toggle";
import { PrintReportButton } from "@/components/report/print-report-button";
import { Button } from "@/components/ui/button";
interface Re... | clawguard | components/report/report-shell.tsx | TypeScript | 594acff85a1b62b5f83fe8265a3cdefd2155b79cfb42cf27c228101e8311d2bd | 0 | 476 |
import { ComplianceTab } from "@/components/report/compliance-tab";
import { FindingsByCategory } from "@/components/report/findings-by-category";
import { FindingsList } from "@/components/report/findings-list";
import { OwaspChart } from "@/components/report/owasp-chart";
import { PrSummaryTab } from "@/components/re... | clawguard | components/report/report-view.tsx | TypeScript | f0a443fab8dbfd565e6204f4712b8de21b2e502a0a7b613e3b995a69dae1e8bb | 0 | 896 |
} />
<div className="flex flex-col gap-4 pt-2 min-w-[240px] flex-1">
<SeverityBadges counts={counts} />
<p className="text-xs text-muted-foreground">
{result.findings.length} finding
{result.findings.length !== 1 ? "s" : ""} across {result.phases?.length ?? ... | clawguard | components/report/report-view.tsx | TypeScript | db149a60cd27984ad553dd4417d4856a3fb4216d2e6529dedd97b33977a0ad24 | 1 | 502 |
"use client";
import { PolarAngleAxis, RadialBar, RadialBarChart } from "recharts";
import { Badge } from "@/components/ui/badge";
import { type ChartConfig, ChartContainer } from "@/components/ui/chart";
import { GRADE_BADGE_CLASS } from "@/lib/constants";
import { cn } from "@/lib/utils";
interface ScoreGaugeProps ... | clawguard | components/report/score-gauge.tsx | TypeScript | b59409ac172374b638a2d37d056f267b35f08a0259d21375483fbb295b49a475 | 0 | 617 |
import { Badge } from "@/components/ui/badge";
import type { Severity } from "@/lib/analysis/types";
import { SEVERITY_BADGE_CLASS, SEVERITY_ORDER_LIST } from "@/lib/constants";
const SEVERITY_LABEL: Record<Severity, string> = {
CRITICAL: "Critical",
HIGH: "High",
MEDIUM: "Medium",
LOW: "Low",
INFO: "Info",
... | clawguard | components/report/severity-badges.tsx | TypeScript | 2851637deaf9bc898d52ed8845a7c4c5f0ab99be8e16a0bc342fd741db55fc54 | 0 | 200 |
import { Card, CardContent, CardDescription, CardHeader } from "@/components/ui/card";
import type { TeamPattern } from "@/lib/analysis/types";
interface TeamPatternsProps {
patterns: TeamPattern[];
}
export function TeamPatterns({ patterns }: TeamPatternsProps) {
if (!patterns.length) return null;
return (
... | clawguard | components/report/team-patterns.tsx | TypeScript | b260af5313d815ffc87820af8b44b6c2824bfd9fab23285e03009256df888ad8 | 0 | 312 |
"use client";
import { AttackSurfaceTable } from "@/components/report/attack-surface-table";
import { MermaidDiagram } from "@/components/report/mermaid-diagram";
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import {
Table,
TableBody,
TableCell,
TableHead,
... | clawguard | components/report/threat-model-tab.tsx | TypeScript | 09003751e99401e4ed74c2dacd4393f90266e859692aa957e78afd93d5fac1be | 0 | 896 |
(
<Card key={tb.name}>
<CardHeader className="pb-2">
<CardTitle className="text-sm">{tb.name}</CardTitle>
</CardHeader>
<CardContent className="space-y-3 pt-0">
<p className="text-sm text-muted-foreground">{tb.description}... | clawguard | components/report/threat-model-tab.tsx | TypeScript | 56fe053c7b2bb5e8608750db5ee8bb15d18f29eb7603eb35f05c8cc3920ac461 | 1 | 634 |
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
import type { ReviewVerdictResult } from "@/lib/analysis/types";
interface VerdictBannerProps {
verdict: ReviewVerdictResult;
}
export function VerdictBanner({ verdict }: VerdictBannerProps) {
const variant =
verdict.verdict === "app... | clawguard | components/report/verdict-banner.tsx | TypeScript | 3e6a1ad5a8dbd13bb8b3a57efb46323a9c07dd26164e9c9e66bba297a8141469 | 0 | 233 |
"use client";
import { SectionHeader } from "@/components/section-header";
import { siteConfig } from "@/lib/landing-config";
export function BentoSection() {
const { title, description, items } = siteConfig.bentoSection;
return (
<section
id="bento"
className="relative flex w-full scroll-mt-28 f... | clawguard | components/sections/bento-section.tsx | TypeScript | 74d3d1b0fd49f5801398062a92174ead163e25b509bbbb19dfd5b82525ff2a1d | 0 | 631 |
import { ArrowRight } from "lucide-react";
import Link from "next/link";
import { siteConfig } from "@/lib/landing-config";
export function CompanyShowcase() {
const { companyShowcase } = siteConfig;
return (
<section
id="company"
className="flex flex-col items-center justify-center gap-10 py-10 pt... | clawguard | components/sections/company-showcase.tsx | TypeScript | 657787a44881690911dc905b3806df5cc031120fed11296203cb05f0487c8e00 | 0 | 507 |
import Image from "next/image";
import Link from "next/link";
import { siteConfig } from "@/lib/landing-config";
export function CTASection() {
const { ctaSection } = siteConfig;
return (
<section id="cta" className="flex flex-col items-center justify-center w-full">
<div className="w-full">
<di... | clawguard | components/sections/cta-section.tsx | TypeScript | 89b76a659632e1873249572bde983673be8c895cbe233c900346c2ee2aa44727 | 0 | 400 |
import { SectionHeader } from "@/components/section-header";
import {
Accordion,
AccordionContent,
AccordionItem,
AccordionTrigger,
} from "@/components/ui/accordion";
import { siteConfig } from "@/lib/landing-config";
export function FAQSection() {
const { faqSection } = siteConfig;
return (
<section... | clawguard | components/sections/faq-section.tsx | TypeScript | b988dba2d9c4a11d53dd131a5ec281ec1bddd05f24bb8b53c41e868e524419fc | 0 | 405 |
import { SectionHeader } from "@/components/section-header";
import { Feature as FeatureComponent } from "@/components/ui/feature-slideshow";
import { siteConfig } from "@/lib/landing-config";
export function FeatureSection() {
const { title, description, items } = siteConfig.featureSection;
return (
<section... | clawguard | components/sections/feature-section.tsx | TypeScript | cede18a77cd9dc2544ed738d0907a3c9c19fc23d226abc1e30a2d870fc5e7319 | 0 | 248 |
"use client";
import { ChevronRightIcon } from "@radix-ui/react-icons";
import Link from "next/link";
import { ClawGuardLogo } from "@/components/logo";
import { FlickeringGrid } from "@/components/ui/flickering-grid";
import { useMediaQuery } from "@/hooks/use-media-query";
import { siteConfig } from "@/lib/landing-c... | clawguard | components/sections/footer-section.tsx | TypeScript | 092cd214f76cc592370f0674209b4a7ec6a76ccedf9cdf82a95946b71ca1e9c9 | 0 | 739 |
"use client";
import { SectionHeader } from "@/components/section-header";
import { siteConfig } from "@/lib/landing-config";
export function GrowthSection() {
const { title, description, items } = siteConfig.growthSection;
return (
<section
id="growth"
className="flex flex-col items-center justi... | clawguard | components/sections/growth-section.tsx | TypeScript | e1d1aed499e15b85fbd77284f8471d90b2ad1a2a6b2bb05364bdf584bb5876f3 | 0 | 507 |
import Link from "next/link";
import { HeroVideoSection } from "@/components/sections/hero-video-section";
import { siteConfig } from "@/lib/landing-config";
export function HeroSection() {
const { hero } = siteConfig;
return (
<section id="hero" className="relative w-full scroll-mt-28">
<div className=... | clawguard | components/sections/hero-section.tsx | TypeScript | 23f1dabf124fac364b04d944e8a7b788d9ed0962f72466b92c76ca70bb2388c5 | 0 | 727 |
import { HeroVideoDialog } from "@/components/ui/hero-video-dialog";
import { siteConfig } from "@/lib/landing-config";
export function HeroVideoSection() {
const { embedUrl, thumbnailSrc, thumbnailAlt } = siteConfig.heroVideo;
return (
<div className="relative px-6 mt-10">
<div className="relative size... | clawguard | components/sections/hero-video-section.tsx | TypeScript | 55c65cc252ca846c2804d0828eb28436cf209615aa9533f10f0417483d8f0a78 | 0 | 132 |
"use client";
import { Menu, X } from "lucide-react";
import { AnimatePresence, motion, useScroll } from "motion/react";
import Link from "next/link";
import { useEffect, useState } from "react";
import { ClawGuardLogo } from "@/components/logo";
import { ModeToggle } from "@/components/mode-toggle";
import { NavMenu ... | clawguard | components/sections/navbar.tsx | TypeScript | 03601eca65a351aa7165182ba1a23b5a29237ab0d1c2fb9b7d9aa770a4f935f4 | 0 | 896 |
items-center gap-1 md:gap-3 shrink-0">
<div className="flex items-center space-x-6">
<Link
className="landing-btn-accent h-8 hidden w-fit px-4 md:flex"
href={siteConfig.hero.cta.primary.href}
>
{siteConfig.hero.cta.prima... | clawguard | components/sections/navbar.tsx | TypeScript | 45b6fecc2b5aa1eb79690f8a4f46ef64ea57ad121d8c7f16fe8800649d92bb25 | 1 | 840 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.