Skip to content

Commit

Permalink
deploy: a2b6945
Browse files Browse the repository at this point in the history
  • Loading branch information
dylansdaniels committed Jan 17, 2025
1 parent 32081b5 commit f6304ff
Show file tree
Hide file tree
Showing 35 changed files with 1,228 additions and 5 deletions.
42 changes: 42 additions & 0 deletions content/01_overview/challange.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,37 @@
</div>
</div>
<img
id="topbar-logo"
src="https://hnn.brown.edu/wp-content/uploads/hnn-medium.png"
/>
<div class="socials-container">
<div class="social-icons">
<a
href="https://github.com/jonescompneurolab/hnn-core"
target="_blank"
aria-label="GitHub">
<img
src="/website_redesign/content/assets/icons/github.png"
alt="GitHub">
</a>
<a
href="https://bsky.app/profile/hnnsolver.bsky.social"
target="_blank"
aria-label="BlueSky">
<img
src="/website_redesign/content/assets/icons/bluesky.png"
alt="BlueSky">
</a>
<a
href="https://www.linkedin.com/company/human-neocortical-neurosolver/"
target="_blank"
aria-label="LinkedIn">
<img
src="/website_redesign/content/assets/icons/linkedin.png"
alt="LinkedIn">
</a>
</div>
</div>
</div>

<div id="content-wrapper">
Expand Down Expand Up @@ -290,6 +319,19 @@
link.setAttribute("href", resolvedHref);
}
});
// Update image sources for social icons
const images = document.querySelectorAll(".social-icons img");
images.forEach(img => {
const src = img.getAttribute("src");

if (src && src.startsWith("/")) {
// extract the local root directory
const rootPath = currentDir.split("/website_redesign/")[0];
// prepend root path to image source
const resolvedSrc = "file://" + rootPath + src;
img.setAttribute("src", resolvedSrc);
}
});
}
});

Expand Down
42 changes: 42 additions & 0 deletions content/01_overview/sample_workflow.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,37 @@
</div>
</div>
<img
id="topbar-logo"
src="https://hnn.brown.edu/wp-content/uploads/hnn-medium.png"
/>
<div class="socials-container">
<div class="social-icons">
<a
href="https://github.com/jonescompneurolab/hnn-core"
target="_blank"
aria-label="GitHub">
<img
src="/website_redesign/content/assets/icons/github.png"
alt="GitHub">
</a>
<a
href="https://bsky.app/profile/hnnsolver.bsky.social"
target="_blank"
aria-label="BlueSky">
<img
src="/website_redesign/content/assets/icons/bluesky.png"
alt="BlueSky">
</a>
<a
href="https://www.linkedin.com/company/human-neocortical-neurosolver/"
target="_blank"
aria-label="LinkedIn">
<img
src="/website_redesign/content/assets/icons/linkedin.png"
alt="LinkedIn">
</a>
</div>
</div>
</div>

<div id="content-wrapper">
Expand Down Expand Up @@ -290,6 +319,19 @@
link.setAttribute("href", resolvedHref);
}
});
// Update image sources for social icons
const images = document.querySelectorAll(".social-icons img");
images.forEach(img => {
const src = img.getAttribute("src");

if (src && src.startsWith("/")) {
// extract the local root directory
const rootPath = currentDir.split("/website_redesign/")[0];
// prepend root path to image source
const resolvedSrc = "file://" + rootPath + src;
img.setAttribute("src", resolvedSrc);
}
});
}
});

Expand Down
42 changes: 42 additions & 0 deletions content/01_overview/using_hnn.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,37 @@
</div>
</div>
<img
id="topbar-logo"
src="https://hnn.brown.edu/wp-content/uploads/hnn-medium.png"
/>
<div class="socials-container">
<div class="social-icons">
<a
href="https://github.com/jonescompneurolab/hnn-core"
target="_blank"
aria-label="GitHub">
<img
src="/website_redesign/content/assets/icons/github.png"
alt="GitHub">
</a>
<a
href="https://bsky.app/profile/hnnsolver.bsky.social"
target="_blank"
aria-label="BlueSky">
<img
src="/website_redesign/content/assets/icons/bluesky.png"
alt="BlueSky">
</a>
<a
href="https://www.linkedin.com/company/human-neocortical-neurosolver/"
target="_blank"
aria-label="LinkedIn">
<img
src="/website_redesign/content/assets/icons/linkedin.png"
alt="LinkedIn">
</a>
</div>
</div>
</div>

<div id="content-wrapper">
Expand Down Expand Up @@ -290,6 +319,19 @@
link.setAttribute("href", resolvedHref);
}
});
// Update image sources for social icons
const images = document.querySelectorAll(".social-icons img");
images.forEach(img => {
const src = img.getAttribute("src");

if (src && src.startsWith("/")) {
// extract the local root directory
const rootPath = currentDir.split("/website_redesign/")[0];
// prepend root path to image source
const resolvedSrc = "file://" + rootPath + src;
img.setAttribute("src", resolvedSrc);
}
});
}
});

Expand Down
42 changes: 42 additions & 0 deletions content/02_background/biophysical_modeling.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,37 @@
</div>
</div>
<img
id="topbar-logo"
src="https://hnn.brown.edu/wp-content/uploads/hnn-medium.png"
/>
<div class="socials-container">
<div class="social-icons">
<a
href="https://github.com/jonescompneurolab/hnn-core"
target="_blank"
aria-label="GitHub">
<img
src="/website_redesign/content/assets/icons/github.png"
alt="GitHub">
</a>
<a
href="https://bsky.app/profile/hnnsolver.bsky.social"
target="_blank"
aria-label="BlueSky">
<img
src="/website_redesign/content/assets/icons/bluesky.png"
alt="BlueSky">
</a>
<a
href="https://www.linkedin.com/company/human-neocortical-neurosolver/"
target="_blank"
aria-label="LinkedIn">
<img
src="/website_redesign/content/assets/icons/linkedin.png"
alt="LinkedIn">
</a>
</div>
</div>
</div>

<div id="content-wrapper">
Expand Down Expand Up @@ -290,6 +319,19 @@
link.setAttribute("href", resolvedHref);
}
});
// Update image sources for social icons
const images = document.querySelectorAll(".social-icons img");
images.forEach(img => {
const src = img.getAttribute("src");

if (src && src.startsWith("/")) {
// extract the local root directory
const rootPath = currentDir.split("/website_redesign/")[0];
// prepend root path to image source
const resolvedSrc = "file://" + rootPath + src;
img.setAttribute("src", resolvedSrc);
}
});
}
});

Expand Down
42 changes: 42 additions & 0 deletions content/02_background/glossary.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,37 @@
</div>
</div>
<img
id="topbar-logo"
src="https://hnn.brown.edu/wp-content/uploads/hnn-medium.png"
/>
<div class="socials-container">
<div class="social-icons">
<a
href="https://github.com/jonescompneurolab/hnn-core"
target="_blank"
aria-label="GitHub">
<img
src="/website_redesign/content/assets/icons/github.png"
alt="GitHub">
</a>
<a
href="https://bsky.app/profile/hnnsolver.bsky.social"
target="_blank"
aria-label="BlueSky">
<img
src="/website_redesign/content/assets/icons/bluesky.png"
alt="BlueSky">
</a>
<a
href="https://www.linkedin.com/company/human-neocortical-neurosolver/"
target="_blank"
aria-label="LinkedIn">
<img
src="/website_redesign/content/assets/icons/linkedin.png"
alt="LinkedIn">
</a>
</div>
</div>
</div>

<div id="content-wrapper">
Expand Down Expand Up @@ -290,6 +319,19 @@
link.setAttribute("href", resolvedHref);
}
});
// Update image sources for social icons
const images = document.querySelectorAll(".social-icons img");
images.forEach(img => {
const src = img.getAttribute("src");

if (src && src.startsWith("/")) {
// extract the local root directory
const rootPath = currentDir.split("/website_redesign/")[0];
// prepend root path to image source
const resolvedSrc = "file://" + rootPath + src;
img.setAttribute("src", resolvedSrc);
}
});
}
});

Expand Down
42 changes: 42 additions & 0 deletions content/02_background/signal_origins.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,37 @@
</div>
</div>
<img
id="topbar-logo"
src="https://hnn.brown.edu/wp-content/uploads/hnn-medium.png"
/>
<div class="socials-container">
<div class="social-icons">
<a
href="https://github.com/jonescompneurolab/hnn-core"
target="_blank"
aria-label="GitHub">
<img
src="/website_redesign/content/assets/icons/github.png"
alt="GitHub">
</a>
<a
href="https://bsky.app/profile/hnnsolver.bsky.social"
target="_blank"
aria-label="BlueSky">
<img
src="/website_redesign/content/assets/icons/bluesky.png"
alt="BlueSky">
</a>
<a
href="https://www.linkedin.com/company/human-neocortical-neurosolver/"
target="_blank"
aria-label="LinkedIn">
<img
src="/website_redesign/content/assets/icons/linkedin.png"
alt="LinkedIn">
</a>
</div>
</div>
</div>

<div id="content-wrapper">
Expand Down Expand Up @@ -290,6 +319,19 @@
link.setAttribute("href", resolvedHref);
}
});
// Update image sources for social icons
const images = document.querySelectorAll(".social-icons img");
images.forEach(img => {
const src = img.getAttribute("src");

if (src && src.startsWith("/")) {
// extract the local root directory
const rootPath = currentDir.split("/website_redesign/")[0];
// prepend root path to image source
const resolvedSrc = "file://" + rootPath + src;
img.setAttribute("src", resolvedSrc);
}
});
}
});

Expand Down
Loading

0 comments on commit f6304ff

Please sign in to comment.