@dcrackel/meyersquaredui
Version:
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
42 lines (40 loc) • 1.57 kB
JavaScript
import HomePage from './HomePage.vue';
import mockTournaments from "../../../mocks/getTournamentsMock.js";
import mockTopFencers from "../../../mocks/getTopFencers.js";
import mockArticles from "../../../mocks/getArticles.js";
export default {
title: 'Templates/HomePageLayout',
component: HomePage,
argTypes: {
'button-click': { action: 'button-click' },
title: { control: 'text', description: 'Title for the HeroBanner' },
description: { control: 'text', description: 'Description for the HeroBanner' },
buttonLabel: { control: 'text', description: 'Button label for the HeroBanner' },
imageSrc: { control: 'text', description: 'Image source for the HeroBanner' },
},
};
export const Default = {
args: {
title: 'Find your next HEMA Tournament!',
description: '',
buttonLabel: 'Find Out More',
imageSrc: 'https://meyersquaredimages.com/images/banners/largebanner01.jpg',
tournaments: mockTournaments,
topFencers: mockTopFencers,
articles: mockArticles,
},
};
export const AllLoading = {
args: {
title: 'Discover, Compete, Connect',
description: '',
buttonLabel: 'Find Out More',
imageSrc: 'https://meyersquared.com/images/banners/largebanner01.jpg',
tournaments: mockTournaments,
topFencers: mockTopFencers,
articles: mockArticles,
tournamentsIsLoading: true,
topFencersIsLoading: true,
articlesIsLoading: true,
},
};