-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocumentation.html
More file actions
149 lines (131 loc) · 4.83 KB
/
documentation.html
File metadata and controls
149 lines (131 loc) · 4.83 KB
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Assistant Pro - Documentation</title>
<style>
:root {
--primary-color: #6366f1;
--text-color: #1f2937;
--bg-color: #ffffff;
--code-bg: #f3f4f6;
--border-color: #e5e7eb;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
color: var(--text-color);
background: var(--bg-color);
max-width: 800px;
margin: 0 auto;
padding: 2rem;
}
h1, h2, h3 {
color: var(--primary-color);
margin-top: 2rem;
}
code {
background: var(--code-bg);
padding: 0.2rem 0.4rem;
border-radius: 4px;
font-size: 0.9em;
}
pre {
background: var(--code-bg);
padding: 1rem;
border-radius: 8px;
overflow-x: auto;
}
.tip {
background: #e0e7ff;
border-left: 4px solid var(--primary-color);
padding: 1rem;
margin: 1rem 0;
border-radius: 4px;
}
@media (max-width: 768px) {
body {
padding: 1rem;
}
}
</style>
</head>
<body>
<h1>AI Assistant Pro - Documentation</h1>
<h2>Table of Contents</h2>
<ul>
<li><a href="#text-images">Editing Text & Images</a></li>
<li><a href="#colors-styles">Changing Colors & Styles</a></li>
<li><a href="#components">Customizing Components</a></li>
<li><a href="#social-icons">Social Media Icons</a></li>
<li><a href="#additional">Additional Customization</a></li>
</ul>
<h2 id="text-images">1. Editing Text & Images</h2>
<p>All text content can be found in the <code>index.html</code> file. To modify:</p>
<ul>
<li>Open <code>index.html</code> in your code editor</li>
<li>Find the section you want to edit (sections are clearly commented)</li>
<li>Update the text within the HTML tags</li>
</ul>
<div class="tip">
<strong>Tip:</strong> For SEO optimization, make sure to update meta tags in the <code><head></code> section.
</div>
<h3>Updating Images</h3>
<pre><code><!-- Image example -->
<img src="path/to/your/image.jpg" alt="Descriptive text"></code></pre>
<h2 id="colors-styles">2. Changing Colors & Styles</h2>
<p>Colors and styles are defined in <code>css/styles.css</code> using CSS variables:</p>
<pre><code>:root {
--primary-color: #6366f1;
--secondary-color: #ec4899;
--accent-color: #06b6d4;
/* Add more custom colors here */
}</code></pre>
<h2 id="components">3. Customizing Components</h2>
<h3>Email Input Customization</h3>
<p>The email input styling can be modified in <code>css/styles.css</code>:</p>
<pre><code>.newsletter-form input {
padding: 1rem 1.25rem;
border: 2px solid var(--gray-200);
border-radius: var(--radius-md);
/* Add custom styles */
}</code></pre>
<h3>Dark Mode Toggle</h3>
<p>The dark mode toggle button can be customized:</p>
<pre><code>.dark-mode-toggle {
width: 40px;
height: 40px;
border: 2px solid var(--gray-200);
/* Modify appearance */
}</code></pre>
<h2 id="social-icons">4. Replacing the X (Twitter) Logo</h2>
<p>The X logo is implemented as an SVG in <code>x-logo.svg</code>. To update:</p>
<ol>
<li>Replace the <code>x-logo.svg</code> file with your custom version</li>
<li>Update the HTML in <code>index.html</code>:</li>
</ol>
<pre><code><img src="x-logo.svg" alt="X (formerly Twitter)" class="social-icon x-icon"></code></pre>
<h2 id="additional">5. Additional Customization</h2>
<h3>Responsive Breakpoints</h3>
<p>The template uses these breakpoints:</p>
<ul>
<li>Mobile: <code>max-width: 768px</code></li>
<li>Tablet: <code>max-width: 992px</code></li>
<li>Desktop: <code>min-width: 993px</code></li>
</ul>
<h3>Adding Custom Fonts</h3>
<p>To use custom fonts:</p>
<ol>
<li>Add font imports to <code><head></code> in <code>index.html</code></li>
<li>Update the font variables in <code>css/styles.css</code>:</li>
</ol>
<pre><code>:root {
--body-font: 'Your Font', sans-serif;
--heading-font: 'Your Heading Font', sans-serif;
}</code></pre>
<div class="tip">
<strong>Need Help?</strong> For additional support or questions, please refer to our support documentation or contact our team.
</div>
</body>
</html>