@econnect/webcomponents-library
Documentation
Styleguide
Documentation
Styleguide
  • Getting Started

    • Installation
    • Patch Notes
    • Styleguide
  • Styling

    • e-connect colors
  • UI Components

    • Form

      • Search Field
      • Form Field
      • Forms
    • Filter

      • Filter
      • Search Filter
    • Grid

      • Grid
      • Grid Row
    • Inputs

      • File Input
      • Input Checkbox
      • Input Dropdown
      • Input Date
      • Input Date Time
      • Input Date Time Local
      • Input File
      • Input Label
      • Input Multi Select
      • Input Number
      • Input Radio
      • Input Range
      • Input Select
      • Input Switch
      • Input Slider
      • Input Text
      • Input TextArea
      • Input Time
      • Input Time Range
    • Controls

      • Booleans
      • Button
      • Checkboxes
      • Date Displays
      • Dropdown Lists
      • Text Displays
    • Headers

      • e-header
    • Cards

      • e-card
    • Images

      • Icon
      • Images
      • Flag Image
      • Hamburger
    • Iframe
    • Pager
    • Settings
    • Document Validation
    • Navigation

      • Navigation
      • Navigation Menu
      • Navigation Footer
      • Navigation Button
      • Navigation Button Item
      • Navigation Search Item

Navigation Footer v1.0

The <e-navigation-footer> component is a component that can be used for .

Examples

Examples unavailable.

Source Code

e-navigation-footer.vue
<script setup lang="ts">
import type { ESocials } from 'types';

import EIcon from '../e-icon/e-icon.vue';

export type Props = {
  socials?: ESocials;
};
withDefaults(defineProps<Props>(), {
  socials: () => {
    return [
      {
        url: 'https://econnect.eu/',
        icon: 'network',
        name: 'eConnect Website'
      }
    ];
  }
});
</script>

<template>
  <div class="e-navigation-footer">
    <div class="e-socials-container">
      <a
        v-for="(social, key) in socials"
        :key="key"
        class="e-social"
        :href="social.url"
        rel="noopener noreferrer"
        target="_blank"
      >
        <e-icon
          :icon="[social.icon]"
          :title="`eConnect ${social?.name}`"
        />
        <span
          class="e-sr-only"
          v-text="social?.name"
        />
      </a>
    </div>
  </div>
</template>

<style scoped lang="scss">
.e-navigation-footer {
  width: 100%;
  padding-right: 25px;
  margin-top: 20px;

  .e-socials-container {
    width: fit-content;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    gap: 10px;

    .e-social {
      .e-icon {
        width: 100%;
        height: 100%;
        max-width: 24px;
        max-height: 24px;
        margin: 12px;
      }

      &:visited {
        color: var(--e-secondary);
        fill: var(--e-secondary);
      }

      .e-sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
      }
    }
  }
}

@media only screen and (min-width: 1000px) {
  .navigation-footer {
    margin-top: 0;
  }
}
</style>
Last Updated:: 10/14/24, 12:17 PM
Contributors: Antony Elfferich, Roeland Krijgsman, Marcel Lommers
Prev
Navigation Menu
Next
Navigation Button