<script>
  import offLogo from './assets/off-logo.svg'
  import OFF from './lib/OFF.svelte'
</script>

<main>
  <div>
    <a href="/"> 
      <img src={offLogo} class="logo" alt="Open Food Facts Logo" />
    </a>
  </div>
  <h1>OpenFoodFacts Client</h1>

  <div class="card">
    <OFF />
  </div>

</main>

<style>
  .logo {
    height: 6em;
    padding: 1.5em;
    will-change: filter;
  }
  .logo:hover {
    filter: drop-shadow(0 0 2em #646cffaa);
  }
  .logo:hover {
    filter: drop-shadow(0 0 2em #ff3e00aa);
  }
</style>
