Skip to content

Commit

Permalink
Merge pull request #8 from HIRO-MicroDataCenters-BV/feature/update-co…
Browse files Browse the repository at this point in the history
…ntact-us

updated contact us
  • Loading branch information
Kagameow authored Aug 6, 2024
2 parents cadba42 + fc63d08 commit cc8f7af
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 11 deletions.
3 changes: 3 additions & 0 deletions src/assets/linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 37 additions & 11 deletions src/layout/AppFooter.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script setup lang="ts">
import { ref } from 'vue';
import IconCross from '@/assets/cross.svg';
import IconLinkedin from '@/assets/linkedin.svg';
const isContactSectionVisible = ref(false);
const showContactSection = () => {
Expand Down Expand Up @@ -29,16 +30,24 @@ const hideContactSection = () => {
<div class="app-footer__contact-section-placeholder"></div>
<address class="app-footer__contact-address">
<h3>Contact Us</h3>
<p>
Email:
<a href="mailto:info@hiro-microdatacenters.nl">
info@hiro-microdatacenters.nl
<div class="app-footer__contact-address-container">
<p>
Email:
<a href="mailto:info@hiro-microdatacenters.nl">
info@hiro-microdatacenters.nl
</a>
</p>
<a
href="https://www.linkedin.com/company/hiro-microdatacenters/"
target="_blank"
>
<IconLinkedin scale="2" />
</a>
</p>
</div>
</address>
<IconCross
class="app-footer__contact-exit"
scale="2"
scale="1"
@click="hideContactSection"
/>
</section>
Expand Down Expand Up @@ -121,17 +130,21 @@ const hideContactSection = () => {
background: url('assets/footer-full-bg-mobile.svg') top no-repeat;
display: flex;
align-items: center;
justify-content: space-between;
justify-content: space-evenly;
width: 350px;
@media (--breakpoint-desktop) {
background: url('assets/footer-full-bg.svg') top no-repeat;
width: 700px;
justify-content: space-between;
}
}
.app-footer__contact-section-placeholder {
margin: 20px;
padding: 9px;
@media (--breakpoint-desktop) {
margin: 20px;
padding: 9px;
}
}
.app-footer__contact-address {
Expand All @@ -149,18 +162,31 @@ const hideContactSection = () => {
p {
font-weight: 900;
padding-right: 10px;
border-right: var(--color-text) 1px solid;
}
a {
color: var(--color-text);
}
}
.app-footer__contact-address-container {
display: flex;
flex-direction: row;
gap: 10px;
align-items: center;
}
.app-footer__contact-exit {
justify-self: end;
cursor: pointer;
color: white;
scale: 1.5;
margin: 20px;
margin-right: 10px;
@media (--breakpoint-desktop) {
scale: 1.5;
margin: 20px;
}
}
</style>

0 comments on commit cc8f7af

Please sign in to comment.