Skip to content

Commit

Permalink
updated links and static date on footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave-lab12 committed Oct 5, 2023
1 parent 286e4fd commit 9c9e03f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
15 changes: 11 additions & 4 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@
<div>
<ul>
<li>
<a href="/coming-soon/?type=newsletter">Newsletter</a>
<a
href="https://magazine.mindplex.ai/coming-soon/?type=newsletter"
>Newsletter</a
>
</li>
<li>
<a href="https://magazine.mindplex.ai/contact-editors/"
>Contact Editors</a
<a href="https://magazine.mindplex.ai/contact-editors/">Editors</a
>
</li>
</ul>
Expand Down Expand Up @@ -99,11 +101,16 @@
</a>
</div>
<p class="footer-copy">
© <span>2023</span> Mindplex all rights reserved
© <span id="date-footer"></span> Mindplex all rights reserved
</p>
</div>
</div>
</footer>

<script>
const footerDate = document.querySelector("#date-footer");
footerDate && (footerDate.textContent = String(new Date().getFullYear()));
</script>
<style>
.center-footer-content ul,
.right-footer-content ul {
Expand Down
3 changes: 1 addition & 2 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import GlowingBtn from "./GlowingBtn.astro";
</div>
<div class="navbar_right">
<a
href="https://magazine.mindplex.ai/contact-editors"
href="https://magazine.mindplex.ai/contact-team"
class="navbar_right_contact">contact us</a
>
<GlowingBtn
Expand Down Expand Up @@ -47,7 +47,6 @@ import GlowingBtn from "./GlowingBtn.astro";
flex-direction: row;
align-items: center;
gap: 14px;

}

.navbar_center a {
Expand Down

0 comments on commit 9c9e03f

Please sign in to comment.