Training Materials
Learn how to use Dzaleka Online Services platform effectively
Content Management
How to Add Content
All content is managed through markdown (.md) files in the src/content/ directory. Each content type has specific frontmatter requirements.
Adding News Articles
- Create a new file in
src/content/news/ - Add frontmatter with: title, description, date, category, featured, image, author, tags
- Choose a category: business-spotlight, announcement, success-story, business-guide, news, or education
- Write your content in markdown format
Adding Events
- Create a new file in
src/content/events/or use the Event Submission Form - Required fields: title, description, date, location, category, organizer
- Optional: endDate, image, registration details, panelists, contact info
- Set status to "upcoming" or "past"
Adding Services
- Create a new file in
src/content/services/or use the Service Registration Form - Required: title, description, category, location address
- Optional: logo, contact info (email, phone, whatsapp), business hours, social media, coordinates
- Add tags for better searchability
Adding Resources
- Upload PDF/document to
public/resources/pdf/ - Create markdown file in
src/content/resources/ - Add: title, description, category, date, downloadUrl, fileType, fileSize
- Optional: author, thumbnail, languages, tags
Adding Photos
- Upload image to
public/images/or use Cloudinary - Create file in
src/content/photos/or use Photo Submission Form - Required: title, description, image URL, photographer name, date
- Optional: photographer bio/social media, location, tags, featured flag
Adding Jobs
- Create file in
src/content/jobs/ - Required: title, organization, location, type, category, skills, deadline, posted date, contact email
- Choose type: full-time, part-time, contract, volunteer, or internship
- Choose category: education, healthcare, technology, community, business, arts, services, or other
Adding Community Voices
- Create file in
src/content/community-voices/or use Submission Form - Required: title, author, date, category, excerpt
- Optional: image, featured flag, tags
Adding Talent Profiles
- For skills exchange: Create file in
src/content/profiles/ - For artists/dancers/poets: Use respective directories in
src/content/ - Include: name, bio, profile image, contact info, skills/services offered
- For paid services: Add rate and payment methods
Available Forms and Tools
News Publishing
- • Access via Blogger Dashboard
- • Published articles appear on dzaleka.com
- • Support for business spotlights and success stories
- • Automatic categorization and tagging
Event Management
- • Submit events via Event Form
- • Add panelists and registration links
- • Automatic upcoming/past categorization
- • Calendar integration ready
Service Directory
- • Register services via Service Form
- • 100+ active organizations listed
- • Search and category filtering
- • Contact details and business hours
Photo Archive
- • Submit photos via Photo Form
- • Photographer credits and attribution
- • Year-based and tag-based organization
- • Cloudinary integration for optimization
Resource Library
- • 140+ resources available
- • PDF uploads and downloads
- • Legal documents and guides
- • Educational materials
Community Voices
- • Submit via Voice Form
- • Share community perspectives
- • Stories and experiences
- • Featured voice highlighting
Project Structure
Content Collections
The platform uses 13 different content collections to organize community content:
Core Collections
src/content/news/- News articles with categories: business-spotlight, announcement, success-story, business-guide, news, educationsrc/content/events/- Community events with registration, panelists, and calendar integrationsrc/content/services/- Organization and service directory with contact details, business hours, and locationsrc/content/resources/- Educational resources, PDFs, documents, and guidessrc/content/docs/- Platform documentation and help guides
Community Content
src/content/photos/- Photo gallery with photographer credits and location datasrc/content/stories/- Community stories and photo essayssrc/content/inspirational-stories/- Personal success stories from community memberssrc/content/community-voices/- Community perspectives and opinions
Talent & Skills
src/content/profiles/- Skills exchange profiles with service offerings and payment methodssrc/content/talents/- Showcase of community talents (artists, dancers, poets)src/content/jobs/- Job opportunities with categories: education, healthcare, technology, community, business, arts
Additional Directories
src/content/artists/- Individual artist profiles and portfoliossrc/content/dancers/- Dance performers and groupssrc/content/poets/- Poets and spoken word artistssrc/content/projects/- Community projects and initiativessrc/content/sites/- Site register and location informationsrc/content/gallery/- Visual content organization
Key Features
- News Publishing: Multi-category news system with business spotlights, announcements, and success stories
- Event Management: Full event lifecycle with registration, panelist management, and upcoming/past event filtering
- Service Directory: Comprehensive organization directory with 100+ services, search, filtering by category, and detailed contact information
- Job Board: Employment opportunities with categories, deadlines, and application tracking
- Photo Gallery: Professional photo archive with photographer credits, location tagging, and year-based organization
- Resource Library: 140+ educational resources, legal documents, reports, and guides with PDF downloads
- Skills Exchange: Community talent marketplace with profiles, service offerings, and payment integration
- Community Voices: Platform for community members to share perspectives and stories
- Cultural Showcase: Dedicated sections for artists, dancers, and poets
- Documentation System: Comprehensive help guides and platform documentation
Technical Features
- Search functionality across all content types
- Pagination for large content collections
- Category and tag-based filtering
- Responsive design with mobile-first approach
- SEO optimization with metadata for all pages
- Social media integration
- Contact forms with email notifications
- Event registration and tracking
- Google Maps integration for services
- Cloudinary image optimization
Quick Guides
Technical Stack
Core Technologies
- Astro 4.x - Static site generator with content collections
- Tailwind CSS - Utility-first CSS framework
- TypeScript - Type-safe JavaScript
- Markdown - Content authoring format
Integrations
- Cloudinary - Image hosting and optimization
- Blogger API - News publishing integration
- Google Forms - Form submissions and data collection
- Netlify - Hosting and deployment platform
Content Schema Validation
All content is validated using Zod schemas defined in src/content/config.ts. This ensures data consistency across the platform.
Best Practices
Content Guidelines
- Always verify information accuracy before publishing
- Use high-quality images (minimum 800x600px)
- Include proper attribution for photos and quotes
- Write descriptive titles and meta descriptions for SEO
- Add relevant tags to improve searchability
- Use inclusive and respectful language
- Proofread content before submission
Image Optimization
- Upload images to Cloudinary for automatic optimization
- Use descriptive filenames (e.g., dzaleka-art-festival-2024.jpg)
- Always include alt text for accessibility
- Prefer WebP format when possible
- Maximum file size: 2MB per image
SEO Best Practices
- Write unique meta descriptions (150-160 characters)
- Use descriptive headings (H1, H2, H3)
- Include keywords naturally in content
- Add internal links to related content
- Optimize images with descriptive alt text
Accessibility
- Use semantic HTML elements
- Ensure sufficient color contrast
- Provide alternative text for all images
- Use ARIA labels where appropriate
- Test with screen readers when possible
Deployment Process
Automatic Deployment
The site is automatically deployed to Netlify when changes are pushed to the main branch on GitHub.
Deployment Steps
- Make your changes locally or via GitHub
- Test changes using
npm run dev - Commit changes with descriptive message
- Push to GitHub repository
- Netlify automatically builds and deploys (5-10 minutes)
- Check live site to verify changes
Build Commands
npm run dev- Start local development servernpm run build- Build for productionnpm run preview- Preview production build locally
Need Help?
Can't find what you're looking for? Our support team is here to help.