File size: 2,489 Bytes
55733a2
 
 
 
 
 
 
 
 
 
 
7630f5a
 
55733a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7630f5a
55733a2
7630f5a
55733a2
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Documentation - CodeGenius</title>
  <link rel="stylesheet" href="style.css">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
  <script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
  <app-layout>
<section class="hero">
      <h1 class="animate">Spellbook Documentation</h1>
      <p class="animate">Learn how to wield our magical components with power and precision</p>
    </section>

    <section class="docs-container">
      <div class="docs-sidebar">
        <h3>Components</h3>
        <ul>
          <li><a href="#navbar">Navbar</a></li>
          <li><a href="#footer">Footer</a></li>
          <li><a href="#cards">Cards</a></li>
          <li><a href="#buttons">Buttons</a></li>
        </ul>
        
        <h3>Utilities</h3>
        <ul>
          <li><a href="#theming">Theming</a></li>
          <li><a href="#animations">Animations</a></li>
          <li><a href="#responsive">Responsive Design</a></li>
        </ul>
      </div>

      <div class="docs-content">
        <article id="navbar" class="doc-section">
          <h2>Navbar Component</h2>
          <p>The magical navigation bar that stays fixed at the top of your page.</p>
          <pre><code>&lt;custom-navbar&gt;&lt;/custom-navbar&gt;</code></pre>
          <p>Simply include the component tag in your HTML and the script in your page.</p>
        </article>

        <article id="footer" class="doc-section">
          <h2>Footer Component</h2>
          <p>A responsive footer with multiple sections for your content.</p>
          <pre><code>&lt;custom-footer&gt;&lt;/custom-footer&gt;</code></pre>
        </article>

        <article id="cards" class="doc-section">
          <h2>Card Components</h2>
          <p>Feature cards with hover effects and icon support.</p>
          <pre><code>&lt;div class="feature-card"&gt;
  &lt;div class="feature-icon"&gt;
    &lt;i class="fas fa-magic"&gt;&lt;/i&gt;
  &lt;/div&gt;
  &lt;h3&gt;Card Title&lt;/h3&gt;
  &lt;p&gt;Card description content&lt;/p&gt;
&lt;/div&gt;</code></pre>
        </article>
      </div>
    </section>
  </app-layout>

  <script src="components/layout.js"></script>
  <script src="components/navbar.js"></script>
  <script src="components/footer.js"></script>
  <script src="script.js"></script>
</body>
</html>