Skip to content
Snippets Groups Projects
VisualizationView.vue 2.37 KiB
Newer Older
Cee Nell's avatar
Cee Nell committed
<template>
  <section id="visualization">
    <VizTitle class="section-component"/>
    <BeeswarmChart class="section-component" id="bees"/> 
    <NarrativeIntro class="section-component"/>
    <InteractiveDendrogram class="section-component"/>
Hayley Corson-Dosch's avatar
Hayley Corson-Dosch committed
    <MapsSection class="section-component"/>
    <ConclusionSection class="section-component"/>
Cee Nell's avatar
Cee Nell committed
    <ReferencesSection class="section-component end" />
Cee Nell's avatar
Cee Nell committed
  </section>
</template>

<script setup>
Cee Nell's avatar
Cee Nell committed
// Lazy load components using dynamic imports
import { defineAsyncComponent } from 'vue';

Cee Nell's avatar
Cee Nell committed
const VizTitle = defineAsyncComponent(() =>  import('../components/VizTitle.vue'));
Cee Nell's avatar
Cee Nell committed
const BeeswarmChart = defineAsyncComponent(() => import('../components/BeeswarmChart.vue'));
const NarrativeIntro = defineAsyncComponent(() => import('../components/NarrativeIntro.vue'));
const InteractiveDendrogram = defineAsyncComponent(() => import('../components/InteractiveDendrogram.vue'));
const MapsSection = defineAsyncComponent(() => import('../components/MapsSection.vue'));
const ConclusionSection = defineAsyncComponent(() => import('../components/ConclusionSection.vue'));
Cee Nell's avatar
Cee Nell committed
const ReferencesSection = defineAsyncComponent(() => import('../components/ReferencesSection.vue'));
Cee Nell's avatar
Cee Nell committed

  const circleData = [
    { name: "Oronde Drakes", link: "https://www.usgs.gov/staff-profiles/oronde-drakes", image: "https://hazards.colorado.edu/api/v2/uploads/avatar/oronde_drakes2-1556849997156.JPG" },
    { name: "Diana Restrepo-Osorio", link: "https://www.usgs.gov/staff-profiles/diana-l-restrepo-osorio", image: "https://d9-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/s3fs-public/styles/staff_profile/public/media/images/Copy%20of%20Restrepo-Osorio_Diana%20L_PA-02473_1702473_027_8x12.jpg?itok=64YcJ9wy" },
    { name: "Kathryn Powlen", link: "https://www.usgs.gov/staff-profiles/kathryn-a-powlen", image: "https://d9-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/s3fs-public/styles/staff_profile/public/media/images/KPowlen_photo.jpg?itok=IufjVCBr" },
Azadpour, Elmera's avatar
Azadpour, Elmera committed
    { name: "Megan Hines", link: "https://www.usgs.gov/staff-profiles/megan-k-hines", image: "https://labs.waterdata.usgs.gov/visualizations/headshots/megan_hines_square.jpg" },
Cee Nell's avatar
Cee Nell committed
</script>

<style lang="scss" scoped>
  .visualization {
Cee Nell's avatar
Cee Nell committed
    padding: 0rem 0rem 0rem 0rem;
  .section-component {
    margin-top: 40px;
    margin-bottom: 30px;
Cee Nell's avatar
Cee Nell committed
  .end {
    margin-bottom: 80px;
  }
  #bees {
    margin-top: 0px;
  }
Clarke, Aileen's avatar
Clarke, Aileen committed
</style>