Skip to content
Snippets Groups Projects
VisualizationView.vue 2.71 KiB
Newer Older
  • Learn to ignore specific revisions
  • Cee Nell's avatar
    Cee Nell committed
    <template>
    
      <section id="visualization">
    
        <VizTitle class="section-component"/>
        <BeeswarmChart class="section-component" /> 
        <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
        <AboutTheTeam :data="circleData" class="section-component" />
    
        <ReferencesSection class="section-component" />
    
    Cee Nell's avatar
    Cee Nell committed
        <AuthorshipSection 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'));
    const AboutTheTeam = defineAsyncComponent(() => import('../components/AboutTheTeam.vue'));
    
    Cee Nell's avatar
    Cee Nell committed
    const ReferencesSection = defineAsyncComponent(() => import('../components/ReferencesSection.vue'));
    const AuthorshipSection = defineAsyncComponent(() => import('../components/AuthorshipSection.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" },
        { name: "Megan Hines", link: "https://www.usgs.gov/staff-profiles/megan-k-hines", image: "https://d9-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/s3fs-public/styles/staff_profile/public/thumbnails/image/Hines_Megan_USGS.jpg?itok=mOifmPnR" },
      ];
    
    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;
      }
    
    Clarke, Aileen's avatar
    Clarke, Aileen committed
    </style>