Section Case Studies Main

The VSectionCaseStudiesMain component is designed for displaying case studies with a side navigation panel, optional testimonials, and navigation links for related case studies. It provides an organized structure for presenting detailed case study content with a sticky sidebar for easy navigation.

Location: ui-kit/src/components/VSection/VSectionCaseStudiesMain.vue

Features

  • Sticky Sidebar: Displays a side panel with table of contents and navigation links.
  • Customizable Content: Accepts various props to control sidebar and main section content.
  • Optional Testimonials: Displays client testimonials using the WhatOurClientsSaySidebar component.
  • Dynamic Navigation: Displays previous and next case study navigation buttons if available.

Component Props

The component accepts the following props:

Prop NameTypeDefaultRequiredDescription
prevStringundefinedNoSlug for the previous case study in navigation.
nextStringundefinedNoSlug for the next case study in navigation.
topicStringundefinedNoTopic used in the button's URL query parameter.
slugStringundefinedYesSlug for the current case study page.
sideTitleStringundefinedNoTitle displayed in the sidebar.
sideSubtitleStringundefinedNoSubtitle displayed in the sidebar.
sideTextStringundefinedNoText content displayed in the sidebar.

Example

vue
<script setup lang="ts">
import VSectionCaseStudiesMain from 'UiKit/components/VSection/VSectionCaseStudiesMain.vue';
</script>

<template>
<VSectionCaseStudiesMain
    :topic="'use-cases'"
    :slug="'current-case-study'"
    :sideTitle="'Side Title'"
    :sideSubtitle="'Side Subtitle'"
    :sideText="'Side Text Content'"
  >
    <h1>Case Study Content</h1>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
  </VSectionCaseStudiesMain>
</template>

Side Title

Side Subtitle

Side Text Content

Have Questions?

Case Study Content

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Help Ukraine to stop russian aggression