1
0
Fork 0
forked from nin0/website

selectively show ass card

This commit is contained in:
nin0 2025-06-25 16:37:15 -04:00
parent 49803ba398
commit 058139a8d7
2 changed files with 27 additions and 18 deletions

View file

@ -8,21 +8,24 @@ import GroupBox from "@components/GroupBox.astro";
} }
</style> </style>
<GroupBox> <ass-browser>
<p> <GroupBox>
<h2>YOUR BROWSER IS ASS</h2> <p>
<span> <h2>YOUR BROWSER IS ASS</h2>
Your browser, <span class="ua"></span> does not support the full set <span>
of web features which means that nin0.dev may not work as well as it Your browser, <span class="ua"></span> does not support the full
would on a non-ass browser. set of web features which means that nin0.dev may not work as well
<br /> as it would on a non-ass browser.
<br /> <br />
Consider switching to a browser that is not ass such as <a <br />
href="https://www.apple.com/ca/safari/">Safari</a Consider switching to a browser that is not ass such as <a
>, <a href="https://brave.com/">Brave</a>, or if you really have no href="https://www.apple.com/ca/safari/">Safari</a
option, <a href="https://www.google.com/intl/en_ca/chrome/" >, <a href="https://brave.com/">Brave</a>, or if you really have
>Chrome</a no option, <a href="https://www.google.com/intl/en_ca/chrome/"
>. (these are personal preferences and I am not paid to say this) >Chrome</a
</span> >. (these are personal preferences and I am not paid to say
</p> this)
</GroupBox> </span>
</p>
</GroupBox>
</ass-browser>

View file

@ -4,7 +4,13 @@ import HeartIcon from "@assets/svg/heart.svg";
--- ---
<style is:global> <style is:global>
ass-browser {
display: none;
}
.ass-browser { .ass-browser {
ass-browser {
display: block !important;
}
.spotify-card { .spotify-card {
background-color: #2b2b3b !important; background-color: #2b2b3b !important;
} }