Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/blazor wasm #379

Merged
merged 12 commits into from
Jul 28, 2023
Prev Previous commit
Next Next commit
Add footer
Regenhardt committed Jun 27, 2023

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 0aa7574de0dabf68da4564f07efa76bbe2ad5764
14 changes: 13 additions & 1 deletion BlazorWasmDemo/Client/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
</h5>
</div>
<div class="footer">
<NavMenu/>
<NavMenu />
</div>
</section>

@@ -27,3 +27,15 @@
@Body
</article>
</main>

<footer style="margin-top: 20vh">
<p>
<strong>Fido2 .NET library</strong> by <a href="https://github.com/abergs/">Anders Åberg</a>, <a href="https://github.com/aseigler">Alex Seigler</a> and <a href="https://github.com/passwordless-lib/fido2-net-lib/graphs/contributors">contributors</a>. The source code is licensed
<a href="http://opensource.org/licenses/mit-license.php">MIT</a>. Available on <a href="https://github.com/passwordless-lib/fido2-net-lib">Github</a>
</p>

<p><small>Supported by the <a href="https://dotnetfoundation.org">.NET Foundation</a></small></p>
<img src="images/dotnetfoundation_v4_horizontal.svg" alt=".NET foundation logo" width="220" />

<p><small>Illustrations from <a href="https://medium.com/@@herrjemand/introduction-to-webauthn-api-5fd1fb46c285">Ackermann Yuriy</a></small></p>
</footer>
20 changes: 8 additions & 12 deletions BlazorWasmDemo/Client/Shared/MainLayout.razor.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.page {
position: relative;
.top-row {
justify-content: flex-end;
height: 3.5rem;
display: flex;
flex-direction: column;
align-items: center;
}

section.header {
@@ -31,15 +32,10 @@ main {
flex: 1;
}

.sidebar {
background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
justify-content: flex-end;
height: 3.5rem;
display: flex;
align-items: center;
footer {
background-color: #fafafa;
padding: 3rem 1.5rem 6rem;
text-align: center;
}

@media (min-width: 641px) {
4 changes: 4 additions & 0 deletions BlazorWasmDemo/Client/wwwroot/css/app.css
Original file line number Diff line number Diff line change
@@ -49,6 +49,10 @@ a {
color: red;
}

.fa-check-square {
color: #23d160;
}

#blazor-error-ui {
background: lightyellow;
bottom: 0;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.