Files
Snigdha-OS.github.io/assets/Home-DrqD6QP2.js
eshanized 348e7fe61f Updates
2025-01-09 20:04:01 +05:30

32 lines
16 KiB
JavaScript

import{c as i,j as e,L as x,D as k,a as S,r as m}from"../script.js";import{m as a}from"./proxy-CzE6vpZy.js";import{U as u}from"./users-BmJA6T-g.js";import{S as g}from"./star-DBf-izIT.js";import{G as z,W as V}from"./wifi-B6l3gpzm.js";import{S as b}from"./shield-CO1ZxyRH.js";import{T as w}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 y=i("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 M=i("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 D=i("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 H=i("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 I=i("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 f=i("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 T(){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(a.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,ease:"easeOut"},className:"text-center",children:[e.jsx(a.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(a.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(a.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(a.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(x,{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(k,{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(x,{to:"/features",className:"text-sm font-semibold leading-6 text-white flex items-center group","aria-label":"User Documentation",children:["User Docs",e.jsx(y,{className:"ml-1 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]}),e.jsxs(x,{to:"/features",className:"text-sm font-semibold leading-6 text-white flex items-center group","aria-label":"Developer Documentation",children:["Dev Docs",e.jsx(y,{className:"ml-1 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})]})]})})]})}function q({title:t,description:s,icon:o,delay:l=0}){return e.jsxs(a.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:l},viewport:{once:!0},whileHover:{y:-8},className:"relative group",children:[e.jsxs("div",{className:S("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(o,{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:s})]}),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 C(){const[t,s]=m.useState([{label:"Active Users",value:"Loading...",icon:u},{label:"Security Tools",value:"Loading...",icon:f},{label:"GitHub Stars",value:"Loading...",icon:g}]),[o,l]=m.useState(!1),v=async r=>{try{const j=await(await fetch(`https://api.github.com/users/${r}`)).json(),d=[];let h=1;for(;;){const c=await(await fetch(`https://api.github.com/users/${r}/repos?per_page=100&page=${h}`)).json();if(c.length===0)break;d.push(...c),h++}const N=d.reduce((p,c)=>p+c.stargazers_count,0);s([{label:"Followers",value:`${j.followers}`,icon:u},{label:"Repositories",value:`${d.length}`,icon:f},{label:"Stars",value:`${N}`,icon:g}])}catch(n){console.error("Error fetching GitHub data:",n),l(!0)}};return m.useEffect(()=>{v("Snigdha-OS")},[]),e.jsx("section",{className:"py-20 bg-gradient-to-b from-gray-50 via-gray-100 to-gray-200",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(a.h2,{className:"text-5xl font-extrabold text-gray-900",initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},transition:{duration:.8},children:"Our Impact"}),e.jsx(a.p,{className:"mt-4 text-lg text-gray-600",initial:{opacity:0},whileInView:{opacity:1},transition:{duration:1,delay:.2},children:"A snapshot of our growing community and contributions."})]}),o?e.jsx("div",{className:"text-center text-red-500 font-medium",children:"Unable to fetch data. Please try again later."}):e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-12",children:t.map((r,n)=>e.jsxs(a.div,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},transition:{delay:n*.2,duration:.6,ease:"easeOut"},whileHover:{scale:1.1,boxShadow:"0px 20px 40px rgba(0, 0, 0, 0.2)"},className:"flex flex-col items-center p-8 bg-white rounded-xl shadow-lg hover:shadow-2xl transition-transform duration-300",children:[e.jsx(a.div,{className:"p-4 bg-gradient-to-r from-blue-400 to-purple-400 rounded-full mb-6",whileHover:{rotate:360},transition:{duration:.8},children:e.jsx(r.icon,{className:"h-12 w-12 text-white"})}),e.jsx(a.p,{className:"text-4xl font-extrabold text-gray-900",initial:{scale:.9},whileInView:{scale:1},transition:{delay:n*.2+.2,duration:.6},children:r.value}),e.jsx("p",{className:"mt-2 text-lg font-medium text-gray-600",children:r.label})]},r.label))})]})})}const E=[{name:"Network Analysis",icon:z,color:"from-blue-500 to-blue-400"},{name:"Penetration Testing",icon:b,color:"from-green-500 to-green-400"},{name:"Wireless Security",icon:V,color:"from-purple-500 to-purple-400"},{name:"Cryptography",icon:H,color:"from-red-500 to-red-400"},{name:"Forensics",icon:D,color:"from-yellow-500 to-yellow-400"},{name:"Exploitation",icon:w,color:"from-pink-500 to-pink-400"}];function R(){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-16",children:[e.jsx("h2",{className:"text-5xl 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. Explore our powerful tools designed to safeguard and analyze your digital presence."})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-3 gap-12",children:E.map((t,s)=>e.jsxs(a.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{delay:s*.1,duration:.6,ease:"easeOut"},whileHover:{scale:1.1,rotate:1,boxShadow:"0 30px 60px rgba(0, 0, 0, 0.3)"},className:"flex flex-col items-center p-8 bg-white rounded-2xl shadow-lg hover:shadow-2xl transition-transform duration-300","aria-label":t.name,children:[e.jsx("div",{className:`p-6 rounded-full bg-gradient-to-br ${t.color} shadow-lg mb-6 transform transition-transform`,children:e.jsx(t.icon,{className:"h-14 w-14 text-white"})}),e.jsx("h3",{className:"text-2xl font-bold text-gray-800 text-center",children:t.name}),e.jsxs("p",{className:"mt-2 text-gray-500 text-center text-sm",children:["Explore cutting-edge features for ",t.name.toLowerCase(),"."]})]},t.name))})]})})}function L({content:t,author:s,role:o,delay:l=0}){return e.jsxs(a.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:l,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(I,{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:s}),e.jsx("p",{className:"text-sm text-gray-500",children:o})]}),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 O=[{content:"स्निग्धा ओएस ने हमारे सुरक्षा परीक्षण के तरीके को पूरी तरह से बदल दिया है। टूल्स और उपयोगकर्ता-अनुकूल इंटरफेस शानदार हैं।",author:"राजेश कुमार",role:"सुरक्षा इंजीनियर, इंफोसेक्योर टेक"},{content:"एक बेजोड़ सुरक्षा-केंद्रित डिस्ट्रीब्यूशन। नियमित अपडेट और जीवंत समुदाय इसे उपयोग करने का आनंद बनाते हैं।",author:"अंजलि शर्मा",role:"पेनिट्रेशन टेस्टर"},{content:"साइबर सुरक्षा के क्षेत्र में शुरुआती और पेशेवर दोनों के लिए आदर्श। व्यापक दस्तावेज़ीकरण एक बेहतरीन संसाधन है।",author:"विक्रम अय्यर",role:"साइबर सुरक्षा सलाहकार"}],A=[{title:"Advanced Security Tools",description:"Access over 600 pre-installed security and penetration testing tools, ready to use out of the box.",icon:b},{title:"Powerful Terminal",description:"Enhanced command-line interface with custom tools and utilities for efficient security testing.",icon:w},{title:"Hardware Compatibility",description:"Optimized for various hardware configurations with excellent driver support.",icon:M}];function B(){return e.jsxs("div",{className:"bg-gray-50",children:[e.jsx(T,{}),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:A.map((t,s)=>e.jsx(q,{...t,delay:s*.2},t.title))})]})}),e.jsx(R,{}),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:O.map((t,s)=>e.jsx(L,{...t,delay:s*.2},t.author))})]})}),e.jsx(C,{})]})}export{B as default};