nfv-net
Welcome to the source code for the NFVNetwork Bolt Prompt Site! This folder contains all the core code and assets that power the interactive and visually engaging features of the site.
The /src directory is organized as follows:
- Contains reusable React components for various sections of the site.
- Example components include:
Header.js: Handles the navigation bar and top section.Footer.js: Displays the footer with links and social icons.EventCard.js: Displays event details dynamically.ConnectWallet.js: The (coming soon) feature for wallet integration.
- Contains full-page layouts for:
Home.js: The main landing page.Events.js: Displays a list of upcoming events dynamically.Community.js: Features Discord integration and community planning details.
- Contains all static assets like images, fonts, and other multimedia resources.
- Subfolders:
/images: For site images like banners and logos./icons: For SVGs and other graphic assets.
- Houses CSS/SCSS files to define the design and layout of the site.
- Example files:
global.css: For global styles applied site-wide.variables.scss: For color themes, spacing, and typography settings.
- Contains helper functions and configuration files for:
- API calls to pull dynamic event data.
- Formatting utilities for dates, times, and locations.
- Stores JSON files for event details, sponsorship categories, and other static content for development/testing.
- Node.js (v16 or higher)
- npm or yarn
-
Clone the repository:
git clone https://github.com/nfvnetwork/bolt-prompt-site.git cd bolt-prompt-site -
Install dependencies:
npm install
- Start the development server:
npm start
- The site will be accessible at
http://localhost:3000.
-
Interactive Event Listings
- Displays dynamic event cards with hover effects.
- Links to sponsor events and RSVP.
-
Community Integration
- Features Discord and Telegram links for seamless community engagement.
- Coming Soon: VolunteerConnectAU integration.
-
Connect Wallet (Coming Soon)
- Placeholder for wallet integration to support blockchain features like event sponsorship and tokenized experiences.
-
Hover Effects
- Text and buttons sparkle when hovered over, providing a futuristic Web3 aesthetic.
Create a .env file in the root of the project and define the following:
REACT_APP_API_URL=https://api.nfvnetwork.com
REACT_APP_DISCORD_LINK=https://discord.gg/xyz
REACT_APP_TELEGRAM_LINK=https://t.me/xyz - Adjust colors, fonts, and spacing in
src/styles/variables.scss. - Modify hover effects and transitions in
src/styles/global.css.
- Build the project:
npm run build
- Deploy to a hosting service of your choice (e.g., Vercel, Netlify).
- Full Wallet Integration: Enable seamless sponsorship and payments via blockchain.
- VolunteerConnectAU: Launch volunteer matching and coordination feature.
- Event Analytics: Track and display event attendance and engagement metrics.
We welcome contributions! To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add feature-name" - Push and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Let me know if you'd like to refine it further!