Skip to content

Commit d991dd3

Browse files
authored
Merge branch 'recodehive:main' into revert-fixes
2 parents ca367a4 + 9b30349 commit d991dd3

File tree

3 files changed

+44
-17
lines changed

3 files changed

+44
-17
lines changed

community/contributing-guidelines.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ sidebar_position: 2
2121
1. **Clone the repository:**
2222

2323
```bash
24-
git clone https://github.com/your-username/recodehive-website.git
24+
git clone https://github.com/your-username/recode-website.git
2525
```
2626

2727
2. **Navigate to the project directory:**
2828

2929
```bash
30-
cd recodehive-website
30+
cd recode-website
3131
```
3232

3333
3. **Install dependencies:**
@@ -97,16 +97,16 @@ We welcome contributions! Follow these steps to get started.
9797
2. **Clone Your Fork Locally**
9898

9999
```bash
100-
git clone https://github.com/your-username/recodehive-website.git
101-
cd recodehive-website
100+
git clone https://github.com/your-username/recode-website.git
101+
cd recode-website
102102
```
103103

104104
3. **Add the Original Repository as Upstream**
105105

106106
This allows you to fetch changes from the main repository to keep your fork up to date.
107107

108108
```bash
109-
git remote add upstream <repo-url>
109+
git remote add upstream https://github.com/recodehive/recode-website.git
110110
```
111111

112112
Verify the remotes:
@@ -165,19 +165,19 @@ We welcome contributions! Follow these steps to get started.
165165

166166
To ensure consistent code style and catch errors before committing, please follow these steps:
167167

168-
2. **Automatically fix linting issues where possible**:
168+
1. **Automatically fix linting issues where possible**:
169169

170170
```bash
171171
npm run lint:fix
172172
```
173173

174-
3. **Format code according to project conventions**:
174+
2. **Format code according to project conventions**:
175175

176176
```bash
177177
npm run format
178178
```
179179

180-
4. **Build the project to verify everything compiles correctly**:
180+
3. **Build the project to verify everything compiles correctly**:
181181

182182
```bash
183183
npm run build

src/components/faqs/faqs.tsx

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,30 @@ const FAQs: React.FC = () => {
5353

5454
return (
5555
<section
56-
className={`py-8 transition-colors duration-300 ${
57-
isDark ? "bg-[#121212]" : "bg-gray-50"
58-
}`}
56+
className="relative overflow-hidden py-8 transition-all duration-300"
57+
style={{
58+
background: isDark
59+
? "linear-gradient(to bottom, #0a0a0a 0%, #0f0f1e 30%, #1a1a2e 60%, #1e1635 85%, #2d1b4e 100%)"
60+
: "linear-gradient(to bottom, #f9fafb 0%, #f3f4f6 30%, #e5e7eb 60%, #ddd6fe 85%, #ede9fe 100%)",
61+
border: "none",
62+
borderTop: "none",
63+
boxShadow: "none",
64+
outline: "none",
65+
margin: "0",
66+
padding: "2rem 0",
67+
}}
5968
>
6069
<div className="mx-auto px-2 sm:px-4 lg:px-6">
6170
<div className="flex flex-col items-center justify-center gap-x-8 gap-y-12 lg:flex-row lg:justify-between xl:gap-28">
6271
<div className="w-full">
6372
<div className="mb-8 lg:mb-16">
64-
<h6 className="mb-2 text-center text-lg font-medium text-indigo-600 lg:text-left">
73+
<h6
74+
className="mb-2 text-center text-lg font-medium lg:text-left"
75+
style={{
76+
color: isDark ? "#a78bfa" : "#8b5cf6",
77+
fontWeight: 600,
78+
}}
79+
>
6580
FAQs
6681
</h6>
6782
<h2
@@ -91,11 +106,20 @@ const FAQs: React.FC = () => {
91106
transition={{ duration: 0.3 }}
92107
>
93108
<button
94-
className={`accordion-toggle group flex w-full cursor-pointer items-center justify-between text-lg font-medium transition-all duration-300 ${
109+
className={`accordion-toggle group flex w-full cursor-pointer items-center justify-between rounded-lg p-4 text-lg font-medium transition-all duration-300 focus:outline-none ${
95110
isDark
96-
? "bg-gray-800 text-gray-200 hover:text-indigo-400"
97-
: "bg-gray-100 text-gray-700 hover:text-indigo-600"
98-
} rounded-lg p-4 focus:outline-none`}
111+
? "text-gray-200 hover:text-indigo-400"
112+
: "text-gray-700 hover:text-indigo-600"
113+
}`}
114+
style={{
115+
background: isDark
116+
? "rgba(30, 27, 75, 0.6)"
117+
: "rgba(237, 233, 254, 0.6)",
118+
border: isDark
119+
? "1px solid rgba(139, 92, 246, 0.2)"
120+
: "1px solid rgba(139, 92, 246, 0.3)",
121+
backdropFilter: "blur(10px)",
122+
}}
99123
onClick={() => toggleAccordion(index)}
100124
>
101125
{faq.question}

src/pages/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,10 @@ export default function Home(): ReactNode {
104104
</CommunityStatsProvider>
105105
</div>
106106

107-
<div className="m-4">
107+
<div
108+
className="m-0"
109+
style={{ border: "none", boxShadow: "none", outline: "none" }}
110+
>
108111
<FAQs />
109112
</div>
110113
</main>

0 commit comments

Comments
 (0)