-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex-static-backup.html
More file actions
175 lines (165 loc) · 5.87 KB
/
index-static-backup.html
File metadata and controls
175 lines (165 loc) · 5.87 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MainWP.dev - Developer Documentation</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
header {
background-color: #1c2b46;
color: white;
padding: 20px;
text-align: center;
border-radius: 5px;
margin-bottom: 30px;
}
h1 {
margin: 0;
font-size: 2.5em;
}
h2 {
color: #1c2b46;
border-bottom: 2px solid #eee;
padding-bottom: 10px;
margin-top: 30px;
}
.subtitle {
font-size: 1.2em;
margin-top: 10px;
opacity: 0.8;
}
.documentation-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
margin-top: 30px;
}
.doc-card {
border: 1px solid #ddd;
border-radius: 5px;
padding: 20px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.doc-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.doc-card h3 {
margin-top: 0;
color: #1c2b46;
}
.doc-card p {
margin-bottom: 15px;
}
.button {
display: inline-block;
background-color: #1c2b46;
color: white;
padding: 10px 15px;
text-decoration: none;
border-radius: 4px;
font-weight: bold;
}
.button:hover {
background-color: #2a3f5f;
}
footer {
margin-top: 50px;
text-align: center;
color: #777;
font-size: 0.9em;
padding-top: 20px;
border-top: 1px solid #eee;
}
.coming-soon {
background-color: #f8f9fa;
border: 1px dashed #ddd;
opacity: 0.7;
}
.coming-soon .button {
background-color: #6c757d;
cursor: not-allowed;
}
</style>
</head>
<body>
<header>
<h1>MainWP.dev</h1>
<div class="subtitle">Developer Documentation & Resources</div>
</header>
<main>
<section>
<h2>Welcome to MainWP.dev</h2>
<p>
MainWP.dev is a dedicated platform for developers working with MainWP, offering comprehensive documentation,
code snippets, and technical resources to help you extend and customize MainWP.
</p>
<p>
Whether you're building extensions, customizing existing functionality, or integrating MainWP with other systems,
you'll find the resources you need here.
</p>
</section>
<section>
<h2>Documentation</h2>
<div class="documentation-grid">
<div class="doc-card">
<h3>MainWP Dashboard</h3>
<p>Explore the source code documentation for the MainWP Dashboard plugin.</p>
<a href="source-code/dashboard/index.html" class="button">View Documentation</a>
</div>
<div class="doc-card">
<h3>MainWP Child</h3>
<p>Explore the source code documentation for the MainWP Child plugin.</p>
<a href="source-code/child/index.html" class="button">View Documentation</a>
</div>
<div class="doc-card coming-soon">
<h3>REST API</h3>
<p>Documentation for the MainWP REST API endpoints and usage.</p>
<a href="#" class="button">Coming Soon</a>
</div>
<div class="doc-card">
<h3>Hooks Reference</h3>
<p>Comprehensive reference for all MainWP actions and filters.</p>
<a href="mainwp-hooks/index.md" class="button">View Documentation</a>
</div>
</div>
</section>
<section>
<h2>Developer Resources</h2>
<div class="documentation-grid">
<div class="doc-card">
<h3>Developer Guides</h3>
<p>Comprehensive guides for MainWP extension development.</p>
<a href="guides/index.md" class="button">View Guides</a>
</div>
<div class="doc-card">
<h3>Getting Started</h3>
<p>Learn how to set up your development environment and create your first extension.</p>
<a href="guides/how-to/setup-environment.md" class="button">Get Started</a>
</div>
<div class="doc-card">
<h3>Extension Development</h3>
<p>Detailed guides for creating and customizing MainWP extensions.</p>
<a href="guides/how-to/create-basic-extension.md" class="button">Learn More</a>
</div>
<div class="doc-card">
<h3>Actions & Filters</h3>
<p>Learn how to use MainWP hooks to integrate your extensions.</p>
<a href="guides/how-to/actions-filters.md" class="button">View Guide</a>
</div>
</div>
</section>
</main>
<footer>
<p>© 2025 MainWP. All rights reserved.</p>
</footer>
</body>
</html>