Skip to content

Commit

Permalink
Merge branch 'release/v2.17'
Browse files Browse the repository at this point in the history
  • Loading branch information
haydn9000 committed May 1, 2024
2 parents bcb0cdf + 7715119 commit 628679b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
5 changes: 5 additions & 0 deletions js/footer_copyright.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 628679b

Please sign in to comment.