attachment
attachment

kindly make a ppt of above topic

Reading File
Searching the Web

information management during pandemics responding to media social media health messages

Reading File
Running Command

ls /home/daytona/workspace/ 2>/dev/null && mkdir -p /home/daytona/workspace/pand…

Writing File

~/pandemic-module4/create_ppt.js

const pptxgen = require("pptxgenjs");

const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.title = "Pandemic Module 4.4 - Information Management during Pandemics";

// Color palette - deep navy dominates, teal accent, white/light for text
const NAVY = "0D2B55";
const TEAL = "1A9E8F";
const ORANGE = "F28C28";
const LIGHT = "EAF4F4";
const WHITE = "FFFFFF";
const GRAY = "5A6A7A";
const DARKGRAY = "2C3E50";

// ─────────────────────────────────────────────
// SLIDE 1: Title Slide
// ─────────────────────────────────────────────
{
  const s = pres.addSlide();
  // Full background
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: NAVY } });
  // Teal accent bar left
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.15, h: 5.625, fill: { color: TEAL } });
  // Orange accent bar
  s.addShape(pres.ShapeType.rect, { x: 0, y: 4.8, w: 10, h: 0.08, fill: { color: ORANGE } });

  // Module tag
  s.addText("PANDEMIC MODULE 4.4", {
    x: 0.4, y: 0.5, w: 9, h: 0.4,
    fontSize: 13, color: TEAL, bold: true, charSpacing: 3, align: "left"
  });

  // Main title
  s.addText("Information Management\nduring Pandemics", {
    x: 0.4, y: 1.1, w: 9, h: 1.9,
    fontSize: 42, color: WHITE, bold: true, align: "left", valign: "middle"
  });

  // Subtitle topics
  s.addText([
    { text: "a. Responding to Media  ", options: { color: ORANGE, bold: true } },
    { text: " |  ", options: { color: WHITE } },
    { text: "b. Use & Misuse of Social Media for Health Messages", options: { color: ORANGE, bold: true } }
  ], { x: 0.4, y: 3.1, w: 9.2, h: 0.5, fontSize: 14, align: "left" });

  // Details
  s.addText([
    { text: "Duration: ", options: { bold: true, color: LIGHT } },
    { text: "2 Hours   ", options: { color: WHITE } },
    { text: " | ", options: { color: TEAL } },
    { text: "  Format: ", options: { bold: true, color: LIGHT } },
    { text: "Interactive Discussion   ", options: { color: WHITE } },
    { text: " | ", options: { color: TEAL } },
    { text: "  Dept: ", options: { bold: true, color: LIGHT } },
    { text: "GEN MED / PUL MED / ANAES", options: { color: WHITE } }
  ], { x: 0.4, y: 3.8, w: 9.2, h: 0.4, fontSize: 12, align: "left" });

  s.addText("GEN MED | PUL MED | ANAES", {
    x: 0.4, y: 5.1, w: 9, h: 0.35,
    fontSize: 10, color: GRAY, align: "left"
  });
}

// ─────────────────────────────────────────────
// SLIDE 2: Overview / Agenda
// ─────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.0, fill: { color: NAVY } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0.95, w: 10, h: 0.07, fill: { color: TEAL } });

  s.addText("Module Overview", {
    x: 0.4, y: 0.15, w: 9, h: 0.7,
    fontSize: 28, color: WHITE, bold: true, align: "left"
  });

  const topics = [
    { num: "01", title: "Why Information Management Matters", desc: "Role of accurate information in pandemic response" },
    { num: "02", title: "Responding to Media", desc: "Principles, challenges & effective strategies for media engagement" },
    { num: "03", title: "Infodemic – Definition & Impact", desc: "Understanding the 'infodemic' and its effect on public health" },
    { num: "04", title: "Social Media: Use in Health Communication", desc: "Platforms, benefits, and best practices for health messaging" },
    { num: "05", title: "Misuse of Social Media", desc: "Misinformation, disinformation, and how to counter them" },
    { num: "06", title: "Strategies & WHO Guidelines", desc: "Key strategies for effective pandemic communication" },
  ];

  topics.forEach((t, i) => {
    const col = i < 3 ? 0 : 1;
    const row = i % 3;
    const x = 0.3 + col * 4.9;
    const y = 1.2 + row * 1.38;

    s.addShape(pres.ShapeType.rect, { x, y, w: 4.5, h: 1.22, fill: { color: WHITE }, line: { color: TEAL, width: 1.5 }, shadow: { type: "outer", blur: 4, offset: 2, angle: 45, color: "AAAAAA" } });
    s.addShape(pres.ShapeType.rect, { x, y, w: 0.5, h: 1.22, fill: { color: TEAL } });
    s.addText(t.num, { x, y: y + 0.3, w: 0.5, h: 0.6, fontSize: 18, color: WHITE, bold: true, align: "center" });
    s.addText(t.title, { x: x + 0.55, y: y + 0.08, w: 3.85, h: 0.5, fontSize: 12, bold: true, color: NAVY, align: "left" });
    s.addText(t.desc, { x: x + 0.55, y: y + 0.55, w: 3.85, h: 0.55, fontSize: 10, color: DARKGRAY, align: "left" });
  });
}

// ─────────────────────────────────────────────
// SLIDE 3: Why Information Management Matters
// ─────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: NAVY } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 3.8, h: 5.625, fill: { color: TEAL } });

  s.addText("Why\nInformation\nManagement\nMatters", {
    x: 0.2, y: 0.7, w: 3.3, h: 3.5,
    fontSize: 26, color: WHITE, bold: true, align: "center", valign: "middle"
  });

  const points = [
    { icon: "📢", title: "Saves Lives", body: "Timely, accurate information enables the public to take protective actions and reduces mortality." },
    { icon: "🛡️", title: "Builds Trust", body: "Transparent communication from authorities strengthens public confidence in the health system." },
    { icon: "⚖️", title: "Reduces Panic", body: "Controlled messaging prevents unnecessary fear, stigma, and social unrest." },
    { icon: "🔗", title: "Coordinates Response", body: "Shared, consistent information aligns efforts of health workers, government, and communities." },
  ];

  points.forEach((p, i) => {
    const y = 0.4 + i * 1.27;
    s.addShape(pres.ShapeType.rect, { x: 4.1, y, w: 5.6, h: 1.15, fill: { color: "122840" }, line: { color: ORANGE, width: 1 } });
    s.addText(p.icon + " " + p.title, { x: 4.2, y: y + 0.05, w: 5.4, h: 0.38, fontSize: 13, bold: true, color: ORANGE, align: "left" });
    s.addText(p.body, { x: 4.2, y: y + 0.45, w: 5.4, h: 0.62, fontSize: 11, color: LIGHT, align: "left" });
  });
}

// ─────────────────────────────────────────────
// SLIDE 4: Responding to Media - Principles
// ─────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.05, fill: { color: NAVY } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 1.0, w: 10, h: 0.07, fill: { color: ORANGE } });

  s.addText("Responding to Media", { x: 0.4, y: 0.12, w: 9, h: 0.75, fontSize: 30, color: WHITE, bold: true });
  s.addText("Core Principles for Healthcare Communicators", { x: 0.4, y: 0.6, w: 9, h: 0.35, fontSize: 13, color: TEAL });

  const principles = [
    { num: "1", title: "Be First", body: "Release information quickly. Silence creates a vacuum filled by rumors." },
    { num: "2", title: "Be Right", body: "Ensure accuracy. Verify facts before speaking. Correct errors promptly." },
    { num: "3", title: "Be Credible", body: "Cite sources. Speak with one consistent voice. Acknowledge uncertainty." },
    { num: "4", title: "Be Empathetic", body: "Recognize public concern. Show you understand fears and address them." },
    { num: "5", title: "Be Accessible", body: "Hold regular press briefings. Make spokespersons available. Use plain language." },
    { num: "6", title: "Be Proactive", body: "Anticipate media questions. Prepare key messages and Q&A in advance." },
  ];

  principles.forEach((p, i) => {
    const col = i % 3;
    const row = Math.floor(i / 3);
    const x = 0.25 + col * 3.25;
    const y = 1.25 + row * 2.05;
    s.addShape(pres.ShapeType.rect, { x, y, w: 3.0, h: 1.85, fill: { color: WHITE }, line: { color: NAVY, width: 1 }, shadow: { type: "outer", blur: 3, offset: 2, angle: 45, color: "BBBBBB" } });
    s.addShape(pres.ShapeType.rect, { x, y, w: 3.0, h: 0.42, fill: { color: NAVY } });
    s.addText(p.num + ".  " + p.title, { x: x + 0.1, y: y + 0.03, w: 2.8, h: 0.38, fontSize: 13, bold: true, color: WHITE, align: "left" });
    s.addText(p.body, { x: x + 0.1, y: y + 0.5, w: 2.8, h: 1.25, fontSize: 11, color: DARKGRAY, align: "left" });
  });
}

// ─────────────────────────────────────────────
// SLIDE 5: Media Challenges & Strategies
// ─────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.0, fill: { color: DARKGRAY } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0.97, w: 10, h: 0.06, fill: { color: ORANGE } });

  s.addText("Challenges & Strategies in Media Response", {
    x: 0.4, y: 0.15, w: 9, h: 0.7, fontSize: 26, color: WHITE, bold: true
  });

  // Two columns
  // Left: Challenges
  s.addShape(pres.ShapeType.rect, { x: 0.25, y: 1.15, w: 4.5, h: 0.45, fill: { color: ORANGE } });
  s.addText("⚠  CHALLENGES", { x: 0.3, y: 1.15, w: 4.4, h: 0.45, fontSize: 14, bold: true, color: WHITE, align: "center" });
  const challenges = [
    "Rapidly evolving and uncertain information",
    "Conflicting expert opinions",
    "Sensationalism and clickbait headlines",
    "24/7 news cycle demands",
    "Language barriers and health literacy gaps",
    "Political pressure on public health messaging",
  ];
  challenges.forEach((c, i) => {
    s.addShape(pres.ShapeType.rect, { x: 0.25, y: 1.65 + i * 0.62, w: 4.5, h: 0.56, fill: { color: i % 2 === 0 ? WHITE : "F5F9F9" }, line: { color: ORANGE, width: 0.5 } });
    s.addText("• " + c, { x: 0.35, y: 1.68 + i * 0.62, w: 4.2, h: 0.5, fontSize: 11, color: DARKGRAY });
  });

  // Right: Strategies
  s.addShape(pres.ShapeType.rect, { x: 5.25, y: 1.15, w: 4.5, h: 0.45, fill: { color: TEAL } });
  s.addText("✔  STRATEGIES", { x: 5.3, y: 1.15, w: 4.4, h: 0.45, fontSize: 14, bold: true, color: WHITE, align: "center" });
  const strategies = [
    "Designate a single, trained spokesperson",
    "Use clear, jargon-free language",
    "Hold regular scheduled press briefings",
    "Correct misinformation quickly and calmly",
    "Collaborate with media as partners, not adversaries",
    "Prepare Frequently Asked Questions (FAQs)",
  ];
  strategies.forEach((str, i) => {
    s.addShape(pres.ShapeType.rect, { x: 5.25, y: 1.65 + i * 0.62, w: 4.5, h: 0.56, fill: { color: i % 2 === 0 ? WHITE : "F0FAFA" }, line: { color: TEAL, width: 0.5 } });
    s.addText("✓ " + str, { x: 5.35, y: 1.68 + i * 0.62, w: 4.2, h: 0.5, fontSize: 11, color: DARKGRAY });
  });
}

// ─────────────────────────────────────────────
// SLIDE 6: Infodemic - Definition & Impact
// ─────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: NAVY } });
  // large quote decoration
  s.addText(""", { x: 0.1, y: -0.3, w: 2, h: 1.8, fontSize: 180, color: "1A3A5C", bold: true, align: "left" });

  s.addText("INFODEMIC", {
    x: 0.4, y: 0.25, w: 9, h: 0.7, fontSize: 36, color: ORANGE, bold: true, charSpacing: 5, align: "center"
  });
  s.addText("An excessive amount of information about a problem, making it difficult to\nidentify a solution. During a pandemic, misinformation spreads faster than the virus itself.", {
    x: 0.8, y: 1.05, w: 8.4, h: 0.85, fontSize: 14, color: LIGHT, align: "center", italic: true
  });
  s.addText("— World Health Organization (WHO)", { x: 0.8, y: 1.85, w: 8.4, h: 0.35, fontSize: 11, color: TEAL, align: "center" });

  const impacts = [
    { title: "Vaccine Hesitancy", body: "False claims lead to reduced vaccine uptake, extending the pandemic." },
    { title: "Panic Buying", body: "Rumors of shortages trigger hoarding of medicines and essentials." },
    { title: "Stigma & Discrimination", body: "Misinformation targets specific groups, communities, or ethnicities." },
    { title: "Health-Seeking Delay", body: "People avoid hospitals due to fear amplified by inaccurate news." },
    { title: "Undermined Trust", body: "Conflicting information erodes trust in health authorities and science." },
  ];

  impacts.forEach((imp, i) => {
    const x = 0.15 + i * 1.95;
    s.addShape(pres.ShapeType.rect, { x, y: 2.45, w: 1.8, h: 2.85, fill: { color: "0B1F38" }, line: { color: TEAL, width: 1.2 } });
    s.addShape(pres.ShapeType.rect, { x, y: 2.45, w: 1.8, h: 0.4, fill: { color: TEAL } });
    s.addText(imp.title, { x: x + 0.05, y: 2.47, w: 1.7, h: 0.36, fontSize: 10, bold: true, color: WHITE, align: "center" });
    s.addText(imp.body, { x: x + 0.07, y: 2.93, w: 1.66, h: 2.2, fontSize: 10, color: LIGHT, align: "center" });
  });
}

// ─────────────────────────────────────────────
// SLIDE 7: Social Media in Health Communication
// ─────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.05, fill: { color: TEAL } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 1.02, w: 10, h: 0.06, fill: { color: NAVY } });

  s.addText("Social Media: Use in Health Communication", {
    x: 0.4, y: 0.12, w: 9, h: 0.8, fontSize: 27, color: WHITE, bold: true
  });

  // Platforms
  const platforms = ["Twitter / X", "Facebook", "WhatsApp", "YouTube", "Instagram", "Telegram"];
  s.addText("Key Platforms Used:", { x: 0.4, y: 1.15, w: 9, h: 0.35, fontSize: 13, bold: true, color: NAVY });
  platforms.forEach((p, i) => {
    const x = 0.4 + (i % 3) * 3.1;
    const y = 1.55 + Math.floor(i / 3) * 0.5;
    s.addShape(pres.ShapeType.rect, { x, y, w: 2.85, h: 0.4, fill: { color: NAVY }, line: { color: TEAL, width: 0.5 } });
    s.addText(p, { x, y, w: 2.85, h: 0.4, fontSize: 12, color: WHITE, align: "center", valign: "middle" });
  });

  // Benefits
  s.addText("Benefits of Social Media in Pandemic Communication:", {
    x: 0.4, y: 2.65, w: 9, h: 0.38, fontSize: 13, bold: true, color: NAVY
  });

  const benefits = [
    { icon: "⚡", text: "Real-time dissemination of health alerts and updates" },
    { icon: "🌐", text: "Reaches large, geographically diverse populations instantly" },
    { icon: "💬", text: "Enables two-way communication and public Q&A" },
    { icon: "📊", text: "Allows monitoring of public sentiment and rumors" },
    { icon: "🤝", text: "Facilitates community engagement and peer education" },
    { icon: "📱", text: "Accessible on mobile devices in low-resource settings" },
  ];

  benefits.forEach((b, i) => {
    const col = i % 2;
    const row = Math.floor(i / 2);
    const x = 0.25 + col * 4.85;
    const y = 3.1 + row * 0.82;
    s.addShape(pres.ShapeType.rect, { x, y, w: 4.6, h: 0.72, fill: { color: WHITE }, line: { color: TEAL, width: 0.8 } });
    s.addText(b.icon + "  " + b.text, { x: x + 0.1, y: y + 0.1, w: 4.4, h: 0.52, fontSize: 11, color: DARKGRAY });
  });
}

// ─────────────────────────────────────────────
// SLIDE 8: Misuse of Social Media
// ─────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: "1A0A0A" } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.05, fill: { color: ORANGE } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 1.02, w: 10, h: 0.06, fill: { color: "CC3300" } });

  s.addText("Misuse of Social Media for Health Messages", {
    x: 0.4, y: 0.12, w: 9, h: 0.8, fontSize: 26, color: WHITE, bold: true
  });

  const types = [
    { title: "Misinformation", desc: "False or inaccurate information spread without harmful intent (e.g., incorrect home remedies)." },
    { title: "Disinformation", desc: "Deliberately fabricated content intended to deceive and manipulate public behavior." },
    { title: "Malinformation", desc: "True information used with intent to harm (e.g., leaking patient identities)." },
    { title: "Health Myths", desc: "Unfounded beliefs (e.g., '5G causes COVID', 'bleach cures infection') spread virally." },
    { title: "Conspiracy Theories", desc: "Narratives undermining vaccines, government response, or scientific consensus." },
    { title: "Deepfakes & Fabricated Videos", desc: "AI-generated media showing fake expert statements that gain massive traction." },
  ];

  types.forEach((t, i) => {
    const col = i % 3;
    const row = Math.floor(i / 3);
    const x = 0.2 + col * 3.27;
    const y = 1.25 + row * 2.0;
    s.addShape(pres.ShapeType.rect, { x, y, w: 3.1, h: 1.85, fill: { color: "2A0D0D" }, line: { color: ORANGE, width: 1.2 } });
    s.addShape(pres.ShapeType.rect, { x, y, w: 3.1, h: 0.42, fill: { color: "8B1A1A" } });
    s.addText("⚠  " + t.title, { x: x + 0.08, y: y + 0.04, w: 2.94, h: 0.36, fontSize: 12, bold: true, color: ORANGE });
    s.addText(t.desc, { x: x + 0.1, y: y + 0.5, w: 2.9, h: 1.28, fontSize: 11, color: LIGHT, align: "left" });
  });
}

// ─────────────────────────────────────────────
// SLIDE 9: Countering Misinformation
// ─────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.05, fill: { color: NAVY } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 1.02, w: 10, h: 0.06, fill: { color: TEAL } });

  s.addText("Countering Misinformation: The WHO Approach", {
    x: 0.4, y: 0.15, w: 9, h: 0.75, fontSize: 27, color: WHITE, bold: true
  });

  // 5-step process
  const steps = [
    { num: "1", label: "Listen", detail: "Monitor social media and community channels for circulating false narratives" },
    { num: "2", label: "Identify", detail: "Detect harmful myths early using digital surveillance tools and community reporters" },
    { num: "3", label: "Verify", detail: "Cross-check with WHO, CDC, and peer-reviewed evidence before responding" },
    { num: "4", label: "Respond", detail: "Issue clear corrections using simple language; acknowledge uncertainty honestly" },
    { num: "5", label: "Amplify", detail: "Boost credible voices (doctors, community leaders) through official channels" },
  ];

  // Flow arrows
  steps.forEach((st, i) => {
    const x = 0.3 + i * 1.9;
    s.addShape(pres.ShapeType.rect, { x, y: 1.25, w: 1.65, h: 3.2, fill: { color: WHITE }, line: { color: TEAL, width: 1.5 }, shadow: { type: "outer", blur: 4, offset: 2, angle: 45, color: "AAAAAA" } });
    s.addShape(pres.ShapeType.rect, { x, y: 1.25, w: 1.65, h: 0.6, fill: { color: i % 2 === 0 ? NAVY : TEAL } });
    s.addText(st.num, { x, y: 1.28, w: 1.65, h: 0.54, fontSize: 22, bold: true, color: WHITE, align: "center" });
    s.addText(st.label, { x: x + 0.05, y: 1.9, w: 1.55, h: 0.5, fontSize: 13, bold: true, color: NAVY, align: "center" });
    s.addText(st.detail, { x: x + 0.07, y: 2.48, w: 1.51, h: 2.0, fontSize: 10, color: DARKGRAY, align: "center" });

    if (i < 4) {
      s.addShape(pres.ShapeType.chevron, { x: x + 1.68, y: 2.1, w: 0.2, h: 0.5, fill: { color: ORANGE } });
    }
  });

  s.addText("WHO 'LISTEN - VERIFY - RESPOND' Framework for Infodemic Management", {
    x: 0.3, y: 4.7, w: 9.4, h: 0.5,
    fontSize: 11, color: GRAY, align: "center", italic: true
  });
}

// ─────────────────────────────────────────────
// SLIDE 10: Best Practices & Key Takeaways
// ─────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.05, fill: { color: TEAL } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 1.02, w: 10, h: 0.06, fill: { color: NAVY } });

  s.addText("Best Practices & Key Takeaways", {
    x: 0.4, y: 0.12, w: 9, h: 0.8, fontSize: 28, color: WHITE, bold: true
  });

  const takeaways = [
    { icon: "🗣️", header: "One Voice, One Message", text: "Coordinate through a single official spokesperson to avoid contradictory messaging that fuels confusion." },
    { icon: "📅", header: "Timely Updates", text: "Issue regular updates even when there is nothing new — silence breeds rumor. Say 'we are still investigating'." },
    { icon: "🔍", header: "Fact-Check Before Sharing", text: "Verify information against WHO, CDC, and national health body advisories before amplifying." },
    { icon: "❤️", header: "Health Literacy First", text: "Use visuals, local language, and accessible formats. Tailor messages to the audience's literacy level." },
    { icon: "🤖", header: "Use Technology Wisely", text: "Deploy chatbots, WhatsApp helplines, and AI tools to answer FAQs at scale." },
    { icon: "🤝", header: "Engage Community Leaders", text: "Partner with local influencers, religious leaders, and healthcare workers for trusted outreach." },
  ];

  takeaways.forEach((t, i) => {
    const col = i % 2;
    const row = Math.floor(i / 2);
    const x = 0.2 + col * 4.95;
    const y = 1.2 + row * 1.42;
    s.addShape(pres.ShapeType.rect, { x, y, w: 4.65, h: 1.3, fill: { color: WHITE }, line: { color: NAVY, width: 0.8 }, shadow: { type: "outer", blur: 3, offset: 1, angle: 45, color: "CCCCCC" } });
    s.addShape(pres.ShapeType.rect, { x, y, w: 0.55, h: 1.3, fill: { color: row === 0 ? NAVY : (row === 1 ? TEAL : ORANGE) } });
    s.addText(t.icon, { x: x + 0.03, y: y + 0.4, w: 0.5, h: 0.5, fontSize: 18, align: "center" });
    s.addText(t.header, { x: x + 0.62, y: y + 0.06, w: 3.95, h: 0.4, fontSize: 12, bold: true, color: NAVY });
    s.addText(t.text, { x: x + 0.62, y: y + 0.48, w: 3.95, h: 0.74, fontSize: 10.5, color: DARKGRAY });
  });
}

// ─────────────────────────────────────────────
// SLIDE 11: Closing / Summary Slide
// ─────────────────────────────────────────────
{
  const s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: NAVY } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.15, h: 5.625, fill: { color: TEAL } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 4.75, w: 10, h: 0.08, fill: { color: ORANGE } });

  s.addText("Key Summary", {
    x: 0.4, y: 0.25, w: 9, h: 0.6, fontSize: 14, color: TEAL, bold: true, charSpacing: 3
  });

  s.addText("Accurate Information\nSaves Lives.", {
    x: 0.4, y: 0.9, w: 8.5, h: 1.4, fontSize: 40, color: WHITE, bold: true, align: "left"
  });

  const summaryPoints = [
    "In pandemics, information management is as critical as clinical management.",
    "Be first, be right, be empathetic — the three pillars of media response.",
    "Infodemics amplify harm: identify, verify, and counter misinformation rapidly.",
    "Social media is a powerful tool — use it responsibly and monitor it vigilantly.",
    "Trust, transparency, and timely communication are non-negotiable.",
  ];

  summaryPoints.forEach((sp, i) => {
    s.addShape(pres.ShapeType.rect, { x: 0.4, y: 2.45 + i * 0.57, w: 0.35, h: 0.42, fill: { color: TEAL } });
    s.addText((i + 1).toString(), { x: 0.4, y: 2.45 + i * 0.57, w: 0.35, h: 0.42, fontSize: 13, bold: true, color: WHITE, align: "center" });
    s.addText(sp, { x: 0.85, y: 2.47 + i * 0.57, w: 8.8, h: 0.42, fontSize: 12, color: LIGHT, align: "left" });
  });

  s.addText("GEN MED | PUL MED | ANAES  •  Module 4.4  •  2 Hours  •  Interactive Discussion", {
    x: 0.3, y: 5.1, w: 9.4, h: 0.35, fontSize: 10, color: GRAY, align: "center"
  });
}

// ─────────────────────────────────────────────
// Save
// ─────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/pandemic-module4/Pandemic_Module4.4_Info_Management.pptx" })
  .then(() => console.log("PPT saved successfully!"))
  .catch(err => console.error("Error:", err));
Running Command

cd /home/daytona/workspace/pandemic-module4 && node create_ppt.js

Editing File

~/pandemic-module4/create_ppt.js

Successfully replaced 1 instance(s) of the string in '/home/daytona/workspace/pandemic-module4/create_ppt.js'
Running Command

cd /home/daytona/workspace/pandemic-module4 && node create_ppt.js

The presentation has been created successfully. Here's your download link:

Pandemic Module4.4 Info Management

Presentation · PPTX


Here's what's included in the 11-slide deck:
SlideContent
1Title Slide - Module 4.4 branding, departments, duration
2Overview / Agenda - 6 topic cards numbered 01-06
3Why Information Management Matters - 4 key reasons
4Responding to Media - Core Principles - Be First, Right, Credible, Empathetic, Accessible, Proactive
5Challenges vs Strategies - Two-column comparison layout
6Infodemic - WHO definition + 5 public health impacts
7Social Media: Use in Health Communication - Platforms + 6 benefits
8Misuse of Social Media - Misinformation, Disinformation, Malinformation, Myths, Conspiracies, Deepfakes
9Countering Misinformation - WHO's 5-step Listen-Verify-Respond framework
10Best Practices & Key Takeaways - 6 actionable cards
11Closing Summary - 5 key messages on dark background
Design: Navy blue dominant palette with teal and orange accents, card-style content boxes, section color-coding for GEN MED / PUL MED / ANAES context.
This is a shared conversation. Sign in to Orris to start your own chat.