Made Mobile Detection more robust

This commit is contained in:
ItzMineyy committed 2024-12-25 18:05:51 +01:00
1 parent 4422cf448b
commit 2782cb4d45
7 files changed
+35 -18

No files matched your search

+19 -10
View File
@@ -1,13 +1,18 @@
<div id="vanta-about-bg"></div>
<div class="about-container">
<div class="about-header" *ngIf="!isMobile">
<h1>About Me</h1>
<p class="subtitle">Hobby developer & designer</p>
</div>
<div class="about-header-mobile" *ngIf="isMobile">
<h1>About Me</h1>
<p class="subtitle">Hobby developer & designer</p>
</div>
<ng-container *ngIf="!isMobile; else mobileContainer">
<div class="about-header" *ngIf="!isMobile">
<h1>About Me</h1>
<p class="subtitle">Hobby developer & designer</p>
</div>
</ng-container>
<ng-template #mobileContainer>
<div class="about-header-mobile" *ngIf="isMobile">
<h1>About Me</h1>
<p class="subtitle">Hobby developer & designer</p>
</div>
</ng-template>
<div class="about-content">
<p>
@@ -18,8 +23,12 @@
When I'm not coding, I love learning new technologies and contributing to open-source projects.<br>I also give support on the Pterodactyl Discord
</p>
<br>
<h3 class="tech-stack-title" *ngIf="!isMobile">Tech Stack</h3>
<h3 class="tech-stack-title-mobile" *ngIf="isMobile">Tech Stack</h3>
<ng-container *ngIf="!isMobile; else mobileTechStack">
<h3 class="tech-stack-title" *ngIf="!isMobile">Tech Stack</h3>
</ng-container>
<ng-template #mobileTechStack>
<h3 class="tech-stack-title-mobile" *ngIf="isMobile">Tech Stack</h3>
</ng-template>
<div class="tech-stack">
<div class="category">
<h4>= WEB SERVERS =</h4>