|
1 | | -# bitlogic.io |
| 1 | +# Bitlogic.io - Corporate Website |
| 2 | + |
| 3 | +🚀 **Modern corporate website for Bitlogic** - A company specialized in agile software development and digital transformation for educational institutions. |
| 4 | + |
| 5 | +## 📋 Table of Contents |
| 6 | + |
| 7 | +- [About](#about) |
| 8 | +- [Features](#features) |
| 9 | +- [Tech Stack](#tech-stack) |
| 10 | +- [Prerequisites](#prerequisites) |
| 11 | +- [Installation](#installation) |
| 12 | +- [Development](#development) |
| 13 | +- [Build & Deployment](#build--deployment) |
| 14 | +- [Project Structure](#project-structure) |
| 15 | +- [Environment Variables](#environment-variables) |
| 16 | +- [Contributing](#contributing) |
| 17 | +- [License](#license) |
| 18 | + |
| 19 | +## 🎯 About |
| 20 | + |
| 21 | +Bitlogic.io is a professional corporate website showcasing our expertise in software design, engineering, and agile development. We specialize in digital transformation solutions for educational institutions, helping them modernize their technological infrastructure and processes. |
| 22 | + |
| 23 | +**Key Services:** |
| 24 | +- Agile software development |
| 25 | +- Digital transformation consulting |
| 26 | +- Educational technology solutions |
| 27 | +- Custom software engineering |
| 28 | + |
| 29 | +## ✨ Features |
| 30 | + |
| 31 | +- 📱 **Responsive Design** - Optimized for all devices |
| 32 | +- 🚀 **Performance Optimized** - Built with Gatsby.js for blazing fast loading |
| 33 | +- 📝 **Content Management** - Powered by Strapi headless CMS |
| 34 | +- 📰 **Blog System** - Dynamic blog with categorization |
| 35 | +- 🎨 **Modern UI/UX** - Built with Bootstrap 5 and custom Sass |
| 36 | +- 🔍 **SEO Optimized** - Meta tags, sitemaps, and structured data |
| 37 | +- 📊 **Analytics Ready** - Google Tag Manager integration |
| 38 | +- 🌐 **Multilingual Support** - Spanish language optimization |
| 39 | +- ♿ **Accessibility** - WCAG compliant components |
| 40 | +- 🔧 **Developer Experience** - Hot reloading, linting, and formatting |
| 41 | + |
| 42 | +## 🛠 Tech Stack |
| 43 | + |
| 44 | +### Frontend |
| 45 | +- **Framework**: [Gatsby.js 4.6+](https://www.gatsbyjs.com/) - React-based static site generator |
| 46 | +- **UI Framework**: [Bootstrap 5.1+](https://getbootstrap.com/) - Responsive CSS framework |
| 47 | +- **Styling**: [Sass](https://sass-lang.com/) - CSS preprocessor |
| 48 | +- **Icons**: [FontAwesome](https://fontawesome.com/) & [React Icons](https://react-icons.github.io/react-icons/) |
| 49 | +- **Animations**: [React Lottie](https://github.com/chenqingspring/react-lottie) |
| 50 | + |
| 51 | +### Backend & CMS |
| 52 | +- **CMS**: [Strapi](https://strapi.io/) - Headless content management system |
| 53 | +- **Image Processing**: Gatsby Sharp & Image plugins |
| 54 | +- **Forms**: Custom React components with validation |
| 55 | + |
| 56 | +### Development Tools |
| 57 | +- **Package Manager**: [Yarn](https://yarnpkg.com/) |
| 58 | +- **Code Formatting**: [Prettier](https://prettier.io/) |
| 59 | +- **Build Tool**: [Webpack](https://webpack.js.org/) |
| 60 | +- **Bundle Analysis**: Webpack Bundle Analyzer |
| 61 | + |
| 62 | +### SEO & Analytics |
| 63 | +- **SEO**: Gatsby SEO plugins with React Helmet |
| 64 | +- **Analytics**: Google Tag Manager |
| 65 | +- **Sitemap**: Automated sitemap generation |
| 66 | +- **Robots.txt**: SEO optimization |
| 67 | + |
| 68 | +## 📋 Prerequisites |
| 69 | + |
| 70 | +Before you begin, ensure you have the following installed: |
| 71 | + |
| 72 | +- **Node.js** (v16.0 or higher) - [Download](https://nodejs.org/) |
| 73 | +- **Yarn** (v1.22 or higher) - [Installation Guide](https://yarnpkg.com/getting-started/install) |
| 74 | +- **Git** - [Download](https://git-scm.com/) |
| 75 | + |
| 76 | +## 🚀 Installation |
| 77 | + |
| 78 | +1. **Clone the repository** |
| 79 | + ```bash |
| 80 | + git clone https://github.com/bitlogic/bitlogic.io.git |
| 81 | + cd bitlogic.io |
| 82 | + ``` |
| 83 | + |
| 84 | +2. **Install dependencies** |
| 85 | + ```bash |
| 86 | + yarn install |
| 87 | + ``` |
| 88 | + |
| 89 | +3. **Set up environment variables** |
| 90 | + ```bash |
| 91 | + cp .env.example .env.development |
| 92 | + # Edit .env.development with your configuration |
| 93 | + ``` |
| 94 | + |
| 95 | +4. **Start the development server** |
| 96 | + ```bash |
| 97 | + yarn develop |
| 98 | + ``` |
| 99 | + |
| 100 | +5. **Open your browser** |
| 101 | + Navigate to `http://localhost:8000` to see the site in development mode. |
| 102 | + |
| 103 | +## 💻 Development |
| 104 | + |
| 105 | +### Available Scripts |
| 106 | + |
| 107 | +```bash |
| 108 | +# Start development server with hot reloading |
| 109 | +yarn develop |
| 110 | + |
| 111 | +# Build the production site |
| 112 | +yarn build |
| 113 | + |
| 114 | +# Serve the production build locally |
| 115 | +yarn serve |
| 116 | + |
| 117 | +# Clean Gatsby cache and build artifacts |
| 118 | +yarn clean |
| 119 | + |
| 120 | +# Format code with Prettier |
| 121 | +yarn format |
| 122 | + |
| 123 | +# Run tests (when implemented) |
| 124 | +yarn test |
| 125 | +``` |
| 126 | + |
| 127 | +### Development Workflow |
| 128 | + |
| 129 | +1. **Start development**: `yarn develop` |
| 130 | +2. **Make your changes** in the `src/` directory |
| 131 | +3. **Test locally** at `http://localhost:8000` |
| 132 | +4. **GraphQL playground** available at `http://localhost:8000/___graphql` |
| 133 | +5. **Format code** with `yarn format` before committing |
| 134 | + |
| 135 | +### Hot Reloading |
| 136 | + |
| 137 | +The development server includes hot reloading for: |
| 138 | +- React components |
| 139 | +- Sass/CSS styles |
| 140 | +- GraphQL queries |
| 141 | +- Gatsby configuration |
| 142 | + |
| 143 | +## 🏗 Build & Deployment |
| 144 | + |
| 145 | +### Production Build |
| 146 | + |
| 147 | +```bash |
| 148 | +# Create optimized production build |
| 149 | +yarn build |
| 150 | + |
| 151 | +# Serve production build locally for testing |
| 152 | +yarn serve |
| 153 | +``` |
| 154 | + |
| 155 | +### Environment Configuration |
| 156 | + |
| 157 | +Create environment-specific files: |
| 158 | +- `.env.development` - Development settings |
| 159 | +- `.env.production` - Production settings |
| 160 | + |
| 161 | +### Key Environment Variables |
| 162 | + |
| 163 | +```bash |
| 164 | +# Site configuration |
| 165 | +SITE_URL=https://bitlogic.io |
| 166 | +STRAPI_URL=https://your-strapi-instance.com |
| 167 | + |
| 168 | +# Analytics (production only) |
| 169 | +GTM_ID=GTM-XXXXXXX |
| 170 | +ENV_PROD=produccion |
| 171 | +``` |
| 172 | + |
| 173 | +## 📁 Project Structure |
| 174 | + |
| 175 | +``` |
| 176 | +bitlogic.io/ |
| 177 | +├── src/ |
| 178 | +│ ├── components/ # Reusable React components |
| 179 | +│ │ ├── Banner/ # Hero banners |
| 180 | +│ │ ├── BlogPage/ # Blog-related components |
| 181 | +│ │ ├── Footer/ # Site footer |
| 182 | +│ │ ├── NavBar/ # Navigation |
| 183 | +│ │ ├── HomePage/ # Home page components |
| 184 | +│ │ └── ... |
| 185 | +│ ├── pages/ # Gatsby pages (auto-routed) |
| 186 | +│ │ ├── index.js # Home page |
| 187 | +│ │ ├── blog.js # Blog listing |
| 188 | +│ │ └── 404.js # Not found page |
| 189 | +│ ├── templates/ # Dynamic page templates |
| 190 | +│ ├── styles/ # Global styles and Sass files |
| 191 | +│ ├── images/ # Static images and assets |
| 192 | +│ ├── constants/ # App constants and configuration |
| 193 | +│ ├── context/ # React context providers |
| 194 | +│ ├── hooks/ # Custom React hooks |
| 195 | +│ └── schema/ # GraphQL schema definitions |
| 196 | +├── static/ # Static assets (served as-is) |
| 197 | +├── gatsby-config.js # Gatsby configuration |
| 198 | +├── gatsby-node.js # Gatsby Node APIs |
| 199 | +├── gatsby-browser.js # Gatsby Browser APIs |
| 200 | +├── gatsby-ssr.js # Server-side rendering config |
| 201 | +└── package.json # Dependencies and scripts |
| 202 | +``` |
| 203 | + |
| 204 | +### Component Architecture |
| 205 | + |
| 206 | +- **Atomic Design**: Components follow atomic design principles |
| 207 | +- **Reusability**: Shared components in `/components` |
| 208 | +- **Styling**: Each component has its own Sass file |
| 209 | +- **Props**: Well-defined PropTypes for type checking |
| 210 | + |
| 211 | +## 🌍 Environment Variables |
| 212 | + |
| 213 | +| Variable | Description | Required | Default | |
| 214 | +|----------|-------------|----------|---------| |
| 215 | +| `SITE_URL` | Production site URL | Yes | - | |
| 216 | +| `STRAPI_URL` | Strapi CMS API endpoint | Yes | - | |
| 217 | +| `GTM_ID` | Google Tag Manager ID | No | - | |
| 218 | +| `ENV_PROD` | Production environment flag | No | - | |
| 219 | + |
| 220 | +## 🤝 Contributing |
| 221 | + |
| 222 | +We welcome contributions! Please follow these guidelines: |
| 223 | + |
| 224 | +### Getting Started |
| 225 | + |
| 226 | +1. **Fork the repository** |
| 227 | +2. **Create a feature branch**: `git checkout -b feature/amazing-feature` |
| 228 | +3. **Make your changes** following our coding standards |
| 229 | +4. **Test thoroughly** in development mode |
| 230 | +5. **Format your code**: `yarn format` |
| 231 | +6. **Commit your changes**: `git commit -m 'Add amazing feature'` |
| 232 | +7. **Push to your branch**: `git push origin feature/amazing-feature` |
| 233 | +8. **Open a Pull Request** |
| 234 | + |
| 235 | +### Coding Standards |
| 236 | + |
| 237 | +- **JavaScript**: Follow ES6+ standards |
| 238 | +- **React**: Use functional components with hooks |
| 239 | +- **Styling**: Use Sass with BEM methodology |
| 240 | +- **Formatting**: Use Prettier (run `yarn format`) |
| 241 | +- **Commits**: Use conventional commit messages |
| 242 | + |
| 243 | +### Code Review Process |
| 244 | + |
| 245 | +1. All changes require a pull request |
| 246 | +2. At least one code review approval |
| 247 | +3. All CI checks must pass |
| 248 | +4. No merge conflicts |
| 249 | + |
| 250 | +## 📄 License |
| 251 | + |
| 252 | +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
| 253 | + |
| 254 | +--- |
| 255 | + |
| 256 | +## 📞 Contact & Support |
| 257 | + |
| 258 | +- **Website**: [bitlogic.io](https://bitlogic.io) |
| 259 | +- **Email**: info@bitlogic.io |
| 260 | +- **LinkedIn**: [Bitlogic Company Page](https://linkedin.com/company/bitlogic) |
| 261 | + |
| 262 | +--- |
| 263 | + |
| 264 | +**Built with ❤️ by the Bitlogic team** | Specialized in educational technology and digital transformation |
0 commit comments