├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── README.md ├── STYLE-GUIDE.md ├── assets ├── css │ ├── about.css │ ├── base.css │ ├── darkmode.css │ ├── index.css │ ├── nav.css │ └── open-source-projects.css ├── images │ ├── hero │ │ ├── hero-min.png │ │ ├── hero.png │ │ ├── hero.webp │ │ └── sun.png │ ├── readme │ │ ├── .gitkeep │ │ └── new_issue.png │ └── scrimba-likes-default │ │ ├── default-0.jpg │ │ ├── default-1.jpg │ │ ├── default-2.jpg │ │ ├── default-3.jpg │ │ ├── default-4.jpg │ │ ├── default-5.jpg │ │ ├── default-6.jpg │ │ ├── default-7.jpg │ │ ├── default-8.jpg │ │ └── default-9.jpg └── javascript │ ├── about.js │ ├── app.js │ ├── contributors-component.js │ ├── contributors.js │ ├── nav.js │ ├── open-source-projects-component.js │ ├── open-source-projects.js │ └── theme.js ├── html ├── about.html └── open-source-projects.html ├── index.html └── license.txt /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .DS_Store 3 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | We as members, contributors, and leaders pledge to make participation in our 6 | community a harassment-free experience for everyone, regardless of age, body 7 | size, visible or invisible disability, ethnicity, sex characteristics, gender 8 | identity and expression, level of experience, education, socio-economic status, 9 | nationality, personal appearance, race, religion, or sexual identity 10 | and orientation. 11 | 12 | We pledge to act and interact in ways that contribute to an open, welcoming, 13 | diverse, inclusive, and healthy community. 14 | 15 | ## Our Standards 16 | 17 | Examples of behavior that contributes to a positive environment for our 18 | community include: 19 | 20 | * Demonstrating empathy and kindness toward other people 21 | * Being respectful of differing opinions, viewpoints, and experiences 22 | * Giving and gracefully accepting constructive feedback 23 | * Accepting responsibility and apologizing to those affected by our mistakes, 24 | and learning from the experience 25 | * Focusing on what is best not just for us as individuals, but for the 26 | overall community 27 | 28 | Examples of unacceptable behavior include: 29 | 30 | * The use of sexualized language or imagery, and sexual attention or 31 | advances of any kind 32 | * Trolling, insulting or derogatory comments, and personal or political attacks 33 | * Public or private harassment 34 | * Publishing others' private information, such as a physical or email 35 | address, without their explicit permission 36 | * Other conduct which could reasonably be considered inappropriate in a 37 | professional setting 38 | 39 | ## Manage conflict recommendations 40 | 41 | As a community member, you can play an important role in contributing to conflict resolution within your community. Here are some strategies you can employ: 42 | 43 | 1. Stay calm and objective: When confronted with a conflict, it's crucial to remain calm and composed. Avoid responding with anger or defensiveness, as it can escalate the situation further. Maintain an objective mindset and focus on resolving the conflict constructively. 44 | 45 | 2. Communicate openly: Engage in open and honest communication with the person or people involved in the conflict. Express your concerns or perspectives calmly and respectfully, and listen actively to understand their point of view. Encourage a two-way dialogue to foster understanding and find common ground. 46 | 47 | 3. Seek understanding: Take the time to understand the underlying causes and motivations behind the conflict. Put yourself in the other person's shoes and try to see the situation from their perspective. This empathy can help create a more empathetic and cooperative atmosphere. 48 | 49 | 4. Find common ground: Look for areas of agreement or shared interests between you and the other party. By focusing on common ground, you can establish a foundation for resolving the conflict collaboratively. Building on shared objectives can lead to mutually beneficial solutions. 50 | 51 | 5. Propose solutions: Offer potential solutions or alternatives to address the conflict. Be proactive in generating ideas that could help resolve the issue at hand. Present your suggestions in a constructive and non-confrontational manner, emphasizing the positive outcomes they can achieve. 52 | 53 | 6. Seek assistance if needed: If you're unable to resolve the conflict on your own, don't hesitate to seek assistance. Talk to your community lead or a designated person responsible for conflict resolution in your community. They can provide guidance, mediate the discussion, or offer support in finding a resolution. 54 | 55 | 7. Maintain professionalism: Throughout the conflict resolution process, it's crucial to maintain a professional demeanor. Avoid engaging in personal attacks, gossip, or negative behavior. Focus on finding a solution that benefits everyone involved and contributes to a positive work environment. 56 | 57 | 8. Learn from the experience: Reflect on the conflict and your role in its resolution. Consider what you could have done differently and how you can apply these lessons in the future. Conflict situations can provide valuable opportunities for personal growth and development. 58 | 59 | Remember that conflict is a natural part of human interaction, and how it is managed can significantly impact the work environment. By approaching conflicts with a constructive mindset, effective communication, and a willingness to find solutions, you can contribute to a positive and harmonious workplace. 60 | 61 | ## Enforcement Responsibilities 62 | 63 | Community leaders are responsible for clarifying and enforcing our standards of 64 | acceptable behavior and will take appropriate and fair corrective action in 65 | response to any behavior that they deem inappropriate, threatening, offensive, 66 | or harmful. 67 | 68 | Community leaders have the right and responsibility to remove, edit, or reject 69 | comments, commits, code, wiki edits, issues, and other contributions that are 70 | not aligned to this Code of Conduct, and will communicate reasons for moderation 71 | decisions when appropriate. 72 | 73 | ## Scope 74 | 75 | This Code of Conduct applies within all community spaces, and also applies when 76 | an individual is officially representing the community in public spaces. 77 | Examples of representing our community include using an official e-mail address, 78 | posting via an official social media account, or acting as an appointed 79 | representative at an online or offline event. 80 | 81 | ## Enforcement 82 | 83 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 84 | reported to the community leaders through private message, who are 85 | responsible for enforcement at the Scrimba [discord](https://discord.com/invite/nDebDaqCcR). 86 | All complaints will be reviewed and investigated promptly and fairly. 87 | 88 | All community leaders are obligated to respect the privacy and security of the 89 | reporter of any incident. 90 | 91 | ## Enforcement Guidelines 92 | 93 | Community leaders will follow these Community Impact Guidelines in determining 94 | the consequences for any action they deem in violation of this Code of Conduct: 95 | 96 | ### 1. Correction 97 | 98 | **Community Impact**: Use of inappropriate language or other behavior deemed 99 | unprofessional or unwelcome in the community. 100 | 101 | **Consequence**: A private, written warning from community leaders, providing 102 | clarity around the nature of the violation and an explanation of why the 103 | behavior was inappropriate. A public apology may be requested. 104 | 105 | ### 2. Warning 106 | 107 | **Community Impact**: A violation through a single incident or series 108 | of actions. 109 | 110 | **Consequence**: A warning with consequences for continued behavior. No 111 | interaction with the people involved, including unsolicited interaction with 112 | those enforcing the Code of Conduct, for a specified period of time. This 113 | includes avoiding interactions in community spaces as well as external channels 114 | like social media. Violating these terms may lead to a temporary or 115 | permanent ban. 116 | 117 | ### 3. Temporary Ban 118 | 119 | **Community Impact**: A serious violation of community standards, including 120 | sustained inappropriate behavior. 121 | 122 | **Consequence**: A temporary ban from any sort of interaction or public 123 | communication with the community for a specified period of time. No public or 124 | private interaction with the people involved, including unsolicited interaction 125 | with those enforcing the Code of Conduct, is allowed during this period. 126 | Violating these terms may lead to a permanent ban. 127 | 128 | ### 4. Permanent Ban 129 | 130 | **Community Impact**: Demonstrating a pattern of violation of community 131 | standards, including sustained inappropriate behavior, harassment of an 132 | individual, or aggression toward or disparagement of classes of individuals. 133 | 134 | **Consequence**: A permanent ban from any sort of public interaction within 135 | the community. 136 | 137 | ## Attribution 138 | 139 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], 140 | version 2.0, available at 141 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. 142 | 143 | Community Impact Guidelines were inspired by [Mozilla's code of conduct 144 | enforcement ladder](https://github.com/mozilla/diversity). 145 | 146 | [homepage]: https://www.contributor-covenant.org 147 | 148 | For answers to common questions about this code of conduct, see the FAQ at 149 | https://www.contributor-covenant.org/faq. Translations are available at 150 | https://www.contributor-covenant.org/translations. 151 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Welcome Contributors! 2 | 3 | ## Why Contribute to This Project 4 | This project was created by our awesome 5 | project maintainer and Scrimba Bootcamp Mentor **Micha** to enable you, Scrimba bootcamp student, to practice the 6 | workflow of contributing to 7 | **Open Source Projects**. This way you build experience which will help you build confidence which will empower you 8 | to go out there and contribute to real world **Open Source Projects**. 9 | ## Languages Used 10 | This is the first collaborative project we have done in the [Scrimba Bootcamp](https://scrimba.com/bootcamp). We are using HTML, CSS, Vanilla JavaScript and Markdown. Our hope is that anyone - whether they have just started learning to code, or have been doing it for a while, can feel confident to contribute. 11 | ## How to Contribute 12 | Here are a couple of **videos** created by our awesome project maintainer **Micha** that show you how to contribute: 13 | 1. How to contribute to the project: 14 | 2. How to pull changes from the main branch: 15 | 16 | 17 | **For the written detailed version of the steps, see below.** 18 | 19 | ## General Guidelines: 20 | 1. Look through pre-existing [Issues](https://github.com/michaella23/bootcamp-collab/issues) and see if there is one 21 | you would like to take on. If there isn't an issue for a change you would like to make, please create a **New Issue**. 22 | Screen grab of GitHub issues page. There is an orange circle around the 'New Issue' button on the right side 23 | 2. Ask to be assigned to an issue, and tag the maintainer(s). Pull requests without a corresponding issue may or may not 24 | be accepted. 25 | 3. Please work on one issue at a time in order to avoid miscommunication. If you find there is something else you would 26 | like to change while working on your issue, please follow the previous two steps to create an Issue and - if you would like to work on it - ask to be assigned. 27 | 4. If you see code that was written by another contributor that you feel could be improved, you might wish to tag them 28 | in the issue that you create so that you can discuss potential changes and decide who will work on this issue. One or both of you may then request assignment to the issue. 29 | 5. If you work on an issue in the project's **Issues** list, and it gets implemented/fixed/resolved by a PR, and the 30 | PR is accepted and closed by a project **maintainer** and merged to `main`, you, the issue creator, 31 | can close the issue yourself. 32 | ### First time contributing? Do this: 33 | 1. Browse to the project GitHub repository URL: 34 | 2. Fork it to your GitHub account. 35 | 3. Go to your GitHub account and find your forked repository of the project. 36 | 4. There copy the link to the forked repository. 37 | 5. In your local environment, clone the forked repository using the link you just copied. 38 |
 39 | git clone https://github.com/your-username-here/bootcamp-collab
 40 | 
41 | 6. Add a remote to the **upstream**, i.e. original repository of the project so that you can get the latest changes 42 | in its **main** branch before you start working on a change. 43 |
 44 | git remote add upstream https://github.com/michaella23/bootcamp-collab
 45 | 
46 | 7. Now when you enter `git remote -v`, you should see 4 lines, 2 for your forked `origin` remote, and 2 for the `upstream` 47 | remote. 48 | 8. To make a change, either pick an issue from the `Issues` list on the project's GitHub repository to 49 | implement/fix/resolve, or decide to work on something that is not in the list. If you want to work on something 50 | that is not in the list, first make sure it's not in the list, and create an issue for it in the list. 51 | 9. Checkout a new branch off of your `main` branch to start working on the change. 52 |
 53 | git checkout -b your-feature-branch-name
 54 | 
55 | 9. Make your changes in the new branch. 56 | 10. When ready, `add`, `commit`, and then `push` the new branch to your forked, i.e. `origin` remote. If the changes 57 | are to fix or resolve an issue already in the `Issues` in the project's GitHub repository page, start your 58 | commit message with the issue number. For example, if you are working on an issue titled: `Add an image to the page 59 | #8`, (notice the **#8** at the end), your 60 | `add` and then 61 | `commit` commands would look something like this: 62 |
 63 | git add .
 64 | git commit -m "[#8] Add an image to the page"
 65 | 
66 | **Why add the issue number at the beginning?** Because the pull request you will soon create, or **PR**, 67 | will be 68 | titled the same as the commit. And as such, GitHub will automatically **link** your PR to that issue, **#8**, 69 | becuase **#8** is included in the PR title. 70 | 11. Now push the change to your `origin` remote: 71 |
 72 | git push --set-upstream origin your-feature-branch-name
 73 | 
74 | 12. Go back to the forked repository on your GitHub account, and you should now see a `Compare & pull request` 75 | button at the top. Click on it. 76 | 13. A PR page should appear. In it you could add further details about the PR. When ready, click on `Create pull 77 | request`. That's it. **You have just created your first PR. This is a very important day in your life as an *Open 78 | Source Contributor***. 79 | 14. A maintainer of the project will take a look at your PR, and if all looks good, will accept the request and merge 80 | your change(s) to the 81 | `main` branch and close the PR. 82 | 15. When you see the changes got marged and the PR got closed, you can delete the local change branch you created 83 | for working on the change, using: 84 |
 85 | git branch -d your-feature-branch-name
 86 | 
87 | And you can also delete the branch from your forked repository, using: 88 |
 89 | git push origin -d your-feature-branch-name
 90 | 
91 | 92 | ### For consecutive contributions: 93 | 1. Pull from the `upstream` remote `main` branch to make sure you have the latest and greatest: 94 |
 95 | git pull upstream main
 96 | 
97 | 2. Push the changes you just got merged into your local `main` branch up to your forked `origin` remote `main` branch. 98 |
 99 | git push origin main
100 | 
101 | 3. Continue from **item #8** from the list above. 102 | 103 | 104 | 105 | 106 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🖥️ A Scrimba Bootcamp Exclusive Open Source Project 2 | 3 | ##### ⚠️ NOTE 4 | _To take part in this open source project, please consider joining the Scrimba bootcamp [here](https://scrimba.com/bootcamp)_ 5 | 6 | See it live [here](https://scrimba-bootcamp-rocks.netlify.app 'A link to the live version of the site') 7 | 8 | ## ❓ What is this? 9 | 10 | An opportunity to practice forking, branching, making changes and creating pull requests. 11 | 12 | 👉 Many self-taught developers learn to code by themselves by reading or watching tutorials and coding along with them. Hopefully before long, they start building their own solo projects. 13 | 14 | 👉 Many projects are performed in team settings with multiple developers. To get this experience outside of a job, _open-source projects are the way to go._ However, it can be intimidating to get involved with these projects if you are a first-timer! It may feel difficult to know *how* you could contribute? How do you contribute to *someone else's* project? 15 | 16 | --- 17 | 18 | Bootcamp Collaborative Webpage (better name?? 😅) aims to make the experience of collaborating on group projects and 19 | contributing to open source beginner-friendly. You can make any kind of contribution, no matter how small or big. To 20 | keep it simple, we will use HTML, CSS and JavaScript - no frameworks or libraries. Therefore, getting started isn't 21 | very complicated, and if you need help just reach out in the [Discord](https://discord.com/channels/684009642984341525/959014685586382879)! 22 | 23 | What you can contribute to this project? 24 | 25 | 👉 *Anything!* 26 | 27 | *Seriously!* You can add a link to another website/project you're working on. Change the background color. Make a list of your favorite foods. Add an interrobang (an exclamation juxtaposed on a question mark - '?!') to this `readme` file. Add a link to a cool coding resource. You can also take a look at Issues - see if there is one you want to take on, or one that you'd like to add 28 | 29 | **Get involved, make mistakes, and break things.** 30 | 31 | We're all learning here and like many things in the coding world, you learn best by *doing*. So do! 32 | 33 | ## :hammer: Getting Started 34 | 35 | There can be a lot to learn when getting involved in open-source projects if you've never contributed before. If you already know some HTML, you should be able to get started here by learning a little bit about Git and Github. Git is version control software, if you do a web search you should find a lot of resources to get you started. 36 | 37 | Do you already know about these things? Here is a [great article](https://www.freecodecamp.org/news/a-practical-guide-to-start-opensource-contributions/) to get you started with forking a repository and creating a pull request. If you are comfortable reading documentation, Github is pretty accessible and they have a good section on [working collaboratively](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/getting-started/about-collaborative-development-models) that is worth a read. 38 | 39 | See our [CONTRIBUTING](CONTRIBUTING.md) page for how to contribute to our project and the contribution guidelines. 40 | 41 | ## 👼 Code of Conduct 42 | 43 | Be nice, be patient, be helpful. Everyone here is learning and doing their best. If something gets broken, we can help each other learn by fixing it. Please communicate in a respectful manner. Remember that our contributors and maintainers live in various time zones and may have other obligations besides this project. If you have submitted a pull request, or have added comments to someone else's, please be patient as you wait for them to get back to you. Briefly read the [Open Source Etiquette](https://developer.mozilla.org/en-US/docs/MDN/Community/Open_source_etiquette) if this is your first time with Open Source, or if you need a refresher! 44 | 45 | ## 📜 Licensed Under 46 | [GNU General Public License v3.0 ( GNU GPLv3 )](./license.txt) 47 | -------------------------------------------------------------------------------- /STYLE-GUIDE.md: -------------------------------------------------------------------------------- 1 | # Form Follows Function🤔 2 | **_⚠️ If you haven't already, please go through the following documents ⚠️_** 3 | 4 | [README.md](./README.md) | [CONTRIBUTING.md](./CONTRIBUTING.md) 5 | 6 |
7 | 8 | ## Welcome to the Style Guide 9 | - [Introduction](#introduction) 10 | - [What you can expect from reading this style guide?](#what-you-can-expect-from-reading-this-style-guide) 11 | - [Getting started](#getting-started) 12 | - [Folder Structure, Multiple CSS files & Comments](#folder-structure-multiple-css-files--comments) 13 | - [Why multiple CSS files?](#why-multiple-css-files) 14 | - [Getting down to writing comments ](#getting-down-to-writing-comments) 15 | - [Example of how to use the @import rule](#an-example-of-how-to-use-the-import-rule) 16 | - [So which files do I link in my html head?](#which-files-do-i-link-in-my-html-head) 17 | - [Root variables](#root-variables) 18 | - [Root variables & How to select them](#root-variables--how-to-select-them) 19 | - [Setting & selecting :root variables inside of CSS](#setting--selecting-root-variables-inside-of-css) 20 | - [Selecting & setting :root variables and properties inside of JavaScript](#selecting--setting-root-variables-and-properties-inside-of-javascript) 21 | - [Contribution](#contribution) 22 | - [Got something to add?](#got-something-to-add) 23 | - [Contributors](#contributors) 24 | - [Who has contributed to this document](#who-has-contributed-to-this-document) 25 | 26 |
27 | 28 | #### INTRODUCTION 29 | ## What you can expect from reading this style guide? 30 | The purpose of this style guide is to help you understand the concepts found within the [bootcamp-collab](https://github.com/michaella23/bootcamp-collab) open source project, which was created by the wonderful bootcamp instructor [michaella23 (Micha)](https://github.com/michaella23), to get you started contributing no matter the module you are in. 31 | 32 | Take the time to read through this and other documentation on this repository if you are unsure of any concepts found in the project. 33 | 34 |
35 | 36 | #### GETTING STARTED 37 | ## Folder Structure, Multiple CSS files & Comments 38 | When starting with the bootcamp-collab project you will hopefully notice the folder structure and multiple CSS files within the repository. _At the time of writing this, there is currently the [base.css](./assets/css/base.css) & [index.css](./assets/css/index.css)_. 39 | 40 | ### Why multiple CSS files? 41 | 42 | It is structured like this to help everyone reduce the need of reading through a huge single CSS file. Not only does it help everyone maintain the code, but it also teaches you a workflow you can incorporate within your projects if you find your CSS files are becoming too large. 43 | 44 | ### Getting down to writing comments 45 | 46 | When you add something, try to explain your addition with a comment so that other contributors working on this project in the future can either learn from you or understand what is being done. 47 |
48 | ##### _An example of how to use the `@import` rule_ 49 | 50 | ```CSS 51 | /* within the index.css file we import the base.css */ 52 | @import url('./base.css'); /* prefered way of writing */ 53 | @import './base.css' 54 | ``` 55 | 56 | For each `.html` file made, it should be accompanied by its own `.css` file. We then import the `base.css` file into that newly created `.css` file so that it can obtain the styles & variables already declared by the generic `base.css` file. 57 | 58 | The [base.css](./assets/css/base.css) file is a generic CSS document that contains styles that are implemented across the entire site. While [index.css](./assets/css/index.css) and whatever other newly created file contains styles only pertaining to them. 59 | 60 | ### **Which files do I link in my html head?** 61 | 62 | ```html 63 | 64 | 65 | 66 | 67 | Bootcamp Collab 68 | 69 | 70 | ``` 71 | 72 | Within the `index.html` head tags, we only need to link the `index.css` file as shown above and not the `base.css` file as that is already being imported within the `index.css` file. We should follow this same process with any other file we decide to add. 73 | 74 |
75 | 76 | #### ROOT VARIABLES 77 | ## Root variables & How to select them 78 | 79 | ##### _setting & selecting :root variables inside of CSS_ 80 | 81 | ```css 82 | :root { 83 | /* contributors color flavor */ 84 | --clr-blueberrypink-awcoetzer: #447398; 85 | /* \_______\__________\__(prefix / color-name / contributor) */ 86 | 87 | /* styles pertaining to the document */ 88 | --clr-background: var(--clr-blueberrypink-awcoetzer); 89 | /* \______\_________\__(prefix / purpose / contributors-variable) */ 90 | } 91 | 92 | body { 93 | background-color: var(--clr-background); 94 | /* \________________\__ (property / pointing-to-variable) */ 95 | } 96 | 97 | ``` 98 | 99 | In CSS, the double dash `(--)` is used as a convention to denote custom properties, also known as `CSS variables`. It helps differentiate custom properties from regular CSS properties. The double dash convention was introduced to prevent conflicts with existing CSS properties and to indicate that a property is a custom variable that can be defined and used throughout the stylesheet. 100 | 101 | CSS variables are placed within the `:root` pseudo-class, which represents the root element of the document (typically the `` element). The `var() function` is used to reference and use the CSS variables in other parts of the stylesheet. 102 | 103 | In our example above we see that a contributor has declared a custom color css variable for themself, `--clr-blueberrypink-awcoetzer`, which denotes the prefix of `clr` short for color, the color name `blueberrypink` and the contributor `awcoetzer`, so we can all know who it belongs to followed by a value. 104 | 105 | We then use that contributors variable inside another CSS variable pertaining to the document styling and then we use that on the actual css property. 106 | 107 | This was a small example of how we can use CSS variables, of course we could have used the contributors variable directly on the `background-color:;` property itself. However, this felt like a more structured approach, especially due to this being an open source project. We can therefore keep other contributors work without deleting it completely. 108 | 109 |
110 | 111 | ##### _selecting & setting :root variables and properties inside of JavaScript_ 112 | 113 | ```javascript 114 | // selecting it directly (not preferred) 115 | document.documentElement.style.setProperty( 116 | '--clr-paragraph', 117 | '--my-flavor-clr' 118 | ); 119 | 120 | // saving it to a variable (preferred) 121 | const rootCSS = document.documentElement.style; 122 | 123 | rootCSS.setProperty( 124 | '--clr-paragraph', 125 | '--my-flavor-clr' 126 | ); 127 | 128 | ``` 129 | 130 | Above illustrates how you can go about selecting `root` variables within JavaScript. _Hopefully it is self explaining_ 131 | 132 |
133 | 134 | #### CONTRIBUTION 135 | ## Got something to add? 136 | 137 | See a mistake? A typo? or just want to contribute to this document? Feel free to add/change anything you want, that being said, please only add/change content that would be considered helpful to other contributors. 138 | 139 |
140 | 141 | #### CONTRIBUTORS 142 | ## Who has contributed to this document 143 | 144 | Here you can see who has contributed to this particular document. If you have contributed to this document, please feel free to add your GitHub Profile below so others can connect with you. 145 | 146 | - [Andre W. Coetzer](https://github.com/awcoetzer) 147 | - [Ali Asim Kazmi](https://github.com/aliasimkazmi) 148 | 149 | -------------------------------------------------------------------------------- /assets/css/about.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/css/about.css -------------------------------------------------------------------------------- /assets/css/base.css: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;500;700&family=Inter:wght@400;500&family=Karla:wght@400;500;700&display=swap'); 2 | 3 | /* 4 | Generic styles used across the site go here in base.css, 5 | take a look at the STYLE_GUIDE.md to get a better understanding 6 | of CSS Variables and importing fonts & other stylesheets. 7 | */ 8 | :root { 9 | /* generic document setup */ 10 | /* typeface */ 11 | --typeface-karla: 'Karla', sans-serif; 12 | --typeface-inconsolata: 'Inconsolata', monospace; 13 | --typeface-inter: 'Inter', monospace; 14 | 15 | /* 16 | percentage fonts, is used for making your life easier, 17 | --percentage-font-10 denotes 10px of 16px, the reason 18 | we do this, is that when you start working with REMs/EMs, 19 | for responsive design, we don't want to always calculate 20 | what is 33.8rems in pixels? 21 | 22 | So what we do is set the math to an easy to understand 23 | digit such as 10px, therfore we know that 1rem = 10px 24 | and so 1.6rem must equate to 16px. Easy math right? 25 | 26 | Though why percentage, well, if you set the root font size 27 | to a hard coded unit of measure such as px, when someone 28 | that has accessibilty issues changes their browser to be 29 | 40px for exmaple, it will never change, though if set it as 30 | a percentage, the entire site will adjust to 62.5% of the 31 | users preferred font size. 32 | */ 33 | --percentage-font-10: 62.5%; 34 | --percentage-font-9: 56.25%; 35 | --percentage-font-8: 50%; 36 | --percentage-font-7: 43.75%; 37 | 38 | /* 39 | font size, a range of font sizes that follow a type scale, 40 | this is meant to style your fonts in a pleasing manner. 41 | It also helps to reduce the guess work of what font size 42 | should I use. 43 | 44 | Font sizes from 1 to 3.6 are considered normal paragraph 45 | font sizes, while everything above that, is considered 46 | heading font sizes. 47 | */ 48 | --font-10: 1rem; 49 | --font-12: 1.2rem; 50 | --font-14: 1.4rem; 51 | --font-16: 1.6rem; 52 | --font-18: 1.8rem; 53 | --font-20: 2rem; 54 | --font-24: 2.4rem; 55 | --font-30: 3rem; 56 | --font-32: 3.2rem; 57 | --font-36: 3.6rem; 58 | /* end of normal font size */ 59 | --font-44: 4.4rem; 60 | --font-52: 5.2rem; 61 | --font-62: 6.2rem; 62 | --font-74: 7.4rem; 63 | --font-86: 8.6rem; 64 | --font-98: 9.8rem; 65 | /* end of heading font size */ 66 | 67 | /* font weight */ 68 | --font-weight-400: 400; 69 | --font-weight-500: 500; 70 | --font-weight-700: 700; 71 | 72 | /* 73 | spacing system, the spacing system follows a similar 74 | design font scaling system, though just we use it for 75 | padding and margins. 76 | */ 77 | --spacing-2: 0.2rem; 78 | --spacing-4: 0.4rem; 79 | --spacing-8: 0.8rem; 80 | --spacing-12: 1.2rem; 81 | --spacing-16: 1.6rem; 82 | --spacing-24: 2.4rem; 83 | --spacing-32: 3.2rem; 84 | --spacing-48: 4.8rem; 85 | --spacing-64: 6.4rem; 86 | --spacing-80: 8rem; 87 | --spacing-96: 9.6rem; 88 | --spacing-128: 12.8rem; 89 | 90 | /* border radius */ 91 | --border-rad-05: 0.5rem; 92 | --border-rad-1: 1rem; 93 | --border-rad-100: 10rem; 94 | --border-rad-round: 50%; 95 | 96 | /* line height */ 97 | --line-height-1: 1; 98 | --line-height-11: 1.1; 99 | --line-height-15: 1.5; 100 | --line-height-17: 1.7; 101 | 102 | /* letter spacing */ 103 | --letter-space-n05: -0.5px; 104 | --letter-space-n1: -1px; 105 | --letter-space-p05: 0.5px; 106 | --letter-space-p1: 1px; 107 | 108 | /* Custom Color Names */ 109 | --clr-blinding-light-shade-plus: hsl(0, 0%, 75%); 110 | --clr-blinding-light-shade: hsl(0, 0%, 95%); 111 | --clr-blinding-light: hsl(0, 0%, 100%); 112 | --clr-lemon-pastel: hsl(53, 100%, 71%); 113 | --clr-lemon-pastel-tint: hsl(53, 100%, 81%); 114 | --clr-wet-cement-shade: hsl(0, 0%, 8%); 115 | --clr-wet-cement: hsl(0, 0%, 20%); 116 | --clr-terracotta: hsl(25, 75%, 84.3%); 117 | 118 | /* Contributors Colors */ 119 | /* Add your colors here */ 120 | --clr-blueberry-pastel-awcoetzer: hsl(187, 75%, 76%); 121 | --clr-blueberry-pastel-tint-awcoetzer: hsl(187, 75%, 86%); 122 | --clr-blueberry-pastel-dark: hsl(195, 83%, 38%); 123 | --clr-maroon-overload-will-s-205: hsl(324, 71%, 14%); 124 | --clr-maroon-overload-opacity-70: hsl(324, 71%, 14%, 70%); 125 | --clr-blueberry-pastel-tint-opacity-70: hsl(187, 75%, 86%, 70%); 126 | 127 | /* color palettes */ 128 | --clr-shadow: var(--clr-wet-cement-shade); 129 | --clr-background: var(--clr-blueberry-pastel-awcoetzer); 130 | --clr-background-tint: var(--clr-blueberry-pastel-tint-awcoetzer); 131 | --clr-headline: var(--clr-wet-cement-shade); 132 | --clr-paragraph: var(--clr-wet-cement); 133 | --clr-button: var(--clr-blinding-light); 134 | --clr-button-text: var(--clr-shadow); 135 | --clr-button-plus: var(--clr-accent-tint); 136 | --clr-button-plus-text: var(--clr-shadow); 137 | --clr-button-shadow: var(--clr-shadow); 138 | --clr-stroke: var(--clr-blinding-light); 139 | --clr-highlight: var(--clr-accent-tint); 140 | --clr-accent: var(--clr-lemon-pastel); 141 | --clr-accent-tint: var(--clr-lemon-pastel-tint); 142 | } 143 | 144 | /* Setting the percentage font for the site here */ 145 | html { 146 | font-size: var(--percentage-font-10); 147 | } 148 | 149 | /* 150 | Doing a small reset to remove all padding and margins and 151 | setting the box model to border box for better designs 152 | */ 153 | * { 154 | margin: 0; 155 | padding: 0; 156 | box-sizing: border-box; 157 | } 158 | 159 | /* 160 | When you focus an element, we sometimes want the 161 | focus to follow the curves of a buttons radius, 162 | this is how you do that by setting the box-shadow 163 | */ 164 | *:focus { 165 | outline: none; 166 | box-shadow: inset 0 0 0 2px var(--clr-shadow); 167 | } 168 | 169 | /* 170 | whenever you select something on your page by dragging 171 | your cursor over it, this should control that. 172 | */ 173 | ::selection { 174 | background-color: var(--clr-paragraph); 175 | color: var(--clr-background-tint); 176 | } 177 | 178 | body { 179 | font-family: var(--typeface-karla); 180 | font-size: var(--font-18); 181 | font-weight: var(--font-weight-400); 182 | line-height: var(--line-height-1); 183 | letter-spacing: var(--letter-space-n05); 184 | background-color: var(--clr-background-tint); 185 | color: var(--clr-paragraph); 186 | } 187 | 188 | /* repeatable code */ 189 | /* 190 | These are classes that would be repeated through out the document 191 | If you find yourself repeating the same sort of style, then best 192 | is to make it a repeatable class once and just the class to the html 193 | */ 194 | .section-padding { 195 | padding: var(--spacing-96) 0; 196 | } 197 | 198 | /* 199 | Containers are what control the center align 200 | and width of the content displayed, its also 201 | where we place spacing between the edge of 202 | the document and its content. 203 | 204 | Why 2 containers?, this is a design choice to 205 | make the hero a little larger in width. 206 | */ 207 | .container { 208 | margin: 0 auto; 209 | max-width: 120rem; 210 | padding: 0 var(--spacing-48); 211 | } 212 | 213 | .container-hero { 214 | max-width: 130rem; 215 | } 216 | 217 | /* 218 | Pre headings is another design choice, 219 | it just helps to give that little bit 220 | extra info to a heading, of it as a 221 | heading to a heading. 222 | */ 223 | .pre-heading { 224 | display: inline-block; 225 | padding: 0.15rem 0.45rem; 226 | font-family: var(--typeface-inconsolata); 227 | font-size: var(--font-14); 228 | font-weight: var(--font-weight-700); 229 | line-height: var(--line-height-15); 230 | letter-spacing: var(--letter-space-p1); 231 | text-transform: uppercase; 232 | color: var(--clr-background-tint); 233 | background-color: var(--clr-paragraph); 234 | margin-bottom: var(--spacing-12); 235 | } 236 | 237 | .heading-primary, 238 | .heading-secondary, 239 | .heading-tertiary { 240 | font-weight: var(--font-weight-700); 241 | line-height: var(--line-height-11); 242 | letter-spacing: var(--letter-space-n1); 243 | } 244 | 245 | .heading-primary { 246 | font-size: var(--font-44); 247 | margin-bottom: var(--spacing-48); 248 | } 249 | 250 | .heading-secondary { 251 | font-size: var(--font-36); 252 | margin-bottom: var(--spacing-96); 253 | } 254 | 255 | .heading-tertiary { 256 | font-size: var(--font-32); 257 | margin-bottom: var(--spacing-32); 258 | } 259 | 260 | .grid { 261 | display: grid; 262 | column-gap: var(--spacing-48); 263 | row-gap: var(--spacing-24); 264 | } 265 | 266 | .grid--2-cols { 267 | grid-template-columns: repeat(2, 1fr); 268 | } 269 | 270 | .link, 271 | .link:link, 272 | .link:visited { 273 | display: inline-block; 274 | text-decoration: none; 275 | font-family: var(--typeface-monospace); 276 | font-weight: var(--font-weight-500); 277 | cursor: pointer; 278 | } 279 | 280 | /* 281 | helper classes, are just small little helpers 282 | that provide a specific function 283 | */ 284 | .grid--center-v { 285 | align-items: center; 286 | } 287 | 288 | .margin-right-sm { 289 | margin-right: var(--spacing-12); 290 | } 291 | 292 | .center-text { 293 | text-align: center; 294 | } 295 | 296 | .display-block { 297 | display: block; 298 | } 299 | 300 | .hide { 301 | visibility: hidden; 302 | } 303 | 304 | /* section header */ 305 | .header { 306 | position: relative; 307 | } 308 | 309 | /* media queries */ 310 | /* 1151px / 16 = 72em */ 311 | @media only screen and (max-width: 72em) { 312 | html { 313 | font-size: var(--percentage-font-9); 314 | } 315 | } 316 | 317 | /* 944px / 16 = 59em */ 318 | @media only screen and (max-width: 59em) { 319 | html { 320 | font-size: var(--percentage-font-8); 321 | } 322 | 323 | .grid { 324 | column-gap: var(--spacing-24); 325 | } 326 | 327 | .scrimba-contributors--container { 328 | column-gap: var(--spacing-32) !important; 329 | } 330 | } 331 | 332 | /* 767px / 16 = 44em */ 333 | @media only screen and (max-width: 44em) { 334 | .grid--2-cols { 335 | grid-template-columns: 1fr; 336 | } 337 | 338 | .section-padding { 339 | padding: var(--spacing-64) 0; 340 | } 341 | 342 | .hero-img-box { 343 | order: -1; 344 | } 345 | 346 | .scrimba-contributors--container { 347 | row-gap: var(--spacing-48) !important; 348 | } 349 | } 350 | 351 | /* 455px / 16 = 44em */ 352 | @media only screen and (max-width: 29em) { 353 | .container { 354 | padding: 0 var(--spacing-24); 355 | } 356 | 357 | .link--hero { 358 | display: block; 359 | width: 100%; 360 | } 361 | 362 | .link--hero:first-of-type { 363 | margin-bottom: var(--spacing-12); 364 | } 365 | 366 | .scrimba-contributors--container { 367 | padding: 0 var(--spacing-32) !important; 368 | row-gap: var(--spacing-24) !important; 369 | } 370 | } 371 | -------------------------------------------------------------------------------- /assets/css/darkmode.css: -------------------------------------------------------------------------------- 1 | /* ========================== 2 | Dark Mode Styles 3 | ========================== */ 4 | 5 | /* =============================================== 6 | NOTE: for future dark-mode styles make sure to 7 | add .dark-mode before your style declarations 8 | like => .dark-mode .img-main { ... } 9 | =============================================== */ 10 | 11 | .dark-mode .link-color, 12 | .dark-mode .done-by--link, 13 | .dark-mode .done-by--link:link, 14 | .dark-mode .done-by--link:visited { 15 | color: var(--clr-terracotta); 16 | } 17 | 18 | .dark-mode .done-by--link:hover, 19 | .dark-mode .done-by--link:active { 20 | border-bottom: 1px solid var(--clr-terracotta); 21 | } 22 | 23 | .dark-mode .scrimba-contributors { 24 | color: var(--clr-paragraph); 25 | } 26 | 27 | body.dark-mode, 28 | .dark-mode header, 29 | .dark-mode .side-nav { 30 | background: var(--clr-maroon-overload-will-s-205); 31 | } 32 | 33 | body.dark-mode, 34 | .dark-mode .nav-item { 35 | color: silver; 36 | } 37 | 38 | .dark-mode header { 39 | box-shadow: 0 0 5px var(--clr-blinding-light); 40 | } 41 | -------------------------------------------------------------------------------- /assets/css/index.css: -------------------------------------------------------------------------------- 1 | @import url('./base.css'); 2 | @import url('./darkmode.css'); 3 | @import url('./nav.css'); 4 | 5 | /* 6 | Only styles for index.html go here, 7 | take a look at the STYLE_GUIDE.md to get a better understanding of CSS Variables and importing fonts & other stylesheets. 8 | */ 9 | 10 | /* =========================== 11 | Utility Classes 12 | =========================== */ 13 | 14 | .visually-hidden { 15 | border: 0; 16 | padding: 0; 17 | margin: 0; 18 | position: absolute !important; 19 | height: 1px; 20 | width: 1px; 21 | overflow: hidden; 22 | clip: rect( 23 | 1px 1px 1px 1px 24 | ); /* IE6, IE7 - a 0 height clip, off to the bottom right of the visible 1px box */ 25 | clip: rect( 26 | 1px, 27 | 1px, 28 | 1px, 29 | 1px 30 | ); /*maybe deprecated but we need to support legacy browsers */ 31 | clip-path: inset( 32 | 50% 33 | ); /*modern browsers, clip-path works inwards from each corner*/ 34 | white-space: nowrap; /* added line to stop words getting smushed together (as they go onto seperate lines and some screen readers do not understand line feeds as a space */ 35 | } 36 | 37 | /* =========================== 38 | page-container 39 | =========================== */ 40 | 41 | .page-container { 42 | display: grid; 43 | grid-template-columns: 100vw 60vw; /* Sets the side menu off screen to the left */ 44 | overflow-x: hidden; 45 | } 46 | 47 | /* =========================== 48 | header elements 49 | =========================== */ 50 | 51 | .header { 52 | display: flex; 53 | padding: var(--spacing-24) var(--spacing-24); 54 | box-shadow: 0 0.4rem 0.4rem -0.5rem var(--clr-shadow); 55 | background-color: var(--clr-blueberry-pastel-dark); 56 | } 57 | 58 | /* =========================== 59 | section-hero 60 | =========================== */ 61 | 62 | .section-hero { 63 | } 64 | 65 | .hero { 66 | } 67 | 68 | .hero-text-box { 69 | } 70 | 71 | .hero-text { 72 | margin-bottom: var(--spacing-12); 73 | } 74 | 75 | .hero-text:last-of-type { 76 | margin-bottom: var(--spacing-24); 77 | } 78 | 79 | .link--hero { 80 | text-align: center; 81 | padding: var(--spacing-16) var(--spacing-24); 82 | border: 2px solid var(--clr-stroke); 83 | border-radius: 0.8rem; 84 | color: var(--clr-button-text); 85 | background-color: var(--clr-button); 86 | box-shadow: 0 0.4rem 0.4rem -0.5rem var(--clr-shadow); 87 | } 88 | 89 | .hero-img-box { 90 | display: flex; 91 | justify-content: center; 92 | align-items: center; 93 | } 94 | 95 | .hero-img { 96 | width: 100%; 97 | max-width: 50rem; 98 | filter: contrast(0.85) saturate(0.95) brightness(1.1); 99 | transition: all 0.8s ease-in-out; 100 | } 101 | 102 | .hero-img:hover { 103 | cursor: pointer; 104 | transform: scale(1.6); 105 | } 106 | 107 | .current-local-time { 108 | text-align: right; 109 | font-size: var(--font-24); 110 | background: linear-gradient( 111 | to right, 112 | #3c3cbd, 113 | #0059ff, 114 | #8f6901, 115 | #ff3399, 116 | #3f3fd1 117 | ); 118 | -webkit-background-clip: text; 119 | background-clip: text; 120 | color: transparent; 121 | animation: rainbow_animation 10s 1s infinite; 122 | background-size: 400% 100%; 123 | margin-bottom: var(--spacing-4); 124 | z-index: 1; 125 | } 126 | 127 | .scrimba { 128 | background-color: var(--clr-button-plus); 129 | } 130 | 131 | /* ============================= 132 | moving rainbow gradient effect 133 | ============================= */ 134 | 135 | @keyframes rainbow_animation { 136 | 0%, 137 | 100% { 138 | background-position: 0 0; 139 | } 140 | 141 | 50% { 142 | background-position: 100% 0; 143 | } 144 | } 145 | 146 | /* ================================ 147 | section scrimba-likes 148 | ================================ */ 149 | 150 | .section-scrimba-contributors { 151 | } 152 | 153 | .scrimba-contributors { 154 | } 155 | 156 | .scrimba-contributors--container { 157 | position: relative; 158 | padding: 1rem 4rem; 159 | width: 100%; 160 | row-gap: var(--spacing-32); 161 | } 162 | 163 | .scrimba-contributors-card { 164 | border: 2px solid var(--clr-stroke); 165 | border-radius: 0.8rem; 166 | height: fit-content; 167 | display: flex; 168 | justify-content: center; 169 | align-items: flex-start; 170 | background-color: var(--clr-accent-tint); 171 | } 172 | 173 | .scrimba-contributors--user-img-box { 174 | flex: 1; 175 | border: 2px solid var(--clr-stroke); 176 | border-radius: 50%; 177 | display: flex; 178 | justify-content: center; 179 | align-items: center; 180 | transform: scale(1.2) translateX(-10%); 181 | box-shadow: 0 0 0.4rem -0.2rem var(--clr-shadow); 182 | overflow: hidden; 183 | } 184 | 185 | .scrimba-contributors--user-img { 186 | border-radius: 50%; 187 | width: 100%; 188 | transition: transform 0.25s ease-in; 189 | } 190 | 191 | .scrimba-contributors-card:hover .scrimba-contributors--user-img { 192 | transform: scale(1.1); 193 | } 194 | 195 | .scrimba-contributors--user-text-box { 196 | flex: 3; 197 | padding: 1.5rem 1rem; 198 | display: flex; 199 | flex-direction: column; 200 | } 201 | 202 | .user-text-box-header { 203 | display: flex; 204 | align-items: flex-start; 205 | margin-bottom: var(--spacing-16); 206 | } 207 | 208 | .username-container { 209 | display: flex; 210 | flex-direction: column; 211 | } 212 | 213 | .scrimba-contributors--username { 214 | font-size: var(--font-24); 215 | font-weight: var(--font-weight-500); 216 | margin-bottom: var(--spacing-2); 217 | } 218 | 219 | .scrimba-contributors--link { 220 | position: relative; 221 | width: fit-content; 222 | font-size: var(--font-14); 223 | color: inherit; 224 | text-decoration: none; 225 | margin-bottom: var(--spacing-8); 226 | cursor: pointer; 227 | } 228 | 229 | .scrimba-contributors--link::after { 230 | content: 'GitHub'; 231 | position: absolute; 232 | top: 50%; 233 | right: 0; 234 | padding: 0.3rem 0.7rem; 235 | border-radius: 0.8rem; 236 | transform: translate(100%, -45%); 237 | font-size: var(--font-14); 238 | font-weight: var(--font-weight-700); 239 | color: var(--clr-accent-tint); 240 | background-color: var(--clr-paragraph); 241 | opacity: 0; 242 | transition: transform 0.15s cubic-bezier(0, 0, 0.6, 1), 243 | opacity 0.15s cubic-bezier(0, 0, 0.6, 1); 244 | } 245 | 246 | .scrimba-contributors-card:hover .scrimba-contributors--link::after { 247 | opacity: 1; 248 | transform: translate(110%, -45%); 249 | } 250 | 251 | .scrimba-contributors--fav-icecream { 252 | font-size: var(--font-14); 253 | font-weight: var(--font-weight-500); 254 | } 255 | 256 | .scrimba-contributors--location { 257 | margin-left: auto; 258 | font-size: var(--font-14); 259 | font-weight: var(--font-weight-500); 260 | } 261 | 262 | .scrimba-contributors--user-comment { 263 | font-size: var(--font-16); 264 | } 265 | 266 | .load-more { 267 | padding: 1rem; 268 | border: none; 269 | border-radius: 50%; 270 | position: absolute; 271 | bottom: 0; 272 | left: 50%; 273 | transform: translate(-50%, 5rem); 274 | display: flex; 275 | justify-content: center; 276 | align-items: center; 277 | background-color: var(--clr-button); 278 | transition: transform 0.15s cubic-bezier(0, 0, 0.6, 1), 279 | box-shadow 0.15s cubic-bezier(0, 0, 0.6, 1); 280 | cursor: pointer; 281 | } 282 | 283 | .load-more:hover { 284 | transform: translate(-50%, 4.8rem); 285 | box-shadow: 0 0.4rem 0.4rem -0.4rem var(--clr-shadow); 286 | } 287 | 288 | .load-more--icon { 289 | width: 2rem; 290 | height: 2rem; 291 | color: var(--clr-paragraph); 292 | } 293 | 294 | /* ========================= 295 | section footer 296 | ========================= */ 297 | 298 | .done-by { 299 | font-size: var(--font-12); 300 | line-height: var(--line-height-15); 301 | letter-spacing: var(--letter-space-n05); 302 | } 303 | 304 | .done-by--link, 305 | .done-by--link:link, 306 | .done-by--link:visited { 307 | display: inline-block; 308 | font-size: var(--font-14); 309 | font-weight: var(--font-weight-500); 310 | text-decoration: none; 311 | color: var(--clr-paragraph); 312 | } 313 | 314 | .done-by--link:hover, 315 | .done-by--link:active { 316 | border-bottom: 1px solid var(--clr-paragraph); 317 | } 318 | 319 | /* ============================ 320 | CSS hover effects for links 321 | ============================ */ 322 | 323 | .hover-effect:hover { 324 | background: #8a2387; 325 | /* fallback for old browsers */ 326 | background: -webkit-linear-gradient(to right, #f27121, #e94057, #8a2387); 327 | /* Chrome 10-25, Safari 5.1-6 */ 328 | background: linear-gradient(to right, #f27121, #e94057, #8a2387); 329 | /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ 330 | opacity: 1; 331 | box-shadow: 0 8px 20px 0px rgba(0, 0, 0, 0.125); 332 | } 333 | 334 | /* =========================== 335 | Theme Switch CSS 336 | =========================== */ 337 | 338 | .switch { 339 | /* position: relative; */ 340 | position: absolute; 341 | display: inline-block; 342 | width: 60px; 343 | height: 34px; 344 | /* margin-left: auto; */ 345 | right: 2rem; 346 | } 347 | 348 | .switch input { 349 | opacity: 0; 350 | width: 0; 351 | height: 0; 352 | } 353 | 354 | .slider { 355 | position: absolute; 356 | cursor: pointer; 357 | top: 0; 358 | left: 0; 359 | right: 0; 360 | bottom: 0; 361 | background-color: #e9e9e9; 362 | -webkit-transition: 0.4s; 363 | transition: 0.4s; 364 | box-shadow: 0 0 3px #000; 365 | } 366 | 367 | .slider:before { 368 | position: absolute; 369 | content: ''; 370 | height: 26px; 371 | width: 26px; 372 | left: 4px; 373 | bottom: 4px; 374 | background-color: white; 375 | -webkit-transition: 0.4s; 376 | transition: 0.4s; 377 | } 378 | 379 | input:checked + .slider:before { 380 | -webkit-transform: translateX(26px); 381 | -ms-transform: translateX(26px); 382 | transform: translateX(26px); 383 | } 384 | 385 | /* Rounded sliders */ 386 | 387 | .slider.round { 388 | border-radius: 34px; 389 | } 390 | 391 | .slider.round:before { 392 | border-radius: 50%; 393 | background-image: url('../images/hero/sun.png'); 394 | background-size: cover; 395 | background-size: 70%; 396 | background-repeat: no-repeat; 397 | background-position: center; 398 | background-color: rgb(254, 237, 91); 399 | box-shadow: 0 0 3px #000; 400 | } 401 | -------------------------------------------------------------------------------- /assets/css/nav.css: -------------------------------------------------------------------------------- 1 | /* ========================== 2 | Nav Styles 3 | ========================== */ 4 | 5 | .main-container, 6 | .side-nav { 7 | transition: transform 0.3s; 8 | transition-timing-function: cubic-bezier(0.52, 0.18, 0.29, 0.78); /* custom */ 9 | } 10 | 11 | .shift { 12 | transform: translateX(-60vw); 13 | } 14 | 15 | .material-symbols-rounded { 16 | font-size: 5rem; 17 | color: var(--clr-blinding-light); 18 | font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 40; 19 | } 20 | 21 | .current { 22 | color: var(--clr-accent); 23 | } 24 | 25 | .nav-desktop { 26 | display: none; 27 | } 28 | 29 | .nav-bar { 30 | width: 100%; 31 | } 32 | 33 | .nav-mobile { 34 | display: flex; 35 | gap: var(--spacing-24); 36 | align-items: center; 37 | justify-content: space-evenly; 38 | } 39 | 40 | .nav-item { 41 | font-family: var(--typeface-karla); 42 | font-weight: var(--font-weight-700); 43 | font-size: var(--font-24); 44 | text-decoration: none; 45 | letter-spacing: 0.1rem; 46 | background: linear-gradient( 47 | to bottom, 48 | var(--clr-blinding-light), 49 | var(--clr-blinding-light) 63%, 50 | var(--clr-background-tint) 63%, 51 | var(--clr-background-tint) 100% 52 | ); 53 | background-clip: text; 54 | -webkit-background-clip: text; 55 | color: transparent; 56 | background-repeat: no-repeat; 57 | transition: all 0.2s ease-out; 58 | white-space: nowrap; 59 | position: relative; 60 | display: inline-block; 61 | line-height: normal; 62 | } 63 | 64 | .nav-span { 65 | position: relative; 66 | } 67 | 68 | /* Creates the bar under the text */ 69 | .nav-span:before { 70 | content: ''; 71 | position: absolute; 72 | left: 0; 73 | right: 0; 74 | height: 0.75rem; 75 | background: var(--clr-paragraph); 76 | bottom: 0.31rem; 77 | transition: all 0.2s ease-out; 78 | border-radius: 0.125rem; 79 | } 80 | 81 | .nav-item:hover, 82 | .nav-item:focus, 83 | .nav-item-current { 84 | background-position: 0 4px; 85 | color: var(--clr-blinding-light); 86 | } 87 | 88 | .nav-span:hover::before, 89 | .nav-span:has(.nav-item:focus)::before, 90 | .nav-span-current::before { 91 | transform: translateY(10px); 92 | background: var(--clr-accent); 93 | } 94 | 95 | .nav-span-current:before { 96 | height: 4px; 97 | bottom: 6px; 98 | } 99 | 100 | /* ========================== 101 | Side Nav 102 | ========================== */ 103 | 104 | .side-nav { 105 | display: flex; 106 | flex-direction: column; 107 | align-items: center; 108 | gap: 3rem; 109 | background-color: var(--clr-blueberry-pastel-dark); 110 | padding: 4rem 2rem; 111 | box-shadow: -0.4rem 0 0.6rem -0.5rem var(--clr-shadow); 112 | } 113 | 114 | .switch-side-nav { 115 | position: relative !important; /* !important is needed to override the index.css because nav is imported into it, index.css has more specificity */ 116 | margin-left: auto; 117 | } 118 | 119 | /* ========================== 120 | Media Queries 121 | ========================== */ 122 | 123 | /* 768px / 16 = 49em */ 124 | @media only screen and (min-width: 48em) { 125 | .nav-bar { 126 | margin: 0 auto; 127 | max-width: 120rem; 128 | min-width: 29rem; 129 | padding: 0 var(--spacing-48); 130 | } 131 | 132 | .side-nav { 133 | display: none; 134 | } 135 | 136 | .nav-mobile { 137 | display: none; 138 | } 139 | 140 | .nav-desktop { 141 | display: flex; 142 | gap: var(--spacing-24); 143 | align-items: center; 144 | justify-content: space-evenly; 145 | } 146 | } 147 | 148 | /* 149 | Mobile Safari automatically scales text if it thinks the text will render too small. 150 | It was causing issues with the alinement of the .nav-span::before on mobile safari. 151 | -webkit-text-size-adjust: 100%, fixes it 152 | */ 153 | @media screen and (max-device-width: 480px) { 154 | html { 155 | -webkit-text-size-adjust: 100%; 156 | } 157 | 158 | /* 159 | This removes the hover effect. It doesn't work/look good on mobile. 160 | */ 161 | .nav-span:hover::before, 162 | .nav-span:has(.nav-item:focus)::before { 163 | transform: none; 164 | background-color: inherit; 165 | } 166 | } 167 | -------------------------------------------------------------------------------- /assets/css/open-source-projects.css: -------------------------------------------------------------------------------- 1 | li { 2 | list-style: none; 3 | border: 2px solid; 4 | padding: 1.5em 1em 1em 1em; 5 | line-height: 1.3; 6 | color: var(--clr-background-tint); 7 | background-color: var(--clr-paragraph); 8 | } 9 | 10 | li p { 11 | margin-bottom: 0.5em; 12 | } 13 | 14 | #open-source-projects-list-el li a { 15 | color: inherit; 16 | text-decoration: none; 17 | font-weight: 600; 18 | } 19 | 20 | .project-list-item-header { 21 | margin-bottom: 0.5em; 22 | } 23 | 24 | img { 25 | display: block; 26 | max-width: 100%; 27 | } -------------------------------------------------------------------------------- /assets/images/hero/hero-min.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/hero/hero-min.png -------------------------------------------------------------------------------- /assets/images/hero/hero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/hero/hero.png -------------------------------------------------------------------------------- /assets/images/hero/hero.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/hero/hero.webp -------------------------------------------------------------------------------- /assets/images/hero/sun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/hero/sun.png -------------------------------------------------------------------------------- /assets/images/readme/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/readme/.gitkeep -------------------------------------------------------------------------------- /assets/images/readme/new_issue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/readme/new_issue.png -------------------------------------------------------------------------------- /assets/images/scrimba-likes-default/default-0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/scrimba-likes-default/default-0.jpg -------------------------------------------------------------------------------- /assets/images/scrimba-likes-default/default-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/scrimba-likes-default/default-1.jpg -------------------------------------------------------------------------------- /assets/images/scrimba-likes-default/default-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/scrimba-likes-default/default-2.jpg -------------------------------------------------------------------------------- /assets/images/scrimba-likes-default/default-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/scrimba-likes-default/default-3.jpg -------------------------------------------------------------------------------- /assets/images/scrimba-likes-default/default-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/scrimba-likes-default/default-4.jpg -------------------------------------------------------------------------------- /assets/images/scrimba-likes-default/default-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/scrimba-likes-default/default-5.jpg -------------------------------------------------------------------------------- /assets/images/scrimba-likes-default/default-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/scrimba-likes-default/default-6.jpg -------------------------------------------------------------------------------- /assets/images/scrimba-likes-default/default-7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/scrimba-likes-default/default-7.jpg -------------------------------------------------------------------------------- /assets/images/scrimba-likes-default/default-8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/scrimba-likes-default/default-8.jpg -------------------------------------------------------------------------------- /assets/images/scrimba-likes-default/default-9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaella23/bootcamp-collab/dc3f0f2b6e952b13b10701cbc50ec4be7ad07e36/assets/images/scrimba-likes-default/default-9.jpg -------------------------------------------------------------------------------- /assets/javascript/about.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | import { lightTheme, darkTheme, themeBtnHandler, timeOfDay } from './theme.js' 3 | 4 | // const themeBtnEl = document.querySelector('.theme-button'); 5 | const themeSwitch = document.querySelectorAll('#theme-switch'); 6 | const currentTheme = JSON.parse(localStorage.getItem('currentTheme')); 7 | 8 | if (currentTheme) { 9 | currentTheme === 'DARK' 10 | ? darkTheme(themeSwitch) 11 | : lightTheme(themeSwitch) 12 | } else { 13 | timeOfDay(themeSwitch); 14 | } 15 | 16 | // Watches both buttons for a click event 17 | const themeSwitchArray = Array.from(themeSwitch) 18 | 19 | themeSwitchArray.map(theme => { 20 | theme.addEventListener('click', () => { 21 | themeBtnHandler(themeSwitch) 22 | }) 23 | }) -------------------------------------------------------------------------------- /assets/javascript/app.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | import { lightTheme, darkTheme, themeBtnHandler, timeOfDay } from './theme.js' 3 | 4 | const currentLocalTimeEl = document.getElementById('current-local-time'); 5 | const greetingEl = document.querySelector('#greeting'); 6 | 7 | setInterval(() => { 8 | const currentLocalTime = new Date().toLocaleTimeString(); 9 | const date = new Date(); 10 | const hours = date.getHours(); 11 | 12 | let timeOfDay; 13 | let timeOfDayEmote; 14 | 15 | if (hours < 12) { 16 | timeOfDay = "morning" 17 | timeOfDayEmote = '🌄'; 18 | } else if (hours >= 12 && hours < 17) { 19 | timeOfDay = "afternoon" 20 | timeOfDayEmote = '🌅'; 21 | } else { 22 | timeOfDay = "night" 23 | timeOfDayEmote = '🌆'; 24 | } 25 | // show current time 26 | currentLocalTimeEl.textContent = `Local Time: ${currentLocalTime}`; 27 | greetingEl.textContent = `Good ${timeOfDay} ${timeOfDayEmote} bootcamp students!` 28 | }, 1000) 29 | 30 | // const themeBtnEl = document.querySelector('.theme-button'); 31 | const themeSwitch = document.querySelectorAll('#theme-switch'); 32 | const currentTheme = JSON.parse(localStorage.getItem('currentTheme')); 33 | 34 | if (currentTheme) { 35 | currentTheme === 'DARK' 36 | ? darkTheme(themeSwitch) 37 | : lightTheme(themeSwitch) 38 | } else { 39 | timeOfDay(themeSwitch); 40 | } 41 | 42 | // Watches both buttons for a click 43 | const themeSwitchArray = Array.from(themeSwitch) 44 | 45 | themeSwitchArray.map(theme => { 46 | theme.addEventListener('click', () => { 47 | themeBtnHandler(themeSwitch) 48 | }) 49 | }) 50 | -------------------------------------------------------------------------------- /assets/javascript/contributors-component.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import { contributors } from "./contributors.js"; 4 | 5 | const scrimbaContributorsContainerEl = document.querySelector('.scrimba-contributors--container'); 6 | const scrimbaContributorsLoadMoreBtnEl = document.querySelector('.load-more'); 7 | 8 | // How many contributors to render 9 | const maxLoadOfContributors = 6; 10 | 11 | /* 12 | The function below generates a random number for 13 | a random default profile image 14 | */ 15 | const randomDefaultProfilePic = function () { 16 | const randomNumber = Math.floor(Math.random() * 10); 17 | 18 | return `./assets/images/scrimba-likes-default/default-${randomNumber}.jpg` 19 | } 20 | 21 | const randomContributor = function () { 22 | return Math.floor(Math.random() * contributors.length); 23 | } 24 | 25 | /* 26 | Below are a bunch of bite sized create... Element functions 27 | that just create elements, add classes/attributes/content 28 | */ 29 | const createScrimbaContributorsCardEl = function () { 30 | const scrimbaContributorsCardEl = document.createElement('div'); 31 | scrimbaContributorsCardEl.classList.add('scrimba-contributors-card'); 32 | return scrimbaContributorsCardEl; 33 | } 34 | 35 | const createUserImgBoxEl = function () { 36 | const userImgBoxEl = document.createElement('div'); 37 | userImgBoxEl.classList.add('scrimba-contributors--user-img-box'); 38 | 39 | return userImgBoxEl; 40 | } 41 | 42 | const createUserImgEl = function (index) { 43 | const userImgEl = document.createElement('img'); 44 | // if they have a profile image set the alt text should add their name to the alt text 45 | // otherwise it serves an empty alt tag for screen readers to pass over 46 | const userImgAlt = contributors[index].profileImage ? `profile of ${contributors[index].name}` : '' 47 | userImgEl.setAttribute('alt', userImgAlt) 48 | 49 | // give a random default avatar if they don't have a profile image 50 | const ifUserImage = contributors[index].profileImage ? contributors[index].profileImage : randomDefaultProfilePic(); 51 | userImgEl.classList.add('scrimba-contributors--user-img'); 52 | userImgEl.setAttribute('src', ifUserImage); 53 | 54 | return userImgEl; 55 | } 56 | 57 | const createUserTextBoxEl = function () { 58 | const userTextBoxEl = document.createElement('div'); 59 | userTextBoxEl.classList.add('scrimba-contributors--user-text-box'); 60 | 61 | return userTextBoxEl; 62 | } 63 | 64 | const createUserTextBoxHeaderEl = function () { 65 | const userTextBoxHeaderEl = document.createElement('div'); 66 | userTextBoxHeaderEl.classList.add('user-text-box-header'); 67 | 68 | return userTextBoxHeaderEl; 69 | } 70 | 71 | const createUsernameContainerEl = function () { 72 | const usernameContainerEl = document.createElement('div'); 73 | usernameContainerEl.classList.add('username-container'); 74 | 75 | return usernameContainerEl; 76 | } 77 | 78 | const createUsernameEl = function (index) { 79 | const usernameEl = document.createElement('span'); 80 | usernameEl.classList.add('scrimba-contributors--username'); 81 | usernameEl.textContent = contributors[index].name; 82 | 83 | return usernameEl; 84 | } 85 | 86 | const createUserLinkEl = function (index) { 87 | const userLinkEl = document.createElement('a'); 88 | userLinkEl.classList.add('scrimba-contributors--link'); 89 | userLinkEl.setAttribute('href', contributors[index].githubLink); 90 | userLinkEl.setAttribute('target', '_blank'); 91 | userLinkEl.textContent = contributors[index].githubName; 92 | 93 | return userLinkEl; 94 | } 95 | 96 | const createFavIcecreamEl = function (index) { 97 | const favIcecreamEl = document.createElement('span'); 98 | favIcecreamEl.classList.add('scrimba-contributors--fav-icecream'); 99 | favIcecreamEl.textContent = `My favorite ice-cream is ${contributors[index].favorite_ice_cream}`; 100 | 101 | return favIcecreamEl; 102 | } 103 | 104 | const createLocationEl = function (index) { 105 | const locationEl = document.createElement('span'); 106 | locationEl.classList.add('scrimba-contributors--location'); 107 | locationEl.textContent = contributors[index].location; 108 | 109 | return locationEl; 110 | } 111 | 112 | const createUserCommentEl = function (index) { 113 | const userCommentEl = document.createElement('p'); 114 | userCommentEl.classList.add('scrimba-contributors--user-comment'); 115 | userCommentEl.textContent = contributors[index].likes; 116 | 117 | return userCommentEl; 118 | } 119 | 120 | const checkAllContributorsLoaded = function () { 121 | return contributors.length === 0; 122 | } 123 | 124 | /* 125 | Below are a bunch of append element functions 126 | */ 127 | const appendContentsUserImgBoxEl = function (userImgBoxEl, userImgEl) { 128 | userImgBoxEl.append(userImgEl); 129 | } 130 | 131 | const appendUsernameContainerEl = function (index, usernameContainerEl, usernameEl, userLinkEl, favIcecreamEl) { 132 | if (contributors[index].githubLink) { 133 | usernameContainerEl.append(usernameEl, userLinkEl, favIcecreamEl); 134 | } else { 135 | usernameContainerEl.append(usernameEl, favIcecreamEl); 136 | } 137 | } 138 | 139 | const appendUserTextBoxHeaderEl = function (userTextBoxHeaderEl, usernameContainerEl, locationEl) { 140 | userTextBoxHeaderEl.append(usernameContainerEl, locationEl); 141 | } 142 | 143 | const appendUserTextBoxEl = function (userTextBoxEl, userTextBoxHeaderEl, userCommentEl) { 144 | userTextBoxEl.append(userTextBoxHeaderEl, userCommentEl); 145 | } 146 | 147 | const appendScrimbaContributorsCardEl = function (scrimbaContributorsCardEl, userImgBoxEl, userTextBoxEl) { 148 | scrimbaContributorsCardEl.append(userImgBoxEl, userTextBoxEl); 149 | } 150 | 151 | const appendScrimbaContributorsContainerEl = function (scrimbaContributorsCardEl) { 152 | scrimbaContributorsContainerEl.append(scrimbaContributorsCardEl); 153 | } 154 | 155 | /* 156 | This function puts it all together, so that we can run this 157 | in a loop below this function 158 | */ 159 | const createScrimbaContributorsElements = function (index) { 160 | const scrimbaContributorsCardEl = createScrimbaContributorsCardEl(); 161 | const userImgBoxEl = createUserImgBoxEl(); 162 | const userImgEl = createUserImgEl(index); 163 | const userTextBoxEl = createUserTextBoxEl(); 164 | const userTextBoxHeaderEl = createUserTextBoxHeaderEl(); 165 | const usernameContainerEl = createUsernameContainerEl(); 166 | const usernameEl = createUsernameEl(index); 167 | const userLinkEl = createUserLinkEl(index); 168 | const favIcecreamEl = createFavIcecreamEl(index); 169 | const locationEl = createLocationEl(index); 170 | const userCommentEl = createUserCommentEl(index); 171 | 172 | appendContentsUserImgBoxEl(userImgBoxEl, userImgEl); 173 | appendUsernameContainerEl(index, usernameContainerEl, usernameEl, userLinkEl, favIcecreamEl); 174 | appendUserTextBoxHeaderEl(userTextBoxHeaderEl, usernameContainerEl, locationEl); 175 | appendUserTextBoxEl(userTextBoxEl, userTextBoxHeaderEl, userCommentEl); 176 | appendScrimbaContributorsCardEl(scrimbaContributorsCardEl, userImgBoxEl, userTextBoxEl) 177 | appendScrimbaContributorsContainerEl(scrimbaContributorsCardEl) 178 | } 179 | 180 | const renderScrimbaContributors = function () { 181 | const loadAmount = maxLoadOfContributors > contributors.length 182 | ? contributors.length 183 | : maxLoadOfContributors 184 | 185 | for (let i = 0; i < loadAmount; i++) { 186 | let randomIndex = randomContributor(); 187 | createScrimbaContributorsElements(randomIndex) 188 | // Delete selected element 189 | contributors.splice(randomIndex, 1) 190 | } 191 | } 192 | 193 | /* 194 | below is just a function that loads a specific amount of 195 | contriutors per click 196 | */ 197 | scrimbaContributorsLoadMoreBtnEl.addEventListener('click', function () { 198 | if (!checkAllContributorsLoaded()) { 199 | renderScrimbaContributors(); 200 | } 201 | if (checkAllContributorsLoaded()) { 202 | scrimbaContributorsLoadMoreBtnEl.remove() 203 | } 204 | }) 205 | 206 | const init = function () { 207 | renderScrimbaContributors(); 208 | } 209 | 210 | init() 211 | -------------------------------------------------------------------------------- /assets/javascript/contributors.js: -------------------------------------------------------------------------------- 1 | /* 2 | EXAMPLE: 3 | name: "William Step", 4 | githubName: 'will-s-205', 5 | location: "Union City, CA", 6 | favorite_ice_cream: 'chocolate', 7 | githubLink: 'https://github.com/will-s-205', 8 | profileImage: 'https://avatars.githubusercontent.com/u/97144951?v=4', 9 | likes: 'Everything that involves building new things' 10 | */ 11 | 12 | const contributors = [ 13 | { 14 | name: "William Step", 15 | githubName: "will-s-205", 16 | location: "Union City, CA", 17 | favorite_ice_cream: "chocolate", 18 | githubLink: "https://github.com/will-s-205", 19 | profileImage: "https://avatars.githubusercontent.com/u/97144951?v=4", 20 | likes: "Everything that involves building new things", 21 | load_check: false, 22 | }, 23 | { 24 | name: "Kevin Do", 25 | githubName: "test", 26 | location: "Florida, Fl, USA", 27 | favorite_ice_cream: "Milk chocolate", 28 | githubLink: "", 29 | profileImage: "", 30 | likes: "", 31 | load_check: false, 32 | }, 33 | { 34 | name: "Ali", 35 | githubName: "aliasimkazmi", 36 | location: "Global Citizen", 37 | favorite_ice_cream: "Coffee Coffee BuzzBuzzBuzz", 38 | githubLink: "https://github.com/aliasimkazmi", 39 | profileImage: "https://avatars.githubusercontent.com/u/4642709?v=4", 40 | likes: "Chocolate chip chookies with Tea(Chai)", 41 | load_check: false, 42 | }, 43 | { 44 | name: "Micha", 45 | githubName: "michaella23", 46 | location: "Austin, TX, USA", 47 | favorite_ice_cream: "dark chocolate", 48 | githubLink: "https://github.com/michaella23", 49 | profileImage: 50 | "https://avatars.githubusercontent.com/u/89760083?s=400&u=6bb83282490c6231089deb3d16d1a8c57bfa6d83&v=4", 51 | likes: 52 | "Scrimba Bootcamp rocks! I love the community and all the amazing projects people are building.", 53 | load_check: false, 54 | }, 55 | { 56 | name: "TONY", 57 | githubName: "tony1234", 58 | location: "", 59 | favorite_ice_cream: "dark chocolate", 60 | githubLink: "https://github.com", 61 | profileImage: "", 62 | likes: 63 | "Scrimba Bootcamp rocks! I love the community and all the amazing projects people are building.", 64 | load_check: false, 65 | }, 66 | { 67 | name: "MALONE", 68 | githubName: "malone1234", 69 | location: "", 70 | favorite_ice_cream: "Balone", 71 | githubLink: "https://github.com", 72 | profileImage: "", 73 | likes: 74 | "Scrimba Bootcamp rocks! I love the community and all the amazing projects people are building.", 75 | load_check: false, 76 | }, 77 | { 78 | name: "BALONE", 79 | githubName: "balone1234", 80 | location: "refrigerator", 81 | favorite_ice_cream: "", 82 | githubLink: "https://github.com", 83 | profileImage: "", 84 | likes: 85 | "Scrimba Bootcamp rocks! I love the community and all the amazing projects people are building.", 86 | load_check: false, 87 | }, 88 | { 89 | name: "SHALOOOM", 90 | githubName: "shalooom1234", 91 | location: "", 92 | favorite_ice_cream: "", 93 | githubLink: "https://github.com", 94 | profileImage: "", 95 | likes: 96 | "Scrimba Bootcamp rocks! I love the community and all the amazing projects people are building.", 97 | load_check: false, 98 | }, 99 | { 100 | name: "DOGS", 101 | githubName: "dogs1234", 102 | location: "doghouse", 103 | favorite_ice_cream: "", 104 | githubLink: "https://github.com", 105 | profileImage: "", 106 | likes: 107 | "Scrimba Bootcamp rocks! I love the community and all the amazing projects people are building.", 108 | load_check: false, 109 | }, 110 | { 111 | name: "CATS", 112 | githubName: "cats1234", 113 | location: "under the bed", 114 | favorite_ice_cream: "", 115 | githubLink: "https://github.com", 116 | profileImage: "", 117 | likes: 118 | "Scrimba Bootcamp rocks! I love the community and all the amazing projects people are building.", 119 | load_check: false, 120 | }, 121 | { 122 | name: "HATS", 123 | githubName: "hats1234", 124 | location: "closet", 125 | favorite_ice_cream: "", 126 | githubLink: "https://github.com", 127 | profileImage: "", 128 | likes: 129 | "Scrimba Bootcamp rocks! I love the community and all the amazing projects people are building.", 130 | load_check: false, 131 | }, 132 | { 133 | name: "Clare", 134 | githubName: "clare-boniface", 135 | location: "United Kingdom", 136 | favorite_ice_cream: "rum and raisin :-)", 137 | githubLink: "https://github.com", 138 | profileImage: "", 139 | likes: 140 | "Scrimba Bootcamp rocks! I love the community and all the amazing projects people are building.", 141 | load_check: false, 142 | }, 143 | { 144 | name: "THUNDERBOLT", 145 | githubName: "shantdashjian", 146 | location: "Armenia", 147 | favorite_ice_cream: "Chocolate, chocolate, and chocolate!", 148 | githubLink: "https://github.com/shantdashjian", 149 | profileImage: 150 | "https://avatars.githubusercontent.com/u/2113918?s=400&u=8af40a88b2b95b93e57fbfb6191989560877ab6a&v=4", 151 | likes: "Learning, teaching, and growing!", 152 | load_check: false, 153 | }, 154 | { 155 | name: "Tak", 156 | githubName: "tak40", 157 | location: "Boston, MA, USA", 158 | favorite_ice_cream: "Vanilla, Vanilla, and VANILLA! Did I mention Vanilla?", 159 | githubLink: "https://github.com/tak40", 160 | profileImage: "", 161 | likes: 162 | "At Scrimba Bootcamp, learning to code is like making ice cream - it starts cold and hard, but with the warmth of the community, it melts into something delightfully smooth... lol", 163 | load_check: false, 164 | }, 165 | { 166 | name: "Ajo", 167 | githubName: "ajoborgvold", 168 | location: "Scandinavia", 169 | favorite_ice_cream: "dark chocolate", 170 | githubLink: "https://github.com/ajoborgvold", 171 | profileImage: "", 172 | likes: 173 | "Scrimba Bootcamp rocks! I love the community and all the amazing projects people are building.", 174 | load_check: false, 175 | }, 176 | { 177 | name: "Christina", 178 | githubName: "codercreative", 179 | location: "CA", 180 | favorite_ice_cream: "cookie dough ice cream", 181 | githubLink: "https://github.com/codercreative", 182 | profileImage: "", 183 | likes: "Love the Scrimba Bootcamp!", 184 | load_check: false, 185 | }, 186 | { 187 | name: "Bradley", 188 | githubName: "bbrazis", 189 | location: "OR", 190 | favorite_ice_cream: "chocolate", 191 | githubLink: "https://github.com/bbrazis", 192 | profileImage: "https://avatars.githubusercontent.com/u/32001385?v=4", 193 | likes: "Video games, cats, and movies", 194 | load_check: false, 195 | }, 196 | { 197 | name: "Elena", 198 | githubName: "ElenaBlundell", 199 | location: "SD, USA", 200 | favorite_ice_cream: "rusberry-lemon", 201 | githubLink: "https://github.com/ElenaBlundell", 202 | profileImage: "https://media.licdn.com/dms/image/D5603AQH3a8Y-aYJvag/profile-displayphoto-shrink_800_800/0/1688400491987?e=1701907200&v=beta&t=ZoHa65IgbvlV1y8VhtQGSAdVMi7YWitxYuuI-wxGIWw", 203 | likes: "Hiking, rock climbing, board games", 204 | load_check: false, 205 | }, 206 | 207 | ]; 208 | 209 | export { contributors }; 210 | -------------------------------------------------------------------------------- /assets/javascript/nav.js: -------------------------------------------------------------------------------- 1 | // When menu button is clicked, the main container and side menu will shift to the right 2 | const menuButtonEl = document.querySelector('.menu-button'); 3 | const mainContainerEl = document.querySelector('.main-container'); 4 | const sideMenuEl = document.querySelector('.side-nav'); 5 | 6 | menuButtonEl.addEventListener('click', function () { 7 | mainContainerEl.classList.toggle('shift'); 8 | sideMenuEl.classList.toggle('shift'); 9 | }); -------------------------------------------------------------------------------- /assets/javascript/open-source-projects-component.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | import { openSourceProjects } from './open-source-projects.js' 3 | import { lightTheme, darkTheme, themeBtnHandler, timeOfDay } from './theme.js' 4 | 5 | 6 | const themeSwitch = document.querySelectorAll('#theme-switch'); 7 | const currentTheme = JSON.parse(localStorage.getItem('currentTheme')); 8 | 9 | if (currentTheme) { 10 | currentTheme === 'DARK' 11 | ? darkTheme(themeSwitch) 12 | : lightTheme(themeSwitch) 13 | } else { 14 | timeOfDay(themeSwitch); 15 | } 16 | 17 | const themeSwitchArray = Array.from(themeSwitch) 18 | 19 | themeSwitchArray.map(theme => { 20 | theme.addEventListener('click', () => { 21 | themeBtnHandler(themeSwitch) 22 | }) 23 | }) 24 | 25 | 26 | const openSourceProjectsListEl = document.getElementById('open-source-projects-list-el') 27 | 28 | const openSourceProjectsListHTML = openSourceProjects.map(({ name, description, githubURL, liveURL }) => { 29 | return ` 30 |
  • 31 |

    ${name}

    32 |

    ${description}

    33 |

    Visit the GitHub repository here and 34 | their website here.

    35 |
  • 36 | ` 37 | }).join('') 38 | 39 | openSourceProjectsListEl.innerHTML = openSourceProjectsListHTML 40 | -------------------------------------------------------------------------------- /assets/javascript/open-source-projects.js: -------------------------------------------------------------------------------- 1 | /* 2 | EXAMPLE: 3 | name: 'freeCodeCamp', 4 | description: "freeCodeCamp.org is a friendly community where you can learn to code for free.", 5 | githubURL: 'https://github.com/freeCodeCamp/freeCodeCamp', 6 | liveURL: 'https://www.freecodecamp.org/' 7 | */ 8 | 9 | const openSourceProjects = [ 10 | { 11 | name: 'freeCodeCamp', 12 | description: "freeCodeCamp.org is a friendly community where you can learn to code for free.", 13 | githubURL: 'https://github.com/freeCodeCamp/freeCodeCamp', 14 | liveURL: 'https://www.freecodecamp.org/' 15 | }, 16 | { 17 | name: 'Before I Die', 18 | description: "An open source project that helps developers make their first pull request and contribute to open source projects. 🚀🎯 Developers can contribute by sharing what they want to do before they die. 💡", 19 | githubURL: 'https://github.com/BeforeIDieCode/BeforeIDieAchievements', 20 | liveURL: 'https://before-i-die-achievements.vercel.app/' 21 | }, 22 | { 23 | name: 'first-contributions', 24 | description: "🚀✨ Help beginners to contribute to open source projects", 25 | githubURL: 'https://github.com/firstcontributions/first-contributions', 26 | liveURL: 'https://firstcontributions.github.io/' 27 | }, 28 | ] 29 | 30 | export { openSourceProjects } -------------------------------------------------------------------------------- /assets/javascript/theme.js: -------------------------------------------------------------------------------- 1 | // const themeLnkEl = document.querySelector('.link-color'); 2 | // const themeLnkEl2 = document.querySelector('.done-by--link'); 3 | // const header = document.querySelector('.header') 4 | // const navItems = document.getElementsByClassName('nav-item'); 5 | 6 | function darkTheme(btnEl) { 7 | localStorage.setItem('currentTheme', JSON.stringify('DARK')); 8 | // adds dark-mode class to body tag 9 | document.body.classList.add('dark-mode'); 10 | // sets checkbox to checked if dark-mode is enabled 11 | // There are two checkboxes, so we need to use Array.from() to convert the NodeList to an array 12 | Array.from(btnEl).map(btn => { 13 | btn.checked = true; 14 | }) 15 | // btnEl.checked = true; 16 | 17 | 18 | // document.body.style.color = "silver"; 19 | // document.body.style.background = "var(--clr-maroon-overload-will-s-205)"; 20 | // themeLnkEl.style.color="var(--clr-terracotta)"; 21 | // themeLnkEl2.style.color="var(--clr-terracotta)"; 22 | 23 | // header theme switch 24 | // header.style.background = "var(--clr-maroon-overload-opacity-70)"; 25 | // header.style.boxShadow = "0 0 5px var(--clr-blinding-light)"; 26 | 27 | // nav bar theme switch 28 | // for (let item of navItems) { 29 | // item.style.color = "silver" 30 | // } 31 | } 32 | 33 | function lightTheme(btnEl) { 34 | localStorage.setItem('currentTheme', JSON.stringify('LIGHT')); 35 | // removes dark-mode class from body tag 36 | document.body.classList.remove('dark-mode'); 37 | // removes checked from checkbox if dark-mode is not enabled 38 | // There are two checkboxes, so we need to use Array.from() to convert the NodeList to an array 39 | Array.from(btnEl).map(btn => { 40 | btn.checked = false; 41 | }) 42 | // btnEl.checked = false; 43 | // document.body.style.color = "var(--clr-paragraph)"; 44 | // document.body.style.background = "var(--clr-background-tint)"; 45 | // themeLnkEl.style.color="var(--clr-paragraph)"; 46 | // themeLnkEl2.style.color="var(--clr-paragraph)"; 47 | 48 | // header theme switch 49 | // header.style.background = "var(--clr-blueberry-pastel-tint-opacity-70)"; 50 | // header.style.boxShadow = "0 0 5px var(--clr-shadow)"; 51 | 52 | // nav bar theme switch 53 | // for (let item of navItems) { 54 | // item.style.color = "var(--clr-paragraph)" 55 | // } 56 | } 57 | 58 | function themeBtnHandler(btnEl) { 59 | // If no theme in localStorage, use timeOfDay() to decide theme 60 | const currentTheme = JSON.parse(localStorage.getItem('currentTheme')) || timeOfDay(); 61 | const nextTheme = 'LIGHT' === currentTheme ? 'DARK' : 'LIGHT'; 62 | 63 | // toggle theme of the webpage 64 | nextTheme === "DARK" 65 | ? darkTheme(btnEl) 66 | : lightTheme(btnEl) 67 | } 68 | 69 | const timeOfDay = (btnEl) => { 70 | const date = new Date(); 71 | const hours = date.getHours(); 72 | 73 | hours > 17 74 | ? darkTheme(btnEl) 75 | : lightTheme(btnEl) 76 | } 77 | 78 | export { lightTheme, darkTheme, themeBtnHandler, timeOfDay } 79 | -------------------------------------------------------------------------------- /html/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Bootcamp Collab 8 | 9 | 10 | 14 | 15 | 16 | 20 | 24 | 25 | 26 |
    27 |
    28 |
    29 | 65 |
    66 | 67 |
    68 |
    69 | 74 |
    75 |
    76 | 104 |
    105 |
    106 | 111 | 112 | Open Source Projects 115 | 116 |
    117 |
    118 | 119 | 120 | 121 | 122 | -------------------------------------------------------------------------------- /html/open-source-projects.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Bootcamp Collab 8 | 9 | 13 | 14 | 15 | 19 | 23 | 24 | 25 | 26 |
    27 |
    28 |
    29 | 67 |
    68 | 69 |
    70 |
    71 |
    72 |
    73 |
    74 | Let's Code! 75 |

    Open Source Projects

    76 |

    77 | Beginner-Friendly Open Source Projects to Contribute to 78 |

    79 |
      80 | 81 |
    82 |
    83 | 84 | 85 | let's code 89 | 90 |
    91 |
    92 |
    93 |
    94 | 122 |
    123 | 124 |
    125 | 130 | 131 | Open Source Projects 136 | 137 |
    138 |
    139 | 143 | 144 | 145 | 146 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Bootcamp Collab 8 | 9 | 10 | 14 | 15 | 19 | 23 | 24 | 25 | 26 |
    27 |
    28 |
    29 | 65 |
    66 | 67 |
    68 |
    69 |
    70 |
    71 |
    72 | 76 | 77 | Hello👋, bootcamp students! 78 | 79 |

    80 | Scrimbas Exclusive Open Source Project 81 |

    82 |

    83 | Welcome bootcamp students to experience an opportunity to 84 | practice forking, branching, making changes and making pull 85 | requests to an open source project. 86 |

    87 |

    88 | If you interested in joining this collaboration, join the 89 | bootcamp with the button below. 90 |

    91 | Project Repo 97 | Join the Bootcamp 103 |
    104 | 105 | 106 | 110 | 114 | 115 | 120 | 121 |
    122 |
    123 |
    124 | 125 |
    126 | 127 |
    128 | Scrimba = ❤️ 129 |

    Meet our amazing contributors

    130 |
    131 | 132 | 133 |
    134 |
    137 | 143 |
    144 |
    145 |
    146 |
    147 | 148 | 176 |
    177 | 178 |
    179 | 184 | 185 | Open Source Projects 188 | 189 |
    190 |
    191 | 192 | 193 | 197 | 198 | 199 | 200 | -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . --------------------------------------------------------------------------------