Skip to content

Commit c64e6b5

Browse files
authored
Merge pull request #270 from Richajaishwal0/community
Enhanced the UI for community page
2 parents 1da17fd + 3e24ed7 commit c64e6b5

File tree

5 files changed

+1220
-14
lines changed

5 files changed

+1220
-14
lines changed

docusaurus.config.ts

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -276,19 +276,20 @@ const config: Config = {
276276
disableInDev: false,
277277
},
278278
],
279-
[
280-
"@docusaurus/plugin-content-docs",
281-
{
282-
id: "community",
283-
path: "community",
284-
routeBasePath: "community",
285-
sidebarPath: require.resolve("./sidebarsCommunity.js"),
286-
remarkPlugins: [remarkMath],
287-
rehypePlugins: [rehypeKatex],
288-
showLastUpdateAuthor: true,
289-
showLastUpdateTime: true,
290-
},
291-
],
279+
// Commented out to use TSX-based community page instead
280+
// [
281+
// "@docusaurus/plugin-content-docs",
282+
// {
283+
// id: "community",
284+
// path: "community",
285+
// routeBasePath: "community",
286+
// sidebarPath: require.resolve("./sidebarsCommunity.js"),
287+
// remarkPlugins: [remarkMath],
288+
// rehypePlugins: [rehypeKatex],
289+
// showLastUpdateAuthor: true,
290+
// showLastUpdateTime: true,
291+
// },
292+
// ],
292293
],
293294
// scripts: [],
294295
};

src/pages/community/README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Community Page Implementation
2+
3+
## Overview
4+
This directory contains the new TSX-based community page that replaces the previous markdown-based implementation.
5+
6+
## Files
7+
- `index.tsx` - Main React component for the community page
8+
- `community.css` - Styling for the community page
9+
- `README.md` - This documentation file
10+
11+
## Features
12+
- **Interactive Navigation**: Sidebar navigation with smooth animations
13+
- **Modern Design**: Gradient backgrounds, hover effects, and professional styling
14+
- **Responsive Layout**: Works on desktop, tablet, and mobile devices
15+
- **Smooth Animations**: Framer Motion animations for enhanced user experience
16+
- **Accessible**: Proper ARIA labels and keyboard navigation support
17+
18+
## Design Elements
19+
- **Color Scheme**: Blue/purple gradient theme matching the design requirements
20+
- **Typography**: Inter font family with proper hierarchy
21+
- **Grid System**: 8px grid system for consistent spacing
22+
- **Icons**: Emoji-based icons for visual appeal
23+
- **Hover Effects**: Interactive elements with smooth transitions
24+
25+
## Content Sections
26+
1. **Code** - For developers (purple theme)
27+
2. **Design** - For designers (pink theme)
28+
3. **Documentation** - For writers/educators (orange theme)
29+
4. **Community** - For community members (green theme)
30+
5. **Get Started** - Getting started guide (blue theme)
31+
6. **Thank You** - Appreciation section (green theme)
32+
33+
## Navigation
34+
The page is accessible at `/community` and is linked from the main navigation under "More > Community".
35+
36+
## Configuration Changes
37+
The original docs-based community plugin has been commented out in `docusaurus.config.ts` to avoid routing conflicts.
38+
39+
## Development
40+
To modify the community page:
41+
1. Edit `index.tsx` for functionality changes
42+
2. Edit `community.css` for styling changes
43+
3. Test changes by running `npm run start`
44+
45+
## Browser Support
46+
- Modern browsers with CSS Grid and Flexbox support
47+
- Responsive design for mobile devices
48+
- Smooth animations with fallbacks

0 commit comments

Comments
 (0)