);
}
export default function Help() {
const [activeSection, setActiveSection] = useState(null);
const [openAccordions, setOpenAccordions] = useState>(new Set());
const sectionRefs = useRef>({});
const location = useLocation();
// Handle URL hash navigation and auto-expand accordions
useEffect(() => {
const hash = location.hash.replace('#', '');
if (hash) {
// Small delay to ensure DOM is ready
setTimeout(() => {
scrollToSection(hash, true);
}, 100);
}
}, [location.hash]);
const scrollToSection = (id: string, fromHash = false) => {
const element = sectionRefs.current[id];
if (element) {
// Open the accordion if the section is inside one
if (fromHash) {
setOpenAccordions(prev => new Set([...prev, id]));
}
const offset = 100;
const elementPosition = element.getBoundingClientRect().top;
const offsetPosition = elementPosition + window.pageYOffset - offset;
window.scrollTo({
top: offsetPosition,
behavior: "smooth"
});
setActiveSection(id);
}
};
const tableOfContents: TableOfContentsItem[] = [
{ id: "getting-started", title: "Getting Started", level: 1 },
{ id: "quick-start", title: "Quick Start Guide", level: 2 },
{ id: "workflow-pipeline", title: "8-Stage Workflow Pipeline", level: 2 },
{ id: "dashboard", title: "Dashboard", level: 1 },
{ id: "setup", title: "Setup & Onboarding", level: 1 },
{ id: "onboarding-wizard", title: "Onboarding Wizard", level: 2 },
{ id: "keywords-library", title: "Keywords Library", level: 2 },
{ id: "content-settings", title: "Content Settings", level: 2 },
{ id: "sites", title: "Sites Management", level: 2 },
{ id: "planner-module", title: "Planner Module", level: 1 },
{ id: "keywords", title: "Keywords Management", level: 2 },
{ id: "clusters", title: "Keyword Clusters", level: 2 },
{ id: "ideas", title: "Content Ideas", level: 2 },
{ id: "writer-module", title: "Writer Module", level: 1 },
{ id: "tasks", title: "Tasks Management", level: 2 },
{ id: "content", title: "Content Generation", level: 2 },
{ id: "images", title: "Image Generation", level: 2 },
{ id: "review-publish", title: "Review & Publish", level: 2 },
{ id: "automation", title: "Automation Pipeline", level: 1 },
{ id: "publisher", title: "Publisher & Calendar", level: 1 },
{ id: "integrations", title: "Integrations", level: 1 },
{ id: "wordpress", title: "WordPress Integration", level: 2 },
{ id: "ai-providers", title: "AI Providers", level: 2 },
{ id: "account", title: "Account & Billing", level: 1 },
{ id: "credits", title: "Credits System", level: 2 },
{ id: "plans-billing", title: "Plans & Billing", level: 2 },
{ id: "usage", title: "Usage & Limits", level: 2 },
{ id: "team", title: "Team Management", level: 2 },
{ id: "faq", title: "Frequently Asked Questions", level: 1 },
];
const faqItems = [
{
question: "How do I add keywords to my workflow?",
answer: "Navigate to Keywords Library in the sidebar. Browse available keywords by industry and sector, use filters to find relevant ones, and click 'Add to Workflow' on individual keywords or use bulk selection to add multiple keywords at once. You can also import keywords via CSV upload."
},
{
question: "What is the difference between Keywords and Clusters?",
answer: "Keywords are individual search terms. Clusters are groups of related keywords organized together for content planning. Clusters help you create comprehensive content that covers multiple related search queries for better topical authority."
},
{
question: "How does auto-clustering work?",
answer: "Auto-clustering uses AI to analyze your keywords and group them based on semantic similarity and search intent. Select keywords in the Keywords page and click 'Auto Cluster' to automatically organize them into topic clusters."
},
{
question: "How do I generate content ideas from clusters?",
answer: "Go to Planner → Clusters, select one or more clusters, and click 'Generate Ideas'. The AI will analyze the keywords in each cluster and create content ideas that cover the topics comprehensively."
},
{
question: "What is the complete workflow from keywords to published content?",
answer: "IGNY8 follows an 8-stage pipeline: 1) Add keywords from Opportunities or CSV, 2) Cluster related keywords, 3) Generate content ideas from clusters, 4) Create tasks from ideas, 5) Generate AI content from tasks, 6) Generate featured and in-article images, 7) Review and approve content, 8) Publish to your site. You can automate most of these steps in the Automation page."
},
{
question: "How do I set up automation?",
answer: "Go to the Automation page from the main menu. Enable automation for each stage (Clustering, Ideas, Tasks, Content, Images, Publishing) and configure settings like batch sizes and schedules. You can run automation Daily, Weekly, or Monthly, or trigger it manually."
},
{
question: "Can I edit AI-generated content?",
answer: "Yes! All AI-generated content can be edited. Go to Writer → Content, click on any content piece to open the HTML editor, and make your changes. You can also regenerate content if needed."
},
{
question: "How are images generated?",
answer: "Images are generated using IGNY8 AI (Premium quality or Basic quality) based on your content. Go to Writer → Images to see all generated images. You can generate featured images and in-article images, regenerate them if needed, and they automatically sync to your site when publishing."
},
{
question: "What is the difference between Tasks and Content?",
answer: "Tasks are content ideas converted into actionable writing assignments with status tracking. Content is the actual generated articles created from tasks. Tasks track what needs to be written and its progress, Content shows what has been written."
},
{
question: "How do I filter data by site or sector?",
answer: "Use the Site and Sector selectors in the page header. Select a site to filter all data to that site. Select a sector for further filtering. The 'All Sectors' option shows all sectors for the selected site."
},
{
question: "How do credits work?",
answer: "Credits are your currency for AI operations. Text operations (content, clustering, ideas) are token-based - actual tokens used are converted to credits. Image generation uses fixed credits: 5 credits for basic images, 25 credits for premium images. Your plan includes monthly credits that reset each billing period."
},
{
question: "What are the 4 usage limits?",
answer: "IGNY8 has 4 simplified limits: 1) Content Generation - monthly words/tokens for AI content, 2) Image Generation - monthly images (basic + premium), 3) Storage - total content and media storage, 4) API Calls - monthly API request limit. View these in Account → Usage."
},
{
question: "How do I purchase more credits?",
answer: "Go to Account → Purchase Credits. Select a credit package and complete the purchase via Stripe, PayPal, or Bank Transfer. Credits are added to your balance immediately and never expire."
},
{
question: "How do I connect WordPress?",
answer: "Go to Sites, select your site, and click 'Connect WordPress'. Install the IGNY8 WP Bridge plugin on your WordPress site, then enter your WordPress URL and API key. The plugin provides secure REST API access for publishing content and syncing media."
},
{
question: "Why isn't my content syncing to WordPress?",
answer: "Check: 1) WordPress credentials are correct in Site Settings, 2) IGNY8 WP Bridge plugin is installed and activated, 3) REST API is enabled on your WordPress site, 4) The content status is 'Approved' or 'Published'. You can manually sync individual posts from the Content page."
},
{
question: "Can I schedule content publishing?",
answer: "Yes! Use the Publisher → Calendar to schedule content for specific dates and times. You can set up scheduled publishing to automatically publish approved content at your preferred times."
},
{
question: "What payment methods are supported?",
answer: "IGNY8 supports Stripe (credit/debit cards), PayPal, and Bank Transfer (for annual plans). Payment method availability varies by country - the system automatically shows available options based on your location."
},
{
question: "How do team roles work?",
answer: "IGNY8 has 5 roles: Developer (all accounts), Admin (full account access), Manager (content + billing), Editor (AI content only), Viewer (read-only). Admins can invite team members and assign roles in Account → Settings → Team."
},
{
question: "Can I export my data?",
answer: "Yes! Most table pages have export functionality. Look for the export button in the action bar. You can export data as CSV for keywords, clusters, content, and other entities."
},
{
question: "What happens if I delete a cluster?",
answer: "Deleting a cluster does not delete the keywords in it. Keywords will become unclustered and can be re-clustered later. Content ideas associated with the cluster will also be unlinked but not deleted."
},
{
question: "How do I cancel my subscription?",
answer: "Go to Account → Plans & Billing, and click 'Cancel Plan' on the Current Plan tab. You'll be asked to confirm. Your subscription remains active until the end of the billing period, and remaining credits are preserved for 30 days."
}
];
return (
<>
, color: 'blue' }}
/>