Updated Blog Mobile Render

This commit is contained in:
ItzMineyy committed 2024-12-26 14:04:29 +01:00
1 parent ebec982879
commit 696181a772
2 files changed
+9 -9

No files matched your search

+5 -5
View File
@@ -17,7 +17,7 @@
z-index: 10; /* Ensure the text and button are above the canvas */ z-index: 10; /* Ensure the text and button are above the canvas */
} }
.error-message h1 { .error-message h2 {
font-size: 10rem; font-size: 10rem;
margin: 0; margin: 0;
font-weight: 700; font-weight: 700;
@@ -31,16 +31,16 @@
color: white; color: white;
} }
.error-message-mobile h1 { .error-message-mobile h2 {
font-size: 8rem; font-size: 4.0rem;
margin: 0; margin: 0;
font-weight: 700; font-weight: 500;
color: white; color: white;
} }
.error-message-mobile p { .error-message-mobile p {
font-size: 1.2rem; font-size: 1.2rem;
margin: 20px 0; margin: 10px 0;
font-weight: 400; font-weight: 400;
color: white; color: white;
} }
+4 -4
View File
@@ -1,14 +1,14 @@
<div id="vanta-blog-bg"></div> <div id="vanta-blog-bg"></div>
<div class="container" id="container"> <div class="container" id="container">
<ng-container *ngIf="!isMobile; else mobileError"> <ng-container *ngIf="!isMobile; else mobileError">
<div class="error-message" *ngIf="!isMobile"> <div class="error-message">
<h1>Soon&#8482;</h1> <h2>Soon&#8482;</h2>
<p>Under Construction!</p> <p>Under Construction!</p>
</div> </div>
</ng-container> </ng-container>
<ng-template #mobileError> <ng-template #mobileError>
<div class="error-message-mobile" *ngIf="isMobile"> <div class="error-message-mobile">
<h1>Soon&#8482;</h1> <h2>Soon&#8482;</h2>
<p>Under Construction!</p> <p>Under Construction!</p>
</div> </div>
</ng-template> </ng-template>