-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Merge branch 'main' into add/leadership
Showing
27 changed files
with
1,489 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
* text=auto eol=lf | ||
* text eol=lf | ||
*.png binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
"editor.formatOnType": true, | ||
"git.autofetch": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<div id="theme-switcher"> | ||
<svg id="theme-switcher-moon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="30" height="30" | ||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> | ||
<path d="M21 12.79A9 9 0 1 1 11.21 3a7 7 0 0 0 9.79 9.79z" /> | ||
</svg> | ||
|
||
<svg id="theme-switcher-sun" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="30" height="30" | ||
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> | ||
<circle cx="12" cy="12" r="5"></circle> | ||
<line x1="12" y1="1" x2="12" y2="3"></line> | ||
<line x1="12" y1="21" x2="12" y2="23"></line> | ||
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> | ||
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> | ||
<line x1="1" y1="12" x2="3" y2="12"></line> | ||
<line x1="21" y1="12" x2="23" y2="12"></line> | ||
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> | ||
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> | ||
</svg> | ||
</div> | ||
<style> | ||
#theme-switcher { | ||
align-self: center; | ||
} | ||
|
||
#theme-switcher.light #theme-switcher-sun { | ||
display: none; | ||
} | ||
|
||
#theme-switcher.dark #theme-switcher-moon { | ||
display: none; | ||
} | ||
</style> | ||
<script> | ||
const toggleDarkMode = document.querySelector('#theme-switcher'); | ||
const hasLocalStorage = typeof localStorage !== 'undefined'; | ||
|
||
function switchTo(theme) { | ||
if (theme === 'dark') { | ||
jtd.setTheme('dark'); | ||
toggleDarkMode.classList.add('dark'); | ||
toggleDarkMode.classList.remove('light'); | ||
if (hasLocalStorage) { | ||
localStorage.setItem('prefers-color-scheme', 'dark'); | ||
} | ||
} else if (theme === 'light') { | ||
jtd.setTheme('light'); | ||
toggleDarkMode.classList.add('light'); | ||
toggleDarkMode.classList.remove('dark'); | ||
if (hasLocalStorage) { | ||
localStorage.setItem('prefers-color-scheme', 'light'); | ||
} | ||
} | ||
} | ||
|
||
var darkAsPrefersColorSchema = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches; | ||
var lightAsPrefersColorSchema = window.matchMedia && window.matchMedia('(prefers-color-scheme: light)').matches; | ||
|
||
var savedColorSchema = null; | ||
if (hasLocalStorage) { | ||
savedColorSchema = localStorage.getItem('prefers-color-scheme'); | ||
} | ||
|
||
if (savedColorSchema) { | ||
if (savedColorSchema === 'dark') { | ||
switchTo('dark') | ||
} else { | ||
switchTo('light') | ||
} | ||
} else { | ||
if (darkAsPrefersColorSchema) { | ||
switchTo('dark') | ||
} else { | ||
switchTo('light') | ||
} | ||
} | ||
|
||
jtd.addEvent(toggleDarkMode, 'click', function () { | ||
if (jtd.getTheme() === 'dark') { | ||
switchTo('light') | ||
} else { | ||
switchTo('dark') | ||
} | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@media (min-width: 31.25rem) { | ||
.site-title { | ||
font-size: 1.4rem !important; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
layout: default | ||
title: AI | ||
nav_order: 13 | ||
nav_order: 14 | ||
--- | ||
|
||
<!-- prettier-ignore-start --> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.