Skip to content

Commit

Permalink
Merge pull request #770 from ACCESS-NRI/davide/remove_worshop_code
Browse files Browse the repository at this point in the history
Thanks for the review @heidinett 

Merged.
  • Loading branch information
atteggiani committed Sep 6, 2024
2 parents 0ed1844 + eca07aa commit 0c6418c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
15 changes: 1 addition & 14 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,7 @@ hide:
<img src="assets/ACCESS_icon_HIVE.png">
</div>
</div>
<!-- TEMPORARY for workshop -->
<div class="card-container homepage-buttons workshop">
<a href="/community_resources/access_workshop_2024" class="horizontal-card" style="height: 3rem;">
<div class="card-image-container" style="flex-basis: 20%">
<img src="/assets/ACCESS_NRI_full_logo.png" class="white-background img-contain"></img>
</div>
<div class="card-text-container" style="flex-grow: 1;">
<span class="bold small-text">
ACCESS Training Day and Workshop 2024
</span>
</div>
</a>
</div>
<!-- TEMPORARY for workshop -->

<div class="card-container homepage-buttons">
<a href="/getting_started" class="vertical-card">
<div class="bold">New ACCESS user?</div>
Expand Down
10 changes: 0 additions & 10 deletions docs/js/miscellaneous.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
'use strict';

// Redirect for workshop
function redirect() {
let url = window.location.href;
const pattern = /\/getting_started\/first_steps\b/;
if (url.match(pattern)) {
window.location.replace(url.replace(pattern, '/getting_started/set_up_nci_account'));
}
}
console.log('running');
redirect();
/*
Change absolute URLs for development-website and PR-previews (Move to build script)
*/
Expand Down

0 comments on commit 0c6418c

Please sign in to comment.