-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
247 lines (216 loc) · 5.64 KB
/
index.php
File metadata and controls
247 lines (216 loc) · 5.64 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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<<<<<<< HEAD
<?php
header("Location: php/login.php");
exit();
// If user is already logged in, redirect to services page
if (isset($_SESSION['user_id'])) {
header("Location: services.php");
exit();
}
?>
=======
<?php
include 'db.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MindMatrix.io - AI Innovation Hub</title>
<link rel="stylesheet" type="text/css" href="assets/css/header.css">
<link rel="stylesheet" type="text/css" href="assets/css/index.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<style>
/* Index Page - Professional Design */
/* Global Styles */
body {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
background: #0A192F; /* Deep navy background */
color: #CCD6F6; /* Light gray text */
line-height: 1.6;
}
/* Hero Section */
.hero {
background: linear-gradient(145deg, #0A192F, #112240);
padding: 100px 20px;
text-align: center;
color: #CCD6F6;
}
.hero-content h1 {
font-size: 48px;
margin-bottom: 20px;
color: #64FFDA; /* Teal accent */
}
.hero-content p {
font-size: 20px;
max-width: 800px;
margin: 0 auto 30px;
color: #8892B0; /* Light gray text */
}
.btn-hero {
padding: 12px 24px;
background: #64FFDA;
color: #0A192F;
font-weight: bold;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s, color 0.3s;
}
.btn-hero:hover {
background: #52D1B2;
color: #0A192F;
}
/* Features Section */
.features {
padding: 80px 20px;
text-align: center;
}
.features h2 {
font-size: 36px;
margin-bottom: 40px;
color: #64FFDA;
}
.feature-list {
display: flex;
justify-content: center;
gap: 30px;
flex-wrap: wrap;
}
.feature-card {
background: #112240; /* Dark navy card background */
color: #CCD6F6;
border-radius: 12px;
padding: 30px;
width: 300px;
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 20px rgba(100, 255, 218, 0.3);
}
.feature-icon {
font-size: 40px;
color: #64FFDA;
margin-bottom: 20px;
}
.feature-card h3 {
font-size: 24px;
margin-bottom: 15px;
}
.feature-card p {
font-size: 16px;
color: #8892B0;
margin-bottom: 20px;
}
/* Call to Action Section */
.cta-section {
background: linear-gradient(145deg, #112240, #0A192F);
padding: 80px 20px;
text-align: center;
}
.cta-content h2 {
font-size: 36px;
margin-bottom: 20px;
color: #64FFDA;
}
.cta-content p {
font-size: 18px;
color: #8892B0;
margin-bottom: 30px;
}
.btn-cta {
padding: 12px 24px;
background: #64FFDA;
color: #0A192F;
font-weight: bold;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s, color 0.3s;
}
.btn-cta:hover {
background: #52D1B2;
color: #0A192F;
}
.logo {
text-align: center;
margin: auto;
width: 26%;
padding: 10px;
}
.auth-buttons {
margin: auto;
width: 10%;
padding: 10px;
}
</style>
</head>
<body>
<header>
<nav class="navbar">
<div class="logo">
<img src="assets/images/logo.jpg" alt="Logo">
<a href="index.php">MindMatrix.io</a>
</div>
</nav>
</header>
<section class="hero">
<div class="hero-content">
<h1>Welcome to MindMatrix.io</h1>
<p>Empowering AI-driven solutions for a smarter world</p>
<a href="register.php" class="btn-hero">Explore Our AI Services</a>
<div class="auth-buttons">
<a href="login.php" class="btn">Login</a>
<a href="register.php" class="btn">Sign Up</a>
</div>
</div>
</section>
<!-- Features Section -->
<section class="features">
<div class="container">
<h2>What We Offer</h2>
<div class="feature-list">
<!-- Feature 1 -->
<div class="feature-card">
<div class="feature-icon">
<i class="fas fa-brain"></i>
</div>
<h3>AI-Powered Tools</h3>
<p>Experience cutting-edge AI services like sentiment analysis, AI code generation, and more.</p>
</div>
<!-- Feature 2 -->
<div class="feature-card">
<div class="feature-icon">
<i class="fas fa-link"></i>
</div>
<h3>Seamless Integration</h3>
<p>Connect AI capabilities with your business applications effortlessly.</p>
</div>
<!-- Feature 3 -->
<div class="feature-card">
<div class="feature-icon">
<i class="fas fa-user-friends"></i>
</div>
<h3>User-Friendly Interface</h3>
<p>Intuitive design ensures a seamless experience for everyone.</p>
</div>
</div>
</div>
</section>
<!-- Call to Action -->
<section class="cta-section">
<div class="cta-content">
<h2>Start Your AI Journey Today!</h2>
<p>Sign up now and revolutionize the way you work with AI.</p>
<a href="register.php" class="btn-cta">Get Started</a>
</div>
</section>
<?php include 'includes/footer.php'; ?>
</body>
</html>
>>>>>>> 9b3d206 (Initial Commit - MindMatrix.io Project)