diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 402eeb701..e61e63f34 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ on: - 'v*' env: - DOCKER_REPO_NAME: kaw393939/mywebclass + DOCKER_REPO_NAME: tawanaarthur/project1 jobs: build: diff --git a/Team_Productivity_Log.md b/Team_Productivity_Log.md new file mode 100644 index 000000000..fc3abad51 --- /dev/null +++ b/Team_Productivity_Log.md @@ -0,0 +1,16 @@ +# Team Productivity Log + +This table tracks the progress of tasks in our project, including the issue title, story points, issue link, status, assigned to and assigned on, completed on, category, and status notes. + +| Issue title | Story points | Issue link | Status | Assigned to, Assigned on | Completed on | Category | Status notes | +|------------------------------------------|--------------|-----------------------------------------------------------------------|-------------|--------------------------|--------------|---------------|----------------------------------------------------------| +| Team Productivity Log | 1 | [Link](https://github.com/tawana0518/mywebclass-simulation/issues/11) | Completed | Rajiv, 2022-03-16 | 2022-03-16 | Documentation | Completed documenting Marked Down File | +| Internationalization Research | 2 | [Link](https://github.com/tawana0518/mywebclass-simulation/issues/3) | In Progress | Rajiv, 2022-03-15 | - | Research | Drafted initial version on Internationalization Research | +| Home Page | 5 | [Link](https://github.com/tawana0518/mywebclass-simulation/issues/2) | In Progress | Rajiv, 2022-03-14 | - | Enhancement | Initial analysis in progress | +| Front End Responsive Frameworks Research | 3 | [Link](https://github.com/tawana0518/mywebclass-simulation/issues/13) | To do | Rajiv, 2022-03-16 | - | Research | | +| Accessibility Research | 2 | [Link](https://github.com/tawana0518/mywebclass-simulation/issues/4) | Completed | Berta, 2022-03-14 | 2022-03-15 | Research | Drafted initial version on Accessibility Research | +| Legal compliance Research | 2 | [Link](https://github.com/tawana0518/mywebclass-simulation/issues/6) | Completed | Berta, 2022-03-14 | 2022-03-15 | Research | Drafted initial version for legal compliance and privacy policy Research | +| SEO research | 2 | [Link](https://github.com/tawana0518/mywebclass-simulation/issues/5) | Completed | Tawana, 2022-03-14 | 2022-03-15 | Research | Researched and draft SEO Research - found in Wiki | +|Playwright Tests Research | 3 | [Link](https://github.com/tawana0518/mywebclass-simulation/issues/12) | In progress | Tawana, 2022-03-17 | - | Research | Continuing research on playwright testing and lighthouse reports | +To add a new task to the table, a team member should create an issue on GitHub and add the link to the table with the relevant details. By keeping track of our progress in this table, we can ensure that tasks are assigned and completed efficiently and effectively. + diff --git a/docker-compose.yml b/docker-compose.yml index 80050ddea..f8bc5479d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ version: "3.8" services: master_branch: development_branch: - image: kaw393939/mywebclass:development + image: tawanaarthur/project1:development container_name: development_branch pull_policy: always restart: always diff --git a/package-lock.json b/package-lock.json index ff94ff7f0..daec82f8e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mywebclass.org", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mywebclass.org", - "version": "0.1.0", + "version": "0.1.1", "license": "MIT", "dependencies": { "@popperjs/core": "^2.11.6" diff --git a/package.json b/package.json index 9a0bbb78d..fd7eb9d2b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mywebclass.org", - "version": "0.1.0", + "version": "0.1.1", "description": "Help for students and teachers learning advanced technologies.", "main": "src/index.js", "directories": { @@ -25,14 +25,14 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/NJIT-WIS/mywebclass.git" + "url": "git+https://github.com/tawana0518/mywebclass-simulation.git" }, "author": "Keith Williams @ NJIT.EDU", "license": "MIT", "bugs": { - "url": "https://github.com/NJIT-WIS/mywebclass/issues" + "url": "https://github.com/tawana0518/mywebclass-simulation/issues" }, - "homepage": "https://github.com/NJIT-WIS/mywebclass#readme", + "homepage": "https://github.com/tawana0518/mywebclass-simulation#readme", "devDependencies": { "@playwright/test": "^1.31.1", "autoprefixer": "^10.4.13", diff --git a/readme.md b/readme.md index b85863e93..a69e96886 100644 --- a/readme.md +++ b/readme.md @@ -63,3 +63,4 @@ Finally, use Playwright to create powerful and reliable automated tests for web # ADD YOUR PROJECT LINKS BELOW THIS +[Github Pages Live Site Deployment](https://tawana0518.github.io/mywebclass-simulation/) diff --git a/src/index.html b/src/index.html index ad76fc58c..b069be521 100644 --- a/src/index.html +++ b/src/index.html @@ -1,4 +1,5 @@ +
diff --git a/src/js/main.js b/src/js/main.js index 1558c49d5..c7fe348c5 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -8,6 +8,8 @@ import allPage from './allPages' import contentPage from './contentPage' document.addEventListener('DOMContentLoaded', () => { + // @Rajiv 19th March - Call the setLanguage() function when the DOM content is loaded + setLanguage() allPage.initialize() contentPage.initialize() }) @@ -109,3 +111,15 @@ document.addEventListener('DOMContentLoaded', () => { createPrivacyModal() loadGoogleAnalytics() }) + +// @Rajiv 19th March - Create a JavaScript function in the main.js file to set the language attribute dynamically based on the user's language preference: +function setLanguage () { + // Get the user's preferred language + const userLang = navigator.language || navigator.userLanguage + + // Check if the user's language is supported (in this example, we're checking for English) + const supportedLang = userLang.substring(0, 2).toLowerCase() === 'en' ? 'en' : 'en' + + // Set the 'lang' attribute of the 'html' tag to the supported language + document.documentElement.setAttribute('lang', supportedLang) +} diff --git a/src/privacy.html b/src/privacy.html index 9337f1b6c..784ac182a 100644 --- a/src/privacy.html +++ b/src/privacy.html @@ -4,7 +4,7 @@ -We at mywebclass.org are committed to protecting your privacy. This Privacy Policy explains what - information we collect from you when you visit our website, how we use it, and how we protect - it. By using our website, you agree to the terms of this Privacy Policy.
+We at MyWebClass are committed to protecting your privacy. This privacy policy explains how we + collect, use, and protect your personal information when you use our website.
We may collect the following information from you when you visit our website:
+We may collect personal information from you when you visit our website, such as:
We use the information we collect from you for the following purposes:
We do not sell, rent, or trade your personal information to third parties. However, we may share + your personal information with third-party service providers who assist us in providing our services and products to you.
+We take reasonable measures to protect your personal information from unauthorized access, use, or disclosure. + However, we cannot guarantee the security of your information, as no method of transmission over the internet is completely secure.
+We are committed to ensuring that our website is accessible to everyone, including individuals with disabilities. + We strive to comply with the Web Content Accessibility Guidelines (WCAG) 2.1 Level AA.
We use Google Analytics to collect information about your use of our website. Google Analytics - collects information such as how often users visit the site, what pages they visit when they do - so, and what other sites they used prior to coming to our website. We use the information we get - from Google Analytics to improve our website and the user experience. Google Analytics collects - only the IP address assigned to you on the date you visit our website, rather than your name or - other identifying information. We do not combine the information collected through the use of - Google Analytics with personally identifiable information. Google Analytics plants a permanent - cookie on your web browser to identify you as a unique user the next time you visit our website. - This cookie cannot be used by anyone other than Google. Google’s ability to use and share - information collected by Google Analytics about your visits to our website is restricted by the - Google Analytics Terms of Use and the Google Privacy Policy.
-We retain the information we collect for as long as necessary to fulfill the purposes for which - it was collected, unless a longer retention period is required by law. We take reasonable - measures to protect the information we collect from loss, theft, misuse, and unauthorized - access, disclosure, alteration, and destruction.
+We use Google Analytics to help analyze how users use our website. The tool uses cookies to collect + standard Internet log information and visitor behavior information in an anonymous form. The information + generated by the cookie about your use of the website (including IP address) is transmitted to Google. + This information is then used to evaluate visitors' use of the website and to compile statistical + reports on website activity for us.
We retain the information we collect for as long as necessary to fulfill the purposes for which it was collected, unless a longer retention period is required by law. We take reasonable measures to protect the information we collect from loss, theft, misuse, and unauthorized access, disclosure, alteration, and destruction.
You have the right to access, correct, and delete your personal information. You also have the - right to object to the processing of your personal information and to withdraw your consent to - the processing of your personal information. To exercise these rights, please contact us at - [contact email address].
-We may update this Privacy Policy from time to time. We will notify you of any changes by posting - the new Privacy Policy on this page. We recommend that you review this Privacy Policy - periodically for any changes.
+You have the right to access, modify, or delete your personal information. You may also withdraw + your consent to receive marketing communications from us at any time. To exercise these rights, + please contact us using the contact information provided below.
+We may update this privacy policy from time to time. Any changes will be posted on this page, and + the date at the top of the page will indicate when the policy was last updated.
If you have any questions about this Privacy Policy, please contact us at [contact email - address].
+If you have any questions or concerns about our privacy policy or the handling of your personal + information, please contact us at NJIT.edu.