Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
Added Modal with page has been removed info
Browse files Browse the repository at this point in the history
  • Loading branch information
cnoss committed Feb 15, 2024
1 parent c2cb0a1 commit 60b893a
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
Binary file added ordnungen/bpo4-auslaufordnung-v0-cn.docx
Binary file not shown.
Binary file added ordnungen/bpo5-mi-bachelor-v0-cn.docx
Binary file not shown.
11 changes: 11 additions & 0 deletions src/_layouts/components/page-footer.11ty.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,16 @@ exports.getPageFooter = (eleventy, data) => {
<div data-js-size-indicator-small></div>
<div data-js-size-indicator-large></div>
<div class="modal-wrap">
<div class="modal-content">
<h2>Die Seite ist umgezogen…</h2>
<p>… und das Repo auch. Beides liegt jetzt innerhalb der TH Infrastruktur.</p>
<ul>
<li><a href="https://medieninformatik.pages.archi-lab.io/po5/reakkreditierung/">Website</a></li>
<li><a href="https://git.archi-lab.io/medieninformatik/po5/reakkreditierung">Repository</a></li>
</ul>
</div>
</div>
`;
};
18 changes: 18 additions & 0 deletions src/assets/styles/scss/components/dialog.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.modal-wrap{
position: fixed;
display: flex;
align-items: center;
justify-content: center;
margin: 0 !important;
background-color: rgb(0 0 0 / 80%);
inset: 0;
*{ color: var(--lightest);}

a:visited{
color: var(--light);
}

.modal-content{
padding: var(--fluid-space-s);
}
}
3 changes: 3 additions & 0 deletions src/assets/styles/scss/main.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* stylelint-disable */

@import 'global/reset';
@import 'global/fonts';
@import 'global/icons';
Expand Down Expand Up @@ -27,6 +29,7 @@
@import 'components/scroll-to-top';
@import 'components/quotes';
@import 'components/cards';
@import 'components/dialog';

@import 'layouts/content-blocks';
@import 'layouts/article';
Expand Down

0 comments on commit 60b893a

Please sign in to comment.