Skip to content

Commit

Permalink
Merge pull request #29 from myelin-ai/banner
Browse files Browse the repository at this point in the history
Add Discontinuation Banner
  • Loading branch information
bash authored Feb 22, 2024
2 parents 530cad1 + 4d7294a commit ce61298
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Jan Hohenheim <[email protected]> <[email protected]>
Tau <[email protected]> <[email protected]>
Tau <[email protected]> <[email protected]>
Tau <[email protected]> <[email protected]>
Tau <[email protected]> <[email protected]>

2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ username = "janhohenheim"
image_url = "https://avatars2.githubusercontent.com/u/9047632"

[[additional.people]]
name = "Ruben Schmidmeister"
name = "Tau Gärtli"
username = "bash"
image_url = "https://avatars2.githubusercontent.com/u/4602612"

Expand Down
15 changes: 15 additions & 0 deletions sass/components/page-banner.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.page-banner {
font-size: .8em;
font-weight: 600;
background-color: #E8CB68;
color: color-mix(in srgb, #E8CB68, #000 70%);
box-shadow: 1px 1px 2px color-mix(in srgb, #E8CB68, #000 20%);
text-align: center;
padding: .4em;
position: sticky;
top: 0;

@media (prefers-color-scheme: dark) {
box-shadow: 1px 1px 2px color-mix(in srgb, #E8CB68, #000 80%);
}
}
1 change: 1 addition & 0 deletions sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@
@import 'components/landing-feature';
@import 'components/landing-features';
@import 'components/content-paragraph';
@import 'components/page-banner.scss';
3 changes: 3 additions & 0 deletions template.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
<title>{{title}}</title>
</head>
<body>
<aside class="page-banner">
The Myelin project is discontinued; we are no longer actively updating this website. Please do not contact us about this project.
</aside>
<header class="page-header">
<nav class="page-header-nav">
<ul class="items">
Expand Down

0 comments on commit ce61298

Please sign in to comment.