<template>
    <div v-if="store.missingHeaders.length > 0" class="missing-headers">
      <h1>Missing Headers:</h1>
      <div class="grid">
        <ColumnHeader v-for="header in store.missingHeaders" :key="header" :text="header"/>
      </div>
    </div>
  </template>
  
  <script>
  import { store } from '../store.js'
  
  export default {
    components: {
    },
    data() {
      return {
        store
      }
    },

  }
  </script>
  
  <style>
  .missing-headers {
    text-align: center;
  }
  
  .grid {
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    margin-top: 10px;
    padding: 15px;
    border-color: darkgrey;
    border-width: 10px;
    background-color:#800000;
  }
  </style>
  