import { html, unsafeHTML } from '@skhemata/skhemata-base'; import { property } from 'lit-element'; import { SkhemataCrowdfundingManagerSection } from './SkhemataCrowdfundingManagerSection'; export class SkhemataCrowdfundingManagerBasics extends SkhemataCrowdfundingManagerSection { @property({ type: Object }) files = {}; @property({ type: Array }) categories = []; constructor() { super(); this.translations = { name: { description: 'Create a unique title for your campaign to engage users.', }, blurb: { description: "The campaign blurb will appear in your campaign's thumbnail and at the top of your campaign page.", }, location: { description: 'Choose the location of your campaign.', }, fundingGoal: { description: `Your funding goal should be the minimum amount needed to complete the project and fulfill all rewards.`, }, fundingMode: { description: ` Choose between the two funding modes of your choice. If the campaign has no end date (continuous), the Keep it all funding mode will be the default. Keep it all - Keep all the funds contributed even if the goal isn't met. All or nothing - Keep the funds contributed if the funded goal is met`, }, fundingDuration: { description: `Decide how long fundraising for your project will run for.`, }, }; } // Generate links object // generate categories render() { return html`

Basics

${this.categories.map(category => unsafeHTML(` `) )}

Fundraising

${this.translations.fundingGoal.description}

${this.translations.fundingDuration.description}

`; } }