|
| 1 | +import EventHexagon from './event-hexagon.svelte'; |
| 2 | + |
| 3 | +export default { |
| 4 | + title: 'Atoms/Hexagons/Event Hexagon', |
| 5 | + component: EventHexagon, |
| 6 | + parameters: { |
| 7 | + layout: 'centered', |
| 8 | + controls: { exclude: ['orientation', 'event'] } |
| 9 | + } |
| 10 | +}; |
| 11 | + |
| 12 | +export const DateIntervalHexagon = { |
| 13 | + args: { |
| 14 | + title: { control: 'text' }, |
| 15 | + data: { |
| 16 | + title: 'Jantar de Curso', |
| 17 | + description: 'Muito fixe', |
| 18 | + teamMemberIds: [], |
| 19 | + registerUrl: 'https://www.google.com/intl/pt-PT/forms/about/', |
| 20 | + dateInterval: { startDate: new Date('2023-12-10'), endDate: new Date('2024-01-01') }, |
| 21 | + location: 'Cervejaria Diu', |
| 22 | + thumbnailPath: 'images/previews/evento.png' |
| 23 | + } |
| 24 | + } |
| 25 | +}; |
| 26 | + |
| 27 | +export const SingleDateHexagon = { |
| 28 | + args: { |
| 29 | + data: { |
| 30 | + title: 'Jantar de Curso', |
| 31 | + description: 'Muito fixe', |
| 32 | + teamMemberIds: [], |
| 33 | + registerUrl: 'https://www.google.com/intl/pt-PT/forms/about/', |
| 34 | + dateInterval: { startDate: new Date('2023-12-10') }, |
| 35 | + location: 'Cervejaria Diu', |
| 36 | + thumbnailPath: 'images/previews/evento.png' |
| 37 | + } |
| 38 | + } |
| 39 | +}; |
| 40 | + |
| 41 | +export const HoveredHexagon = { |
| 42 | + args: { |
| 43 | + title: { control: 'text' }, |
| 44 | + data: { |
| 45 | + title: 'Jantar de Curso', |
| 46 | + description: 'Muito fixe', |
| 47 | + teamMemberIds: [], |
| 48 | + registerUrl: 'https://www.google.com/intl/pt-PT/forms/about/', |
| 49 | + dateInterval: { startDate: new Date('2023-12-10'), endDate: new Date('2024-01-01') }, |
| 50 | + location: 'Cervejaria Diu', |
| 51 | + thumbnailPath: 'images/previews/evento.png' |
| 52 | + } |
| 53 | + }, |
| 54 | + parameters: { |
| 55 | + pseudo: { hover: true } |
| 56 | + } |
| 57 | +}; |
| 58 | + |
| 59 | +export const MobileHexagon = { |
| 60 | + parameters: { |
| 61 | + viewport: { |
| 62 | + defaultViewport: 'mobile2' |
| 63 | + } |
| 64 | + }, |
| 65 | + args: { |
| 66 | + title: { control: 'text' }, |
| 67 | + data: { |
| 68 | + title: 'Jantar de Curso', |
| 69 | + description: 'Muito fixe', |
| 70 | + teamMemberIds: [], |
| 71 | + registerUrl: 'https://www.google.com/intl/pt-PT/forms/about/', |
| 72 | + dateInterval: { startDate: new Date('2023-12-10'), endDate: new Date('2023-12-05') }, |
| 73 | + location: 'Cervejaria Diu', |
| 74 | + thumbnailPath: 'images/previews/evento.png' |
| 75 | + } |
| 76 | + } |
| 77 | +}; |
0 commit comments