Skip to content

Commit

Permalink
arbitrary changes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
cheddZy committed Mar 5, 2024
1 parent 4b7e790 commit a650e03
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions src/components/HeaderAlert.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ import '../styles/globals.scss'

<div id="alertContainer">
<div id="alertBox" class="alertBox">
<p>
<svg data-slot="icon" aria-hidden="true" fill="currentColor" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<path clip-rule="evenodd"
d="M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z"
fill-rule="evenodd"></path>
</svg>
<p id="classic">

<svg data-slot="icon" aria-hidden="true" fill="currentColor" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<path clip-rule="evenodd"
d="M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z"
fill-rule="evenodd"></path>
</svg>
Website version 0.2.
<span><a href="https://github.com/cheddZy/design-repository" target="_blank">Github Page</a></span>
Website version 0.2 - Feature incomplete! You may want to check in once in a while.
<span><a href="https://github.com/cheddZy/design-repository" target="_blank">Github</a></span>
</p>
<button id="alertDismiss">
<svg data-slot="icon" aria-hidden="true" fill="currentColor" viewBox="0 0 24 24"
Expand All @@ -45,6 +45,11 @@ import '../styles/globals.scss'


<style>
#classic {
white-space: nowrap;
text-overflow: ellipsis "...";
overflow: clip;
}

#alertContainer {
top: 5rem;
Expand Down Expand Up @@ -99,5 +104,12 @@ import '../styles/globals.scss'
p {
font-size: 0.8rem !important;
}
@media screen and (max-width: 768px) {
#classic {
width: 70%;
-webkit-mask-image: -webkit-gradient(linear, left right, left right, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0));
}
}

</style>

0 comments on commit a650e03

Please sign in to comment.