File size: 5,061 Bytes
ea6e6ce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HelpHub - Self-Service Support</title>
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="components/navbar.js"></script>
    <script src="components/search.js"></script>
    <script src="components/category-card.js"></script>
    <script src="components/article-card.js"></script>
    <script src="components/footer.js"></script>
</head>
<body class="bg-gray-50">
    <custom-navbar></custom-navbar>
    
    <main class="container mx-auto px-4 py-8">
        <!-- Hero Section -->
        <section class="text-center mb-12">
            <h1 class="text-4xl font-bold text-gray-800 mb-4">How can we help you today?</h1>
            <p class="text-xl text-gray-600 mb-8">Find answers to common questions or contact our support team</p>
            <custom-search></custom-search>
        </section>

        <!-- Popular Categories -->
        <section class="mb-12">
            <h2 class="text-2xl font-semibold text-gray-800 mb-6">Popular Categories</h2>
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
                <custom-category-card 
                    icon="settings" 
                    title="Getting Started" 
                    count="15 articles"
                    color="bg-blue-100"
                    text-color="text-blue-800">
                </custom-category-card>
                <custom-category-card 
                    icon="credit-card" 
                    title="Billing" 
                    count="8 articles"
                    color="bg-green-100"
                    text-color="text-green-800">
                </custom-category-card>
                <custom-category-card 
                    icon="user" 
                    title="Account" 
                    count="12 articles"
                    color="bg-purple-100"
                    text-color="text-purple-800">
                </custom-category-card>
                <custom-category-card 
                    icon="lock" 
                    title="Security" 
                    count="5 articles"
                    color="bg-yellow-100"
                    text-color="text-yellow-800">
                </custom-category-card>
            </div>
        </section>

        <!-- Recent Articles -->
        <section class="mb-12">
            <div class="flex justify-between items-center mb-6">
                <h2 class="text-2xl font-semibold text-gray-800">Recent Articles</h2>
                <a href="articles.html" class="text-blue-600 hover:text-blue-800 flex items-center">
                    View all articles <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i>
                </a>
</div>
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
                <custom-article-card 
                    title="How to reset your password"
                    excerpt="Step-by-step guide to resetting your account password"
                    category="Account"
                    date="2 days ago"
                    views="124">
                </custom-article-card>
                <custom-article-card 
                    title="Understanding your invoice"
                    excerpt="Learn how to read and understand your billing statement"
                    category="Billing"
                    date="1 week ago"
                    views="89">
                </custom-article-card>
                <custom-article-card 
                    title="Two-factor authentication setup"
                    excerpt="Secure your account with 2FA for added protection"
                    category="Security"
                    date="3 weeks ago"
                    views="215">
                </custom-article-card>
            </div>
        </section>

        <!-- Contact Section -->
        <section class="bg-white rounded-lg shadow-md p-8 mb-12">
            <div class="text-center">
                <i data-feather="mail" class="w-12 h-12 text-blue-600 mx-auto mb-4"></i>
                <h2 class="text-2xl font-semibold text-gray-800 mb-2">Still need help?</h2>
                <p class="text-gray-600 mb-6">Our support team is ready to assist you</p>
                <a href="contact.html" class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-6 rounded-lg inline-flex items-center">
                    Contact Support <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
                </a>
            </div>
        </section>
    </main>

    <custom-footer></custom-footer>

    <script>
        feather.replace();
    </script>
    <script src="script.js"></script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>