-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.html
More file actions
140 lines (131 loc) · 5.51 KB
/
about.html
File metadata and controls
140 lines (131 loc) · 5.51 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
<!doctype html>
<html lang="en" class="light">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>About • Campus Eats</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap" rel="stylesheet">
<style>
:root {
--font-stack: 'Inter', system-ui, sans-serif;
--color-primary: #7c5cff;
--color-accent: #00d4ff;
--color-bg-rgb: 11,16,32;
}
html { scroll-behavior: smooth; font-family: var(--font-stack); }
:root:not(.light) {
--color-bg: #0b1020;
--color-card: #121936;
--color-text: #e9ecf1;
--color-bg-rgb: 11,16,32;
}
.light {
--color-bg: #f7f8fc;
--color-card: #ffffff;
--color-text: #1e293b;
--color-bg-rgb: 247,248,252;
}
/* Improved text contrast in light mode */
.light .text-gray-400 {
color: #475569; /* Slate 600 for better contrast */
}
.light .text-gray-300 {
color: #2d3748; /* Slate 800 for better contrast */
}
.light .text-white {
color: var(--color-text);
}
body {
background: linear-gradient(120deg, var(--color-bg), #0f172a 70%);
color: var(--color-text);
min-height: 100vh;
overflow-x: hidden;
}
.light body {
background: linear-gradient(120deg, var(--color-bg), #f0f3f8 70%);
}
.card-base {
background-color: var(--color-card);
border: 1px solid rgba(124, 92, 255, 0.1);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.nav-gradient {
background: rgba(var(--color-bg-rgb), 0.8);
backdrop-filter: blur(8px);
}
</style>
</head>
<body class="p-0 m-0">
<!-- Top Navigation Bar -->
<nav class="sticky top-0 z-50 nav-gradient border-b border-gray-700/20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center h-16">
<div class="flex items-center space-x-8">
<!-- Logo Section -->
<div class="flex items-center space-x-3">
<div class="w-8 h-8 rounded-full bg-gradient-to-br from-purple-500 to-cyan-400"></div>
<a href="dayscholar.html" class="font-extrabold text-xl tracking-tight">Campus Eats</a>
</div>
<!-- Navigation Links -->
<div class="hidden md:flex space-x-6 text-sm">
<a href="dayscholar.html" class="text-gray-300 hover:text-white transition">Order Food</a>
<a href="how-to-use.html" class="text-gray-300 hover:text-white transition">How to Use</a>
<a href="about.html" class="text-gray-300 hover:text-white transition font-semibold">About Us</a>
</div>
</div>
<div class="flex items-center space-x-4">
<div id="google_translate_element"></div>
<button id="modeToggle" class="p-2 rounded-full hover:bg-gray-700/50 transition">🌙</button>
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div class="card-base p-8 rounded-2xl">
<h1 class="text-4xl font-bold mb-6">About Campus Eats</h1>
<div class="space-y-6 text-gray-400">
<p>Campus Eats is your one-stop platform for ordering food from various outlets across the campus. We've partnered with 24 restaurants and cafés to bring you a diverse range of culinary options right at your fingertips.</p>
<h2 class="text-2xl font-bold text-white mt-8 mb-4">Our Mission</h2>
<p>To provide students, faculty, and staff with a convenient, reliable, and diverse food ordering experience that enhances campus life.</p>
<h2 class="text-2xl font-bold text-white mt-8 mb-4">Features</h2>
<ul class="list-disc list-inside space-y-2">
<li>Order from 24 campus restaurants</li>
<li>Multiple payment options including campus wallet</li>
<li>Real-time order tracking</li>
<li>Special student discounts</li>
<li>Multi-language support</li>
</ul>
<h2 class="text-2xl font-bold text-white mt-8 mb-4">Contact Us</h2>
<p>For support or queries:</p>
<ul class="list-disc list-inside space-y-2">
<li>Email: support@campuseats.edu</li>
<li>Phone: (555) 123-4567</li>
<li>Location: Student Center, Room 101</li>
</ul>
</div>
</div>
</div>
<script src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
includedLanguages: 'hi,fr,pa,ja',
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
}, 'google_translate_element');
}
// Theme Toggle
document.getElementById('modeToggle').addEventListener('click', () => {
document.documentElement.classList.toggle('light');
const isLight = document.documentElement.classList.contains('light');
document.getElementById('modeToggle').textContent = isLight ? '☀️' : '🌙';
});
// Set initial mode toggle text
const isLight = document.documentElement.classList.contains('light');
document.getElementById('modeToggle').textContent = isLight ? '☀️' : '🌙';
</script>
</body>
</html>