Skip to content

Commit 985f63e

Browse files
committed
changes
1 parent 2917665 commit 985f63e

10 files changed

+216
-37
lines changed

package-lock.json

+131
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13+
"@fortawesome/free-brands-svg-icons": "^6.6.0",
1314
"@fortawesome/free-solid-svg-icons": "^6.6.0",
1415
"@fortawesome/react-fontawesome": "^0.2.2",
1516
"autoprefixer": "^10.4.20",
@@ -20,6 +21,7 @@
2021
"react-bootstrap": "^2.10.4",
2122
"react-dom": "^18.3.1",
2223
"react-router-dom": "^6.26.1",
24+
"styled-components": "^6.1.13",
2325
"tailwindcss": "^3.4.10"
2426
},
2527
"devDependencies": {

public/logo.jpg

168 KB
Loading

src/components/About.jsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import Working from './Working';
66
export default function About() {
77
return (
88
<>
9-
<div className='w-full bg-black py-10'>
9+
<div className='w-full bg-black py-10 pb-10'>
1010
<div className='w-10/12 mx-auto text-white'>
11-
<div id="about" className='capitalize font-white text-5xl md:text-6xl inline-block text-center mb-10'>
11+
<div id="about" className='capitalize font-white text-5xl md:text-6xl inline-block text-center mb-10 neon-green'>
1212
About
1313
</div>
1414
<div className='gap-y-10 text-sm md:text-base'>
@@ -20,8 +20,9 @@ export default function About() {
2020
</p>
2121
</div>
2222
</div>
23+
<Working/>
2324
</div>
24-
<Working/>
25+
2526
</>
2627
);
2728
}

src/components/Features.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import { faShieldAlt, faServer, faLock, faExclamationTriangle, faBan, faBalanceS
55
export default function Theme() {
66

77
const product = [
8-
{ title: 'Block Excess Ports', description: '',icon: faShieldAlt },
8+
{ title: 'Block Excess Ports', description: 'It blocks excess ports.',icon: faShieldAlt },
99
{ title: 'NGINX configuration', description: 'Open-source web server software used for reverse proxy, load balancing, and caching.', icon: faServer },
1010
{ title: 'DDos Protection', description: ' Filter out attack traffic to prevent it from reaching the intended targeted asset. ', icon: faLock },
1111
{ title: 'Anomaly Detection', description: 'It is the identification of unexpected events, observations, or items that differ significantly from the norm.', icon: faExclamationTriangle },
1212
{ title: 'IP Blacklisting', description: 'IP blacklisting is a method used to filter out illegitimate or malicious IP addresses from accessing your networks.', icon: faBan },
1313
{ title: 'Rate Binding', description: 'Commitment not to increase a rate of duty beyond an agreed level.', icon: faBalanceScale },
1414
{ title: 'Traffic Monitoring', description: 'Method of studying the incoming and outgoing traffic on a computer network via specialized hardware and/or software', icon: faTrafficLight },
15-
{ title: 'Visualizer', description: '', icon: faChartLine },
15+
{ title: 'Visualizer', description: 'It gives graph of how many times an IP has made requests in a minute. It also shows block listed IPs.', icon: faChartLine },
1616

1717
];
1818

@@ -21,7 +21,7 @@ export default function Theme() {
2121
<div id="product" className='abosule inset-0 bg-gradient-to-r from-[rgba(0,0,0,0.7)] to-[rgba(0,0,0,0.7)]'>
2222
<div className='w-10/12 mx-auto'>
2323
<div className='capitalize font-white text-5xl md:text-6xl inline-block text-center mb-10'>
24-
<h3 className='text-white'>Features</h3>
24+
<h3 className='text-white neon-green'>Features</h3>
2525
</div>
2626
<div className='grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mx-auto'>
2727
{product.map((product, index) => (

src/components/Footer.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import React from 'react';
22

33
const Footer = () => (
44
<footer className="footer" id="contact">
5-
<div>Contact us: [email protected]</div>
6-
<div>Follow us on social media links</div>
5+
<div ><h1 className="text-white bg-gray-800 p-4 shadow-lg rounded-lg transition-all shadow-white hover:scale-105">Made by Team CyberSentinels</h1></div>
6+
<div></div>
77
</footer>
88
);
99

src/components/Working.jsx

+51-14
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,78 @@
11
import React from 'react';
22
import { motion } from 'framer-motion';
3+
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
4+
import { faGlobe, faShieldAlt, faSearch, faFilter } from '@fortawesome/free-solid-svg-icons';
5+
import styled from 'styled-components';
6+
7+
// Styled component for the dotted line
8+
const DottedLine = styled(motion.div)`
9+
width: 100px;
10+
height: 2px;
11+
background: repeating-linear-gradient(
12+
90deg,
13+
yellow,
14+
yellow 5px,
15+
transparent 5px,
16+
transparent 10px
17+
);
18+
animation: dash 2s linear infinite;
19+
margin: 0 10px;
20+
21+
@keyframes dash {
22+
to {
23+
background-position: 100%;
24+
}
25+
}
26+
`;
27+
28+
const IconWrapper = styled(motion.div)`
29+
display: flex;
30+
flex-direction: column;
31+
align-items: center;
32+
`;
333

434
const Working = () => {
535
return (
636
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center' }}>
7-
<motion.div
37+
<IconWrapper
838
initial={{ opacity: 0, x: -100 }}
939
animate={{ opacity: 1, x: 0 }}
1040
transition={{ duration: 1 }}
1141
>
12-
<img src="internet-icon.svg" alt="Internet" />
13-
</motion.div>
14-
<motion.div
42+
<FontAwesomeIcon icon={faGlobe} size="3x" alt="Internet" /> Internet
43+
</IconWrapper>
44+
45+
<DottedLine />
46+
47+
<IconWrapper
1548
initial={{ opacity: 0, x: -100 }}
1649
animate={{ opacity: 1, x: 0 }}
1750
transition={{ duration: 1, delay: 1 }}
1851
>
19-
<img src="router-icon.svg" alt="Securing" />
20-
</motion.div>
21-
<motion.div
52+
<FontAwesomeIcon icon={faShieldAlt} size="3x" alt="Security" />Security
53+
</IconWrapper>
54+
55+
<DottedLine />
56+
57+
<IconWrapper
2258
initial={{ opacity: 0, x: -100 }}
2359
animate={{ opacity: 1, x: 0 }}
2460
transition={{ duration: 1, delay: 2 }}
2561
>
26-
<img src="router-icon.svg" alt="Detection" />
27-
</motion.div>
28-
<motion.div
62+
<FontAwesomeIcon icon={faSearch} size="3x" alt="Detection" /> Detection
63+
</IconWrapper>
64+
65+
<DottedLine />
66+
67+
<IconWrapper
2968
initial={{ opacity: 0, x: -100 }}
3069
animate={{ opacity: 1, x: 0 }}
3170
transition={{ duration: 1, delay: 3 }}
3271
>
33-
<img src="router-icon.svg" alt="Filtering" />
34-
</motion.div>
35-
{/* Add more animations for the remaining components */}
72+
<FontAwesomeIcon icon={faFilter} size="3x" alt="Filtering" /> Filtering
73+
</IconWrapper>
3674
</div>
3775
);
3876
};
3977

4078
export default Working;
41-

src/index.css

+5-10
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,9 @@ body {
162162
background: #e0e0e0;
163163
}
164164

165-
.dotted-line {
166-
stroke-dasharray: 5, 5;
167-
animation: dash 5s linear infinite;
168-
}
169-
170-
@keyframes dash {
171-
to {
172-
stroke-dashoffset: 1000;
165+
@layer utilities {
166+
.neon-green {
167+
color: #39FF14; /* Neon green color */
168+
text-shadow: 0 0 5px #39FF14, 0 0 5px #39FF14, 0 0 20px #39FF14, 0 0 40px #39FF14;
173169
}
174-
}
175-
170+
}

0 commit comments

Comments
 (0)