diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..fa89b79 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,63 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: + - develop + pull_request: + branches: + - develop + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "20" + cache: "yarn" + + - name: Setup Pages + uses: actions/configure-pages@v4 + with: + static_site_generator: next + enablement: true + + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Build with Next.js + run: yarn build + env: + NODE_ENV: production + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: ./out + + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + if: github.ref == 'refs/heads/develop' + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore index 493e69b..f8f349c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,18 +1,40 @@ -# This .gitignore is appropriate for repositories deployed to GitHub Pages and using -# a Gemfile as specified at https://github.com/github/pages-gem#conventional - -# Basic Jekyll gitignores (synchronize to Jekyll.gitignore) -_site/ -.sass-cache/ -.jekyll-cache/ -.jekyll-metadata - -# Additional Ruby/bundler ignore for when you run: bundle install -/vendor - -# Specific ignore for GitHub Pages -# GitHub Pages will always use its own deployed version of pages-gem -# This means GitHub Pages will NOT use your Gemfile.lock and therefore it is -# counterproductive to check this file into the repository. -# Details at https://github.com/github/pages-gem/issues/768 -Gemfile.lock +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules + +# Yarn +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/sdks +!.yarn/versions + +# next.js +/.next/ +/out/ + +# production +/build + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# lock files (using yarn) +package-lock.json +pnpm-lock.yaml + +# env files +.env* + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts \ No newline at end of file diff --git a/.yarnrc.yml b/.yarnrc.yml new file mode 100644 index 0000000..3186f3f --- /dev/null +++ b/.yarnrc.yml @@ -0,0 +1 @@ +nodeLinker: node-modules diff --git a/README.md b/README.md index cb44bc8..f713d67 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,387 @@ -# Django-Rwanda-website -A website for the Django Rwanda Community +# Django Rwanda Community Website + +
Sign in to your Django Rwanda Community account
++ Don't have an account?{" "} + + Sign up here + +
+Create your account and start your journey
++ Already have an account?{" "} + + Sign in here + +
++ Our values and principles for a respectful and inclusive community. +
+{section.content}
} + {section.items && ( ++ Every contribution matters. There are many ways to help build and improve Django Rwanda. +
+{area.description}
++ Be part of a vibrant community of African developers dedicated to innovation and learning. +
++ Join, learn, contribute, and grow with Django Rwanda. Choose your journey below. +
+{item.description}
++ Partner with Django Rwanda to support African developers and make a lasting impact on our community. +
+{tier.price}
+Ready to partner with us?
+ + + ++ Have questions or suggestions? We'd love to hear from you. +
+Phone
+ + +250 (0) 788 123 456 + +Location
+Kigali Innovation Hub, Kigali, Rwanda
++ We typically respond to inquiries within 24 hours during business days. +
+{event.description}
+Date
+{event.date}
+Time
+{event.time}
+Location
+{event.location}
+Attendees
+{event.attendees} people attending
+{item.time}
+{item.activity}
+Limited spots available
++ Connect with fellow developers through our regular meetups, bootcamps, and collaborative events. +
+{event.description}
+ + {/* Details */} ++ Choose your path and begin your journey with Django Rwanda Community +
+{path.description}
+ + +{item.description}
+Last updated: January 2025
++ Django Rwanda Community ("we," "our," or "us") operates the Django Rwanda + website. This page informs you of our policies regarding the collection, use, and disclosure of personal + data when you use our Service and the choices you have associated with that data. +
+We collect several different types of information for various purposes:
+Django Rwanda Community uses the collected data for various purposes:
++ The security of your data is important to us but remember that no method of transmission over the + Internet is 100% secure. While we strive to use commercially acceptable means to protect your Personal + Data, we cannot guarantee its absolute security. +
++ We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new + Privacy Policy on this page and updating the "Last updated" date at the top of this Privacy + Policy. +
+
+ If you have any questions about this Privacy Policy, please contact us at:
+
+ Email: privacy@djangorwanda.dev
+
{event.title}
+Secure your spot in our next workshop
++ Discover investors, grants, and funding opportunities to fuel your startup growth. +
+{item.description}
+ ++ Get guidance from experienced mentors and accelerate your entrepreneurial journey. +
+{benefit.description}
+{mentor.role}
+{mentor.availability}
+ ++ Everything you need to launch and grow your startup. Access tools, funding, mentorship, and solutions for + African markets. +
+{resource.description}
+ + {/* CTA */} ++ Discover challenges in African communities and build impactful solutions that create real change. +
+{area.description}
++ Essential templates, guides, and tools to help you launch and grow your startup successfully. +
+{item.description}
+ +Browse all pages and sections of Django Rwanda Community website
+Last updated: January 2025
++ By accessing and using the Django Rwanda Community website, you accept and agree to be bound by the + terms and provision of this agreement. If you do not agree to abide by the above, please do not use this + service. +
++ Permission is granted to temporarily download one copy of the materials (information or software) on + Django Rwanda Community's website for personal, non-commercial transitory viewing only. This is the + grant of a license, not a transfer of title, and under this license you may not: +
++ The materials on Django Rwanda Community's website are provided on an 'as is' basis. + Django Rwanda Community makes no warranties, expressed or implied, and hereby disclaims and negates all + other warranties including, without limitation, implied warranties or conditions of merchantability, + fitness for a particular purpose, or non-infringement of intellectual property or other violation of + rights. +
++ In no event shall Django Rwanda Community or its suppliers be liable for any damages (including, without + limitation, damages for loss of data or profit, or due to business interruption) arising out of the use + or inability to use the materials on Django Rwanda Community's website. +
++ The materials appearing on Django Rwanda Community's website could include technical, + typographical, or photographic errors. Django Rwanda Community does not warrant that any of the + materials on its website are accurate, complete, or current. Django Rwanda Community may make changes to + the materials contained on its website at any time without notice. +
+
+ For any questions about these Terms of Service, please contact us at:
+
+ Email: legal@djangorwanda.dev
+
{workshop.description}
++ This {workshop.duration} {workshop.level.toLowerCase()} level course is designed to help you master{" "} + {workshop.title.toLowerCase()}. You'll learn through hands-on projects, real-world examples, and + guidance from experienced instructors. +
++ By the end of this course, you'll have built multiple applications and be ready to contribute to + production Django projects. +
+{item.day}
+{item.time}
++ Master Django through our comprehensive workshops. Choose your level and start learning today. +
+{workshop.description}
+ + {/* Meta info */} +{communityMission.subtitle}
+{communityMission.description}
+{value.description}
++ Connect with fellow developers through our regular meetups, bootcamps, and collaborative events across + Africa. +
+{event.description}
+ + {/* Details */} ++ Join a vibrant community of developers building innovative + solutions. Learn, contribute, collaborate, and shape the future of + tech in Africa. +
+Community Members
+Events Hosted
+Open Source Projects
++ Join our thriving open-source ecosystem. Contribute to projects that matter, learn from experienced + developers, and build solutions for African communities. +
+{project.description}
+ + {/* Stats */} ++ Every contribution matters. Whether you're a beginner or experienced developer, there's a place for you in + our open-source community. +
+ + + ++ Build local solutions to African challenges. Access startup resources, connect with mentors, and transform + your ideas into thriving businesses. +
+{resource.description}
+ + {/* CTA */} + + + +