๐Ÿ“ฆ vuetifyjs / flairo-theme

๐Ÿ“„ OurTeam.vue ยท 88 lines
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88<script setup lang="ts">
  const getImgUrl = (imagePath : string) => new URL(`${imagePath}`, import.meta.url).href

  const teamMembers = ref([
    {
      title: 'CEO',
      name: 'Neil Barnett',
      socialLinks: [
        { link: 'https://linkedin.com', icon: 'mdi-linkedin' },
        { link: 'https://twitter.com', icon: 'mdi-twitter' },
        { link: 'mailto:sample@example.com', icon: 'mdi-email' },
      ],
      src: getImgUrl('../assets/team/rana-sawalha-IhuHLIxS_Tk-unsplash.jpg'),
    },
    {
      title: 'COO',
      name: 'Sherri Cayne',
      socialLinks: [
        { link: 'https://linkedin.com', icon: 'mdi-linkedin' },
        { link: 'https://twitter.com', icon: 'mdi-twitter' },
        { link: 'mailto:sample@example.com', icon: 'mdi-email' },
      ],
      src: getImgUrl('../assets/team/christopher-campbell-rDEOVtE7vOs-unsplash.jpg'),
    },
    {
      title: 'CTO',
      name: 'Erica Baker',
      socialLinks: [
        { link: 'https://linkedin.com', icon: 'mdi-linkedin' },
        { link: 'https://twitter.com', icon: 'mdi-twitter' },
        { link: 'mailto:sample@example.com', icon: 'mdi-email' },
      ],
      src: getImgUrl('../assets/team/dan-ROJFuWCsfmA-unsplash.jpg'),
    },
    {
      title: 'CFO',
      name: 'Wesley Graves',
      socialLinks: [
        { link: 'https://linkedin.com', icon: 'mdi-linkedin' },
        { link: 'https://twitter.com', icon: 'mdi-twitter' },
        { link: 'mailto:sample@example.com', icon: 'mdi-email' },
      ],
      src: getImgUrl('../assets/team/brooke-cagle-wKOKidNT14w-unsplash.jpg'),
    },
  ])
</script>

<template>
  <Section
    id="our-team"
  >
    <div class="justify-center align-center">
      <Heading
        align="center"
        class="font-weight-bold"
        title="Our Team"
      />
      <Divider
        align="center"
        color="primary"
      />
      <Body
        align="center"
        text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam aliquet mauris non venenatis auctor. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per."
      />
    </div>
    <v-row
      align="center"
      class="px-10"
      justify="center"
    >
      <template v-for="(employee, _i) in teamMembers" :key="_i">
        <v-col
          cols="12"
          md="3"
          sm="6"
        >
          <TeamMember v-bind="employee" />
        </v-col>
      </template>
    </v-row>
  </Section>
</template>

<style lang="scss" scoped>

</style>