SMLC is an interactive framework designed to visualize and analyze leadership dynamics across personal, organizational, and societal levels. Through a three-dimensional cube interface, users can explore different leadership dimensions and understand their relationships.
- 3D Visualization: Interactive cube representation using Three.js
- Multi-level Analysis: Personal, organizational, and societal perspectives
- Position Mapping: Detailed examples and insights for different positions
- Comparison Tools: Analyze differences between leadership styles
- Responsive Design: Optimized for desktop and mobile devices
- Node.js (v20.0.0 or higher)
- npm (v10.0.0 or higher)
-
Clone the repository:
git clone https://github.com/sinaghazi/smlc-website.git cd smlc-website
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Build for production:
npm run build
smlc-website/
├── src/
│ ├── components/ # React components
│ ├── types/ # TypeScript type definitions
│ ├── data/ # Data mappings and constants
│ ├── utils/ # Utility functions
│ └── assets/ # Static assets
├── public/ # Public assets
└── dist/ # Production build output
- Select the desired level (Personal, Organizational, or Societal)
- Adjust the position using the control panel sliders
- Add a comparison point to analyze differences
- View detailed examples and insights for each position
- Position Analysis: Understand the characteristics of specific positions
- Comparison Mode: Compare different leadership styles
- Export Options: Save and share your analysis
- Interactive Learning: Explore real-world examples
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch:
git checkout -b feature/YourFeatureName
- Commit your changes:
git commit -m "feat: add some feature"
- Push to your fork:
git push origin feature/YourFeatureName
- Create a Pull Request
npm run dev
: Start development servernpm run build
: Build for productionnpm run preview
: Preview production buildnpm run clean
: Clean build artifacts
We use:
- ESLint for code linting
- Prettier for code formatting
- TypeScript for type safety
Run tests with:
npm test
The application is optimized for:
- Fast initial loading
- Smooth 3D rendering
- Efficient data handling
- Responsive interactions
- Chrome (latest 2 versions)
- Firefox (latest 2 versions)
- Safari (latest 2 versions)
- Edge (latest 2 versions)
-
Build the project:
npm run build
-
Deploy the
dist
folder to your hosting service
This project is licensed under the Creative Commons Attribution 4.0 International License - see the LICENSE.md file for details.
- Three.js for 3D rendering
- React Three Fiber for React integration
- TailwindCSS for styling
- Vite for build tooling
Sina Ghazi
Project Link: https://github.com/sinaghazi/smlc-website