Spaces:
Running
Running
File size: 7,132 Bytes
5fa7a59 b0b85c6 8dc592a b0b85c6 5fa7a59 b0b85c6 5fa7a59 b0b85c6 8dc592a b0b85c6 12ede86 153bfb8 12ede86 153bfb8 5fa7a59 b0b85c6 12ede86 b0b85c6 802b5f5 b0b85c6 12ede86 b0b85c6 5fa7a59 b0b85c6 5fa7a59 b0b85c6 5fa7a59 b0b85c6 5fa7a59 b0b85c6 5fa7a59 b0b85c6 5fa7a59 b0b85c6 5fa7a59 12ede86 153bfb8 12ede86 153bfb8 12ede86 7fe74af |
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 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 |
<template>
<footer class="page-footer">
<div class="footer-section">
<span class="footer-label">Presented By</span>
<div class="logos-row">
<div v-for="(logo, i) in presentedBy" :key="'p-' + i" class="logo-item">
<img :src="logo.src" :alt="logo.name" class="logo-image" />
</div>
</div>
</div>
<div class="footer-section">
<span class="footer-label">Academic Collaborators</span>
<div class="logos-row">
<div v-for="(logo, i) in collaborators" :key="'c-' + i" class="logo-item">
<img :src="logo.src" :alt="logo.name" class="logo-image" />
</div>
</div>
</div>
<!-- Bottom right: copyright and updates -->
<div class="footer-bottom-right">
<span class="copyright">© 2025 Agent Market Arena</span>
<span class="divider">|</span>
<span class="updates-link" @click="showUpdates = true">Updates</span>
</div>
</footer>
<!-- Updates Modal - Teleport to body so it's not constrained by footer -->
<Teleport to="body">
<div v-if="showUpdates" class="modal-overlay" @click.self="showUpdates = false">
<div class="modal-content">
<div class="modal-header">
<span class="modal-title">📋 Major Updates</span>
<span class="modal-close" @click="showUpdates = false">✕</span>
</div>
<div class="modal-body">
<div v-for="(update, idx) in updates" :key="idx" class="update-item">
<div class="update-date">{{ update.date }}</div>
<ul class="update-list">
<li v-for="(item, i) in update.items" :key="i" v-html="item"></li>
</ul>
</div>
</div>
</div>
</div>
</Teleport>
</template>
<script>
export default {
name: "PageFooter",
data() {
return {
showUpdates: false,
presentedBy: [
{ name: "DeepKin", src: new URL("../assets/images/companies_images/deepkin_logo.png", import.meta.url).href },
{ name: "The Fin AI", src: new URL("../assets/images/companies_images/logofinai.png", import.meta.url).href },
{ name: "NaCTeM", src: new URL("../assets/images/companies_images/nactemlogo.png", import.meta.url).href },
{ name: "PAAL AI", src: new URL("../assets/images/companies_images/paalai_logo.png", import.meta.url).href },
],
collaborators: [
{ name: "Stevens Institute of Technology", src: new URL("../assets/images/companies_images/stevens.png", import.meta.url).href },
{ name: "University of Florida", src: new URL("../assets/images/companies_images/florida.png", import.meta.url).href },
{ name: "Columbia University", src: new URL("../assets/images/companies_images/columbia.png", import.meta.url).href },
{ name: "Harvard University", src: new URL("../assets/images/companies_images/harvard.png", import.meta.url).href },
{ name: "Université de Montréal", src: new URL("../assets/images/companies_images/montreal.png", import.meta.url).href },
{ name: "Georgia Institute of Technology", src: new URL("../assets/images/companies_images/georgia.png", import.meta.url).href },
],
updates: [
{
date: '2025-12-05',
items: [
'<strong>Trading Fee:</strong> Updated from 0.05% to <strong>0.06%</strong>',
'<strong>Slippage Fee:</strong> Added <strong>0.1%</strong> slippage<br/> • Buy orders: price × 1.001<br/> • Sell orders: price × 0.999',
]
},
],
};
},
};
</script>
<style scoped>
.page-footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
padding: 1rem 1.5rem;
background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
border-top: 2px solid rgba(0, 0, 0, 0.05);
z-index: 100;
backdrop-filter: blur(6px);
}
.footer-section {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.4rem;
}
.footer-label {
font-weight: 700;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.04em;
background: linear-gradient(90deg, rgb(0, 0, 185), rgb(240, 0, 15));
-webkit-background-clip: text;
color: transparent;
}
.logos-row {
display: flex;
align-items: center;
justify-content: center;
gap: 1.25rem;
flex-wrap: wrap;
margin-top: 0.25rem;
}
.logo-item {
width: 72px;
height: 26px;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.25s ease;
}
.logo-item:hover {
transform: translateY(-2px) scale(1.03);
}
.logo-image {
max-width: 100%;
max-height: 100%;
object-fit: contain;
filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}
/* Bottom right section */
.footer-bottom-right {
position: absolute;
bottom: 0.5rem;
right: 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.75rem;
color: #6b7280;
}
.copyright {
font-weight: 500;
}
.divider {
color: #d1d5db;
}
.updates-link {
cursor: pointer;
color: #4f46e5;
font-weight: 600;
transition: color 0.2s ease;
}
.updates-link:hover {
color: #3730a3;
text-decoration: underline;
}
/* Responsive */
@media (max-width: 768px) {
.page-footer {
padding: 0.75rem 1rem;
gap: 0.5rem;
}
.logo-item {
width: 60px;
height: 20px;
}
.footer-bottom-right {
position: static;
margin-top: 0.5rem;
justify-content: center;
}
}
@media (max-width: 480px) {
.footer-label {
font-size: 0.8rem;
}
.logos-row {
gap: 0.75rem;
}
.logo-item {
width: 52px;
height: 18px;
}
.footer-bottom-right {
font-size: 0.7rem;
}
}
</style>
<!-- Global styles for Teleported modal -->
<style>
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
.modal-content {
background: #fff;
border-radius: 12px;
width: 90%;
max-width: 480px;
max-height: 80vh;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 1.25rem;
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
color: #fff;
}
.modal-title {
font-size: 1.1rem;
font-weight: 700;
}
.modal-close {
cursor: pointer;
font-size: 1.25rem;
opacity: 0.8;
transition: opacity 0.2s;
}
.modal-close:hover {
opacity: 1;
}
.modal-body {
padding: 1.25rem;
max-height: 60vh;
overflow-y: auto;
}
.update-item {
margin-bottom: 1.25rem;
}
.update-item:last-child {
margin-bottom: 0;
}
.update-date {
font-size: 0.9rem;
font-weight: 700;
color: #4f46e5;
margin-bottom: 0.5rem;
padding-bottom: 0.25rem;
border-bottom: 2px solid #e5e7eb;
}
.update-list {
margin: 0;
padding-left: 1.25rem;
color: #374151;
font-size: 0.875rem;
line-height: 1.6;
}
.update-list li {
margin-bottom: 0.5rem;
}
.update-list li:last-child {
margin-bottom: 0;
}
</style>
|