about summary refs log tree commit diff
path: root/components/Facebook/FacebookFindUsButton.vue
blob: 05aa9f6870a39cb55497a8994780d09f674b2162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<template>
  <a
    class="button"
    href="https://facebook.com/19pdhpuszcza"
    target="_blank"
    rel="noopener"
  >
    <div class="button-container">
      <img
        class="image"
        src="/assets/social/find_us_fb.png"
        alt="Find us on Facebook"
      />
    </div>
  </a>
</template>

<style scoped>
.button {
  margin: 10px;
}

.button:hover .button-container {
  background-color: #efefef;
}

.button-container {
  border: 2px solid #c4c4c4;
  border-radius: 4px;
  padding: 15px 40px;
}

.image {
  width: 200px;
}

@media (max-width: 500px) {
  a {
    width: 100%;
  }

  .image {
    width: 150px;
  }
}
</style>