Skip to content

Commit 3a0d9dc

Browse files
committed
sidemenu, docs, code of conduct and security features implemented
1 parent 2acbcde commit 3a0d9dc

File tree

12 files changed

+1281
-59
lines changed

12 files changed

+1281
-59
lines changed

CODE_OF_CONDUCT.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
6+
7+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8+
9+
## Our Standards
10+
11+
Examples of behavior that contributes to a positive environment:
12+
13+
* Demonstrating empathy and kindness toward other people
14+
* Being respectful of differing opinions, viewpoints, and experiences
15+
* Giving and gracefully accepting constructive feedback
16+
* Accepting responsibility and apologizing to those affected by our mistakes
17+
* Focusing on what is best for the overall community
18+
19+
Examples of unacceptable behavior:
20+
21+
* The use of sexualized language or imagery, and sexual attention or advances
22+
* Trolling, insulting or derogatory comments, and personal or political attacks
23+
* Public or private harassment
24+
* Publishing others' private information without explicit permission
25+
* Other conduct which could reasonably be considered inappropriate in a professional setting
26+
27+
## Enforcement Responsibilities
28+
29+
Project maintainers are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the project team. All complaints will be reviewed and investigated promptly and fairly.
38+
39+
## Enforcement Guidelines
40+
41+
Project maintainers will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
42+
43+
### 1. Correction
44+
**Impact**: Use of inappropriate language or other behavior deemed unprofessional.
45+
**Consequence**: A private, written warning, providing clarity around the nature of the violation.
46+
47+
### 2. Warning
48+
**Impact**: A violation through a single incident or series of actions.
49+
**Consequence**: A warning with consequences for continued behavior.
50+
51+
### 3. Temporary Ban
52+
**Impact**: A serious violation of community standards.
53+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community.
54+
55+
### 4. Permanent Ban
56+
**Impact**: Demonstrating a pattern of violation of community standards.
57+
**Consequence**: A permanent ban from any sort of public interaction within the community.
58+
59+
## Attribution
60+
61+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/), version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html).

SECURITY.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
Use this section to tell people about which versions of your project are currently being supported with security updates.
6+
7+
| Version | Supported |
8+
| ------- | ------------------ |
9+
| 1.0.x | :white_check_mark: |
10+
| < 1.0 | :x: |
11+
12+
## Reporting a Vulnerability
13+
14+
We take the security of our project seriously. If you discover a security vulnerability, please follow these steps:
15+
16+
1. **DO NOT** open a public issue on GitHub
17+
2. Send a detailed report to our security team at [security@yourdomain.com]
18+
3. Include the following in your report:
19+
- Type of vulnerability
20+
- Full path of source file(s) related to the vulnerability
21+
- Location of the affected source code (tag/branch/commit or direct URL)
22+
- Step-by-step instructions to reproduce the issue
23+
- Proof-of-concept or exploit code (if possible)
24+
- Impact of the vulnerability
25+
26+
## What to Expect
27+
28+
When you report a vulnerability, you can expect:
29+
30+
1. **Confirmation**: We will acknowledge receipt of your report within 48 hours
31+
2. **Updates**: We will provide regular updates about our progress
32+
3. **Resolution**: Once the vulnerability is confirmed, we will work on a fix
33+
4. **Disclosure**: We will coordinate the public disclosure of the vulnerability
34+
35+
## Security Best Practices
36+
37+
### For Contributors
38+
39+
1. **Code Review**
40+
- All code changes must go through peer review
41+
- Security-sensitive changes require additional review
42+
- Use static analysis tools to identify potential vulnerabilities
43+
44+
2. **Dependencies**
45+
- Keep all dependencies up to date
46+
- Regularly check for known vulnerabilities in dependencies
47+
- Use dependency scanning tools in CI/CD pipeline
48+
49+
3. **Authentication & Authorization**
50+
- Use secure session management
51+
- Implement proper access controls
52+
- Follow the principle of least privilege
53+
54+
4. **Data Protection**
55+
- Encrypt sensitive data in transit and at rest
56+
- Use secure hashing algorithms for passwords
57+
- Implement proper input validation and sanitization
58+
59+
### For Users
60+
61+
1. **Account Security**
62+
- Use strong, unique passwords
63+
- Enable two-factor authentication when available
64+
- Keep your access tokens secure
65+
66+
2. **API Usage**
67+
- Never share your API keys
68+
- Use environment variables for sensitive data
69+
- Rotate keys regularly
70+
71+
## Security Features
72+
73+
Our project implements several security measures:
74+
75+
1. **Authentication**
76+
- JWT-based authentication
77+
- Rate limiting
78+
- Session management
79+
80+
2. **Data Protection**
81+
- HTTPS encryption
82+
- Secure password hashing
83+
- Input validation
84+
85+
3. **Infrastructure**
86+
- Regular security updates
87+
- Automated vulnerability scanning
88+
- Secure configuration management
89+
90+
## Acknowledgments
91+
92+
We would like to thank all security researchers and contributors who help keep our project secure. Your efforts are greatly appreciated.

client/src/App.css

Lines changed: 81 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,6 @@
55
flex-direction: column;
66
}
77

8-
.floating-logo {
9-
position: fixed;
10-
top: 20px;
11-
left: 50%;
12-
transform: translateX(-50%);
13-
z-index: 1000;
14-
animation: float 3s ease-in-out infinite;
15-
}
16-
17-
.floating-logo img {
18-
width: 150px;
19-
height: auto;
20-
filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
21-
}
22-
23-
@keyframes float {
24-
0% {
25-
transform: translateX(-50%) translateY(0px);
26-
}
27-
50% {
28-
transform: translateX(-50%) translateY(-10px);
29-
}
30-
100% {
31-
transform: translateX(-50%) translateY(0px);
32-
}
33-
}
34-
358
.content {
369
flex: 1;
3710
}
@@ -43,17 +16,39 @@
4316
flex-direction: column;
4417
align-items: center;
4518
justify-content: center;
46-
color: white;
4719
padding: 2rem;
4820
text-align: center;
49-
padding-top: 120px;
5021
}
5122

52-
.App-header h1 {
53-
font-size: 4rem;
54-
margin: 0;
55-
font-family: 'Montserrat', sans-serif;
56-
font-weight: 700;
23+
.header-logo {
24+
animation: pulse 3s ease-in-out infinite;
25+
}
26+
27+
.header-logo img {
28+
width: 500px;
29+
height: auto;
30+
filter: drop-shadow(0 0 25px rgba(74, 144, 226, 0.4));
31+
transition: all 0.5s ease;
32+
}
33+
34+
.header-logo img:hover {
35+
transform: scale(1.05);
36+
filter: drop-shadow(0 0 40px rgba(74, 144, 226, 0.8));
37+
}
38+
39+
@keyframes pulse {
40+
0% {
41+
transform: scale(1);
42+
filter: brightness(1);
43+
}
44+
50% {
45+
transform: scale(1.02);
46+
filter: brightness(1.1);
47+
}
48+
100% {
49+
transform: scale(1);
50+
filter: brightness(1);
51+
}
5752
}
5853

5954
.App-header p {
@@ -104,17 +99,38 @@
10499
line-height: 1.5;
105100
}
106101

107-
@media (max-width: 768px) {
108-
.floating-logo img {
109-
width: 120px;
110-
}
102+
.code-features {
103+
margin-top: 1.5rem;
104+
padding-top: 1.5rem;
105+
border-top: 1px solid #eee;
106+
}
111107

112-
.App-header {
113-
padding-top: 100px;
114-
}
108+
.code-features ul {
109+
list-style: none;
110+
padding: 0;
111+
margin: 0;
112+
display: flex;
113+
flex-direction: column;
114+
gap: 0.75rem;
115+
}
115116

116-
.App-header h1 {
117-
font-size: 3rem;
117+
.code-features li {
118+
color: #4a90e2;
119+
font-size: 0.95rem;
120+
display: flex;
121+
align-items: center;
122+
justify-content: center;
123+
gap: 0.5rem;
124+
transition: transform 0.2s ease;
125+
}
126+
127+
.code-features li:hover {
128+
transform: translateX(5px);
129+
}
130+
131+
@media (max-width: 768px) {
132+
.header-logo img {
133+
width: 320px;
118134
}
119135

120136
.App-header p {
@@ -124,4 +140,26 @@
124140
.domain-grid {
125141
padding: 2rem 1rem;
126142
}
143+
144+
.code-features li {
145+
font-size: 0.9rem;
146+
}
147+
}
148+
149+
.menu-toggle {
150+
position: fixed;
151+
top: 1rem;
152+
left: 1rem;
153+
background: none;
154+
border: none;
155+
font-size: 1.5rem;
156+
cursor: pointer;
157+
color: #fff;
158+
padding: 0.5rem;
159+
z-index: 999;
160+
transition: transform 0.3s ease;
161+
}
162+
163+
.menu-toggle:hover {
164+
transform: scale(1.1);
127165
}

0 commit comments

Comments
 (0)