103 lines
5.4 KiB
JavaScript
103 lines
5.4 KiB
JavaScript
import{P as g}from"./Projects-C_WUiU61.js";import"./index-CoCSl5nl.js";import"./lifecycle-Dsbxuj6L.js";import"./ZoomOut24-DlfghPAc.js";import"./spread-CgU5AtxT.js";import"./runtime-oMSfAR4m.js";import"./index-DYrB6zKT.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./MoreFilters-CKEERaju.js";import"./Pagination-B4FA00uh.js";import"./Projects-LYRNinqw.js";import"./Search-PDmEdxD6.js";import"./Starred-M2Punkzo.js";import"./FileTable-CkEwostv.js";import"./each-HCog7gGM.js";const T={title:"Templates/Projects",component:g,tags:["autodocs"]},a={args:{data:{projects:[]}}},e={args:{data:{projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}}},t={args:{data:{projects:[{name:"Project A",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"},{name:"Person C",avatar:"https://example.com",slug:"c"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]},{name:"Project B",description:"This software project is a web-based application that will allow users to book appointments online.",avatar:"https://example.com",lastUpdated:new Date(Date.now()-3*30*24*60*60*1e3),members:[{name:"Person A",avatar:"https://example.com",slug:"a"},{name:"Person B",avatar:"https://example.com",slug:"b"}],tags:[{name:"ActivityPub",link:"/tag/ActivityPub"},{name:"css",link:"/tag/css"},{name:"guile",link:"/tag/guile"}]}]}}};var n,s,o;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`{
|
|
args: {
|
|
data: {
|
|
projects: []
|
|
}
|
|
}
|
|
}`,...(o=(s=a.parameters)==null?void 0:s.docs)==null?void 0:o.source}}};var r,m,i;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`{
|
|
args: {
|
|
data: {
|
|
projects: [{
|
|
name: 'Project A',
|
|
description: 'This software project is a web-based application that will allow users to book appointments online.',
|
|
avatar: 'https://example.com',
|
|
// Date back three months
|
|
lastUpdated: new Date(Date.now() - 3 * 30 * 24 * 60 * 60 * 1000),
|
|
members: [{
|
|
name: 'Person A',
|
|
avatar: 'https://example.com',
|
|
slug: 'a'
|
|
}, {
|
|
name: 'Person B',
|
|
avatar: 'https://example.com',
|
|
slug: 'b'
|
|
}, {
|
|
name: 'Person C',
|
|
avatar: 'https://example.com',
|
|
slug: 'c'
|
|
}],
|
|
tags: [{
|
|
name: 'ActivityPub',
|
|
link: '/tag/ActivityPub'
|
|
}, {
|
|
name: 'css',
|
|
link: '/tag/css'
|
|
}, {
|
|
name: 'guile',
|
|
link: '/tag/guile'
|
|
}]
|
|
}]
|
|
}
|
|
}
|
|
}`,...(i=(m=e.parameters)==null?void 0:m.docs)==null?void 0:i.source}}};var p,l,c;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{
|
|
args: {
|
|
data: {
|
|
projects: [{
|
|
name: 'Project A',
|
|
description: 'This software project is a web-based application that will allow users to book appointments online.',
|
|
avatar: 'https://example.com',
|
|
// Date back three months
|
|
lastUpdated: new Date(Date.now() - 3 * 30 * 24 * 60 * 60 * 1000),
|
|
members: [{
|
|
name: 'Person A',
|
|
avatar: 'https://example.com',
|
|
slug: 'a'
|
|
}, {
|
|
name: 'Person B',
|
|
avatar: 'https://example.com',
|
|
slug: 'b'
|
|
}, {
|
|
name: 'Person C',
|
|
avatar: 'https://example.com',
|
|
slug: 'c'
|
|
}],
|
|
tags: [{
|
|
name: 'ActivityPub',
|
|
link: '/tag/ActivityPub'
|
|
}, {
|
|
name: 'css',
|
|
link: '/tag/css'
|
|
}, {
|
|
name: 'guile',
|
|
link: '/tag/guile'
|
|
}]
|
|
}, {
|
|
name: 'Project B',
|
|
description: 'This software project is a web-based application that will allow users to book appointments online.',
|
|
avatar: 'https://example.com',
|
|
// Date back three months
|
|
lastUpdated: new Date(Date.now() - 3 * 30 * 24 * 60 * 60 * 1000),
|
|
members: [{
|
|
name: 'Person A',
|
|
avatar: 'https://example.com',
|
|
slug: 'a'
|
|
}, {
|
|
name: 'Person B',
|
|
avatar: 'https://example.com',
|
|
slug: 'b'
|
|
}],
|
|
tags: [{
|
|
name: 'ActivityPub',
|
|
link: '/tag/ActivityPub'
|
|
}, {
|
|
name: 'css',
|
|
link: '/tag/css'
|
|
}, {
|
|
name: 'guile',
|
|
link: '/tag/guile'
|
|
}]
|
|
}]
|
|
}
|
|
}
|
|
}`,...(c=(l=t.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};const U=["NoProjects","SingleProject","MultipleProjects"];export{t as MultipleProjects,a as NoProjects,e as SingleProject,U as __namedExportsOrder,T as default};
|
|
//# sourceMappingURL=Projects.stories-CcU6Ozvv.js.map
|