/*// lib/features/admin/tabs/staff_faq/published_faq_sub_tab.dart

import 'package:flutter/material.dart';

class PublishedFaqSubTab extends StatefulWidget {
  const PublishedFaqSubTab({super.key});

  @override
  State<PublishedFaqSubTab> createState() => _PublishedFaqSubTabState();
}

class _PublishedFaqSubTabState extends State<PublishedFaqSubTab> {
  static const Color _darkGreen = Color.fromARGB(255, 2, 105, 48);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.transparent,
      floatingActionButton: FloatingActionButton.extended(
        onPressed: () {}, // Add logic to open FAQ creator
        backgroundColor: _darkGreen,
        elevation: 0,
        shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(4)), // Flat UI
        icon: const Icon(Icons.add_rounded, color: Colors.white),
        label: const Text('NEW FAQ', style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold, letterSpacing: 1.0)),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Container(
              padding: const EdgeInsets.all(24),
              decoration: BoxDecoration(color: Colors.white, shape: BoxShape.rectangle, border: Border.all(color: Colors.grey.shade200, width: 2)),
              child: Icon(Icons.forum_outlined, size: 64, color: Colors.grey.shade300),
            ),
            const SizedBox(height: 24),
            Text('No Published FAQs', style: TextStyle(fontSize: 22, fontWeight: FontWeight.w900, color: Colors.grey.shade400, letterSpacing: 1.0)),
            const SizedBox(height: 8),
            Text('Add frequently asked questions to help students.', style: TextStyle(color: Colors.grey.shade500, fontSize: 15)),
          ],
        ),
      ),
    );
  }
}*/