Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Mac-Web/macvg
Browse files Browse the repository at this point in the history
  • Loading branch information
Mac-Web committed Jun 29, 2024
2 parents dc4f466 + 765f830 commit 4fe25a8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
31 changes: 31 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,37 @@ <h2>
<a href="/macvg/"><img src="/MacVG Logo.png" alt="" /></a>
<a href="/macblog/"><img src="/MacBlog Logo.png" alt="" /></a>
</div>
<div class="modal-background" id="modal">
<div class="modal">
<h2 class="modal-title">MacVG User Survey</h2>
<p class="modal-des">
Here's a survey for MacVG's one year anniversary 🎂. With 6 simple
questions, this helps us improve your experience and the quality of
the site. Thanks. (optional)
<a
href="https://forms.gle/ytPiCFb862rPQwtx9"
target="_blank"
class="modal-link"
>Survey</a
>
</p>
<button class="modal-close" id="modal-close">
<img src="/maclearn/xmark-solid.svg" alt="X" />
</button>
</div>
</div>
<script>
const mainModal = document.getElementById("modal");
const closeModal = document.getElementById("modal-close");
if (localStorage.getItem("macvgModal")) {
mainModal.style.display = "none";
} else {
closeModal.addEventListener("click", () => {
mainModal.style.display = "none";
localStorage.setItem("macvgModal", "closed");
});
}
</script>
<div class="wrap" id="wrap">
<header class="homeheader">
<div class="title" name="Welcome to MacVG!">Welcome to MacVG!</div>
Expand Down
4 changes: 2 additions & 2 deletions projects/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -472,12 +472,12 @@ hr {
}

::-webkit-scrollbar {
width: 8px;
width: 10px;
background-color: var(--bg-color);
}

::-webkit-scrollbar-thumb {
background-color: var(--text-color);
border: 3px solid var(--bg-color);
border-radius: 10px;
}
}

0 comments on commit 4fe25a8

Please sign in to comment.