diff --git a/README.md b/README.md index 00975e1..5e44962 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,16 @@ # canvas-branding Top-level Canvas theme files. -## Build +## Build Process -Minified and un-minified versions of the combined CSS and JS files are automatically produced by a CodeBuild project when changes are made to this repository. +Changes made to this repository trigger an automatic build process via a CodeBuild project. This process generates both minified and un-minified versions of the combined CSS and JS files. -The resulting files can be found in `s3://at-build-artifacts/canvas-global-branding`. +Note: You can also manually initiate a build for a specific version of the project in CodeBuild. + +The resulting files can be found in `s3://at-build-artifacts/canvas-global-branding` and include: +- theme.css +- theme.min.css +- theme.js +- theme.min.js + +These files can be used to update the Canvas theme. diff --git a/js/footer_copyright.js b/js/footer_copyright.js index 84fa9f6..2bd48e1 100644 --- a/js/footer_copyright.js +++ b/js/footer_copyright.js @@ -6,6 +6,11 @@ $(document).ready(function (e) { * lines */ function addFooterContent() { + // Do not add footer content if the user is on the OAuth2 login page. + if (window.location.href.match(/.*\/login\/oauth2\//)) { + return; + } + const copyYear = new Date().getFullYear(); const harvardCopy =