Files
Snigdha-OS.github.io/assets/Home-D-xY6pP5.js
eshanized 31ac28e03d Updates
2025-01-01 11:21:57 +05:30

32 lines
15 KiB
JavaScript

import{c as o,j as e,L as c,D as j,a as N,r as m}from"../script.js";import{m as r}from"./proxy-D4owT0uO.js";import{U as h}from"./users-BmJA6T-g.js";import{S as u}from"./star-DBf-izIT.js";import{G as k,S as y,W as S}from"./wifi-BFpP70R6.js";import{T as f}from"./terminal-XxSrqEZA.js";/**
* @license lucide-react v0.344.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const p=o("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
* @license lucide-react v0.344.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const z=o("Cpu",[["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"9",y:"9",width:"6",height:"6",key:"o3kz5p"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
* @license lucide-react v0.344.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const T=o("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
* @license lucide-react v0.344.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const M=o("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
* @license lucide-react v0.344.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const D=o("Quote",[["path",{d:"M3 21c3 0 7-1 7-8V5c0-1.25-.756-2.017-2-2H4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .008-1 1.031V20c0 1 0 1 1 1z",key:"4rm80e"}],["path",{d:"M15 21c3 0 7-1 7-8V5c0-1.25-.757-2.017-2-2h-4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z",key:"10za9r"}]]);/**
* @license lucide-react v0.344.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const g=o("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);function C(){return e.jsxs("section",{className:"relative min-h-[90vh] flex items-center overflow-hidden bg-gradient-to-r from-gray-900 to-gray-800",children:[e.jsx("div",{className:"absolute inset-0 bg-[url('https://cdn.pixabay.com/photo/2022/05/29/04/35/trails-7228378_1280.jpg?auto=format&fit=crop&q=80')] bg-cover bg-center opacity-15"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent to-gray-900/50"}),e.jsx("div",{className:"relative mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:e.jsxs(r.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,ease:"easeOut"},className:"text-center",children:[e.jsx(r.div,{animate:{rotate:[0,5,-5,0],scale:[1,1.1,1]},transition:{duration:2,repeat:1/0,repeatDelay:3},children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",className:"mx-auto h-20 w-20 text-cornflower-blue",viewBox:"0 0 256 256",width:"24",height:"24","aria-hidden":"true",children:[e.jsx("path",{fill:"#6495ed",fillRule:"evenodd",d:"m112.8 111.5q25.7 27 1.7 53.9-21.4 20.9-41.9 22.9c8.6-7.4 11-19.8 5.8-29.9q-26.1-27.2-39.2-47.7-15.1-39.6 40.9-53.8 9.4-15.5 91.4-55.6c15.4-4.4 31.8 2.8 38.9 17.2 7 14.4 2.8 31.8-10.2 41.3l-112.8 7.1q-1.9 20.7 25.4 44.6zm-35.5-43.4c-11.4 3.4-26.3 9.6-30.2 20.4-2 5.8-0.9 12.1 1.1 17.7 10.5 16.1 24.2 31.5 37.5 45.3l1 1.1 0.7 1.3c2.8 5.5 4 11.5 3.7 17.4 6-3.7 11.4-8.2 16.2-12.8 12.4-14.2 11.3-26.2-1.5-39.8-14.4-12.7-29.3-30.2-28.5-50.6zm124.1-45.1c-4.8-9.8-15.8-14.9-26.4-12.3-20.9 10.3-42.3 21.1-62.1 33.2-3.7 2.2-12.5 7.7-18.6 12.5l102.1-6.4c7.4-6.8 9.5-17.8 5-27z"}),e.jsx("path",{fill:"#6495ed",fillRule:"evenodd",d:"m143.8 144.3q-25.7-26.9-1.8-53.9 21.5-20.8 42-22.8c-8.6 7.4-11 19.7-5.9 29.8q26.2 27.2 39.3 47.8 15 39.6-40.9 53.7-9.4 15.5-91.5 55.7c-15.4 4.4-31.7-2.9-38.8-17.3-7-14.4-2.8-31.7 10.1-41.3l112.8-7.1q2-20.7-25.3-44.6zm35.5 43.5c11.4-3.4 26.3-9.6 30.2-20.5 2-5.7 0.9-12-1.2-17.6-10.4-16.1-24.2-31.5-37.4-45.4l-1.1-1-0.6-1.3c-2.8-5.5-4-11.5-3.8-17.4-5.9 3.6-11.4 8.2-16.1 12.8-12.5 14.1-11.3 26.2 1.4 39.7 14.5 12.7 29.4 30.3 28.6 50.7zm-124.1 45.1c4.8 9.7 15.8 14.8 26.3 12.2 20.9-10.2 42.3-21 62.2-33.1 3.7-2.2 12.5-7.7 18.5-12.6l-102 6.5c-7.4 6.8-9.5 17.8-5 27z"})]})}),e.jsxs(r.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"mt-6 text-4xl font-bold tracking-tight text-white sm:text-6xl",children:[e.jsx("span",{className:"text-cornflower-blue",children:" ~"})," Be",e.jsx("span",{className:"text-cornflower-blue",children:" Silent! "}),e.jsx("br",{}),"When It Is Time To",e.jsx("span",{className:"text-cornflower-blue",children:" Hear. "})]}),e.jsxs(r.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.6},className:"mt-6 text-lg leading-8 text-gray-300 max-w-2xl mx-auto text-justify",children:["~ ",e.jsx("b",{className:"text-cornflower-blue",children:"Snigdha OS"})," revolutionizes penetration testing with a user-friendly suite of tools, improving accuracy, speed, and performance. Whether you're a beginner or an expert, Snigdha OS simplifies complex testing processes and enhances security assessments."]}),e.jsxs(r.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.9},className:"mt-10 flex items-center justify-center gap-x-6",children:[e.jsxs(c,{to:"/download",className:"group relative rounded-[5px] bg-cornflower-blue px-8 py-3 text-sm font-semibold text-white shadow-lg hover:bg-blue-600 transition-colors overflow-hidden",children:[e.jsxs("span",{className:"relative flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4"}),"Download Now"]}),e.jsx("div",{className:"absolute inset-0 bg-white/20 transform -skew-x-12 -translate-x-full group-hover:translate-x-full transition-transform duration-700"})]}),e.jsxs(c,{to:"/features",className:"text-sm font-semibold leading-6 text-white flex items-center group","aria-label":"User Documentation",children:["User Docs",e.jsx(p,{className:"ml-1 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]}),e.jsxs(c,{to:"/features",className:"text-sm font-semibold leading-6 text-white flex items-center group","aria-label":"Developer Documentation",children:["Dev Docs",e.jsx(p,{className:"ml-1 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})]})]})})]})}function V({title:t,description:a,icon:i,delay:s=0}){return e.jsxs(r.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:s},viewport:{once:!0},whileHover:{y:-8},className:"relative group",children:[e.jsxs("div",{className:N("relative z-10 rounded-xl bg-white/80 backdrop-blur-md p-6 ring-1 ring-gray-200 shadow-lg transition-all duration-300 hover:shadow-xl hover:ring-cornflower-blue overflow-hidden","flex flex-col items-center justify-center transform group-hover:scale-105"),role:"presentation",children:[e.jsx("div",{className:"absolute inset-0 z-0 bg-gradient-to-tr from-transparent to-cornflower-blue/10 group-hover:to-cornflower-blue/30 transition-all duration-500"}),e.jsx("div",{className:"relative mb-4 flex justify-center items-center",children:e.jsx(i,{className:"h-14 w-14 text-cornflower-blue transition-transform duration-300 group-hover:scale-110 group-hover:rotate-6","aria-hidden":"true"})}),e.jsx("h3",{className:"text-xl font-bold text-gray-800 mb-2 text-center capitalize leading-snug tracking-wide",children:t}),e.jsx("p",{className:"text-base text-gray-600 text-center px-6",children:a})]}),e.jsx("div",{className:"absolute -inset-1 bg-gradient-to-br from-cornflower-blue/10 to-transparent rounded-xl blur-md opacity-0 group-hover:opacity-100 transition-opacity duration-500","aria-hidden":"true"})]})}function H(){const[t,a]=m.useState([{label:"Active Users",value:"Loading...",icon:h},{label:"Security Tools",value:"Loading...",icon:g},{label:"GitHub Stars",value:"Loading...",icon:u}]),i=async s=>{try{const n=await(await fetch(`https://api.github.com/users/${s}`)).json(),x=await(await fetch(n.repos_url)).json(),b=x.reduce((w,v)=>w+v.stargazers_count,0);a([{label:"Followers",value:`${n.followers}`,icon:h},{label:"Repositories",value:`${x.length}`,icon:g},{label:"Stars",value:`${b}`,icon:u}])}catch(l){console.error("Error fetching GitHub data:",l),a(n=>n.map(d=>({...d,value:"N/A"})))}};return m.useEffect(()=>{i("Snigdha-OS")},[]),e.jsx("section",{className:"py-20 bg-gradient-to-b from-white to-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-4xl font-bold text-gray-900",children:"Our Impact"}),e.jsx("p",{className:"mt-4 text-lg text-gray-600",children:"A snapshot of our growing community and contributions."})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:t.map((s,l)=>e.jsxs(r.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:l*.2,duration:.6},viewport:{once:!0},className:"flex flex-col items-center p-6 bg-white rounded-xl shadow-lg hover:shadow-xl transition-shadow duration-300",children:[e.jsx(r.div,{className:"p-4 bg-gradient-to-r from-cornflower-blue/10 to-cornflower-blue/30 rounded-full mb-6",whileHover:{scale:1.1},transition:{duration:.3},children:e.jsx(s.icon,{className:"h-10 w-10 text-cornflower-blue"})}),e.jsx(r.p,{initial:{scale:.8},whileInView:{scale:1},transition:{delay:l*.2+.2},viewport:{once:!0},className:"text-4xl font-extrabold text-gray-900",children:s.value}),e.jsx("p",{className:"text-lg font-medium text-gray-600",children:s.label})]},s.label))})]})})}const I=[{name:"Network Analysis",icon:k,color:"text-blue-500"},{name:"Penetration Testing",icon:y,color:"text-green-500"},{name:"Wireless Security",icon:S,color:"text-purple-500"},{name:"Cryptography",icon:M,color:"text-red-500"},{name:"Forensics",icon:T,color:"text-yellow-500"},{name:"Exploitation",icon:f,color:"text-pink-500"}];function q(){return e.jsx("section",{className:"py-20 bg-gradient-to-b from-gray-50 to-gray-100",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-4xl font-extrabold text-gray-900",children:"Security Tools Suite"}),e.jsx("p",{className:"mt-4 text-lg text-gray-600",children:"A comprehensive toolkit tailored for security professionals."})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-3 gap-8",children:I.map((t,a)=>e.jsxs(r.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{delay:a*.1,duration:.6,ease:"easeOut"},whileHover:{scale:1.08,boxShadow:"0 15px 30px rgba(0, 0, 0, 0.15)"},className:"flex flex-col items-center p-8 bg-white rounded-xl shadow-md hover:shadow-xl transition-transform duration-300",children:[e.jsx("div",{className:"p-4 bg-gradient-to-br from-cornflower-blue/10 to-cornflower-blue/30 rounded-full shadow-inner mb-6",children:e.jsx(t.icon,{className:`h-14 w-14 ${t.color} transition-all`})}),e.jsx("h3",{className:"text-xl font-semibold text-gray-800",children:t.name})]},t.name))})]})})}function R({content:t,author:a,role:i,delay:s=0}){return e.jsxs(r.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:s,duration:.6,ease:"easeOut"},whileHover:{scale:1.05,boxShadow:"0 12px 24px rgba(0, 0, 0, 0.15)"},className:"relative bg-white rounded-xl shadow-lg p-8 transition-transform duration-300 group",children:[e.jsx("div",{className:"absolute -top-4 -right-4 bg-cornflower-blue/10 p-3 rounded-full",children:e.jsx(D,{className:"h-10 w-10 text-cornflower-blue/40 group-hover:scale-110 transition-transform duration-300"})}),e.jsxs("p",{className:"text-gray-600 text-lg leading-relaxed mb-6",children:[e.jsx("span",{className:"italic text-cornflower-blue/80 font-medium",children:"“"}),t,e.jsx("span",{className:"italic text-cornflower-blue/80 font-medium",children:"”"})]}),e.jsxs("div",{className:"flex flex-col items-start",children:[e.jsx("p",{className:"text-gray-900 font-semibold text-lg",children:a}),e.jsx("p",{className:"text-sm text-gray-500",children:i})]}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-cornflower-blue/5 via-cornflower-blue/10 to-cornflower-blue/20 opacity-0 group-hover:opacity-100 transition-opacity duration-300 blur-lg"})]})}const A=[{content:"Snigdha OS has revolutionized our security testing workflow. The tools and interface are exceptional.",author:"Sarah Chen",role:"Security Engineer at TechCorp"},{content:"The best security-focused distribution I've used. Regular updates and great community support.",author:"Michael Rodriguez",role:"Penetration Tester"},{content:"Perfect for both beginners and advanced users. The documentation is comprehensive and helpful.",author:"Emma Thompson",role:"Cybersecurity Consultant"}],E=[{title:"Advanced Security Tools",description:"Access over 600 pre-installed security and penetration testing tools, ready to use out of the box.",icon:y},{title:"Powerful Terminal",description:"Enhanced command-line interface with custom tools and utilities for efficient security testing.",icon:f},{title:"Hardware Compatibility",description:"Optimized for various hardware configurations with excellent driver support.",icon:z}];function $(){return e.jsxs("div",{className:"bg-gray-50",children:[e.jsx(C,{}),e.jsx("section",{className:"py-20 bg-gradient-to-b from-gray-900 to-gray-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-16",children:[e.jsx("h2",{className:"text-3xl font-bold text-white sm:text-4xl",children:"Powerful Features"}),e.jsx("p",{className:"mt-4 text-lg text-gray-300",children:"Everything you need for professional security testing"})]}),e.jsx("div",{className:"grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:E.map((t,a)=>e.jsx(V,{...t,delay:a*.2},t.title))})]})}),e.jsx(q,{}),e.jsx("section",{className:"py-20 bg-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900",children:"What Users Say"}),e.jsx("p",{className:"mt-4 text-lg text-gray-600",children:"Trusted by security professionals worldwide"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:A.map((t,a)=>e.jsx(R,{...t,delay:a*.2},t.author))})]})}),e.jsx(H,{})]})}export{$ as default};