This is the official repository for starknet.io. The website is built using a modern tech stack, and we encourage community contributions to the codebase, content and translations.
The StarkNet website includes the following features:
- Responsive design, optimized for both desktop and mobile devices.
- Detailed information about StarkNet and its underlying technology.
- Documentation and resources for developers interested in building on StarkNet.
- Latest news and updates related to the StarkNet ecosystem.
- Community and social media links, for users to stay connected and engaged.
- Next.js for server-rendered React app
- Chakra UI for UI components
- React as a JavaScript library for UI
- TypeScript for type-safe JavaScript code
- Algolia for search functionality
- Framer Motion for animations
- Storybook for component development and testing
- Cypress for end-to-end testing
- Crowdin for translations
- Yarn as the package manager
- NetlifyCMS Give non-technical users a simple way to edit and add content
-
Clone the repository:
git clone https://github.com/starknet-io/starknet-website.git
-
Change into the repository directory:
cd starknet-website
-
Install dependencies:
yarn install
-
Update dynamic data:
yarn data
-
Run the development server:
yarn dev
-
Open your browser and visit
http://localhost:3000
to see the website running locally.
-
Fork the repository to your own GitHub account.
-
Clone your fork to your local machine and follow the steps in the "Getting Started" section above.
-
Create a new branch for your changes:
git checkout -b my-feature-branch
-
Make your changes and test them locally.
-
Commit and push your changes to your fork:
git add .
git commit -m "Description of my changes"
git push origin my-feature-branch
-
Create a pull request from your fork's branch to the
dev
branch of the original repository.
We use Crowdin for translations. Visit StarkNet Website on Crowdin to contribute translations for different languages.
- Sign up for a Crowdin account if you don't have one.
- Select the language you want to contribute to or request a new language if it's not available.
- Start translating the strings in the translation editor.
- Save your changes and submit them for review.
We appreciate all contributions! Your translations will help make the StarkNet website more accessible to people around the world.