<script lang="ts">
  import TrafficChart from './lib/TrafficChart.svelte'
  import RegionsMap from './lib/RegionsMap.svelte'
</script>

<main>
  <h1>GCP Gateway Status</h1>
  <p>
    The current status of the GCP HF Gateway rollout. 
  </p>
  <TrafficChart />
  <RegionsMap />
</main>

<style>
  :global(html) {
    overflow-x: hidden;
    width: 100%;
  }

  :global(body) {
    background-color: #1a1a1a;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  main {
    padding: 2rem;
    text-align: center;
    min-height: 100vh;
    background-color: #1a1a1a;
    color: #e0e0e0;
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }
  
  h1 {
    margin-bottom: 2rem;
    color: #e0e0e0;
  }
</style>
