feat: fix stuff
This commit is contained in:
parent
c08e4ce9d5
commit
90e139a22f
7 changed files with 26 additions and 17 deletions
|
|
@ -27,6 +27,20 @@ const {
|
|||
<slot />
|
||||
</main>
|
||||
<Footer />
|
||||
<script is:inline>
|
||||
window.getTopicColor = function(topicName) {
|
||||
switch (topicName) {
|
||||
case "software":
|
||||
return "#0073e6";
|
||||
case "algorithms":
|
||||
return "#d50032";
|
||||
case "meditations":
|
||||
return "#6a0dad";
|
||||
default:
|
||||
return "#000000";
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<slot name="scripts" />
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue