Spaces:
Running
Running
Add subtitle under Agent Market Arena header
Browse files
src/components/HeaderOpen.vue
CHANGED
|
@@ -2,9 +2,14 @@
|
|
| 2 |
<header class="arena-header">
|
| 3 |
<div class="bar">
|
| 4 |
<!-- Title (left) -->
|
| 5 |
-
<
|
| 6 |
-
Agent Market Arena
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
<!-- Tabs (right) -->
|
| 10 |
<nav class="menu" aria-label="Primary">
|
|
@@ -76,7 +81,14 @@ export default {
|
|
| 76 |
gap: 16px;
|
| 77 |
}
|
| 78 |
|
| 79 |
-
/* Title (left)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
.arena-title{
|
| 81 |
all: unset;
|
| 82 |
cursor: pointer;
|
|
@@ -89,6 +101,17 @@ export default {
|
|
| 89 |
color: transparent;
|
| 90 |
}
|
| 91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
/* Tabs (right) */
|
| 93 |
.menu{
|
| 94 |
display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
|
|
@@ -131,8 +154,10 @@ export default {
|
|
| 131 |
/* responsive */
|
| 132 |
@media (max-width: 720px){
|
| 133 |
.bar{ flex-direction: column; align-items: stretch; }
|
|
|
|
|
|
|
|
|
|
| 134 |
.menu{ justify-content: center; gap: 18px; }
|
| 135 |
-
.arena-title{ text-align: center; font-size: 22px; }
|
| 136 |
.menu-item{ font-size: 18px; }
|
| 137 |
}
|
| 138 |
</style>
|
|
|
|
| 2 |
<header class="arena-header">
|
| 3 |
<div class="bar">
|
| 4 |
<!-- Title (left) -->
|
| 5 |
+
<div class="title-section">
|
| 6 |
+
<button class="arena-title" aria-label="Agent Market Arena" @click="navigateTo('/')">
|
| 7 |
+
Agent Market Arena
|
| 8 |
+
</button>
|
| 9 |
+
<p class="arena-subtitle">
|
| 10 |
+
A real-time, ever-evolving platform for continuous competition among AI trading agents.
|
| 11 |
+
</p>
|
| 12 |
+
</div>
|
| 13 |
|
| 14 |
<!-- Tabs (right) -->
|
| 15 |
<nav class="menu" aria-label="Primary">
|
|
|
|
| 81 |
gap: 16px;
|
| 82 |
}
|
| 83 |
|
| 84 |
+
/* Title section (left) */
|
| 85 |
+
.title-section{
|
| 86 |
+
display: flex;
|
| 87 |
+
flex-direction: column;
|
| 88 |
+
gap: 4px;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
/* Title with AMA gradient text */
|
| 92 |
.arena-title{
|
| 93 |
all: unset;
|
| 94 |
cursor: pointer;
|
|
|
|
| 101 |
color: transparent;
|
| 102 |
}
|
| 103 |
|
| 104 |
+
/* Subtitle */
|
| 105 |
+
.arena-subtitle{
|
| 106 |
+
margin: 0;
|
| 107 |
+
font-size: 13px;
|
| 108 |
+
font-weight: 500;
|
| 109 |
+
color: #6b7280;
|
| 110 |
+
letter-spacing: 0.01em;
|
| 111 |
+
line-height: 1.4;
|
| 112 |
+
max-width: 450px;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
/* Tabs (right) */
|
| 116 |
.menu{
|
| 117 |
display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
|
|
|
|
| 154 |
/* responsive */
|
| 155 |
@media (max-width: 720px){
|
| 156 |
.bar{ flex-direction: column; align-items: stretch; }
|
| 157 |
+
.title-section{ align-items: center; text-align: center; }
|
| 158 |
+
.arena-title{ font-size: 22px; }
|
| 159 |
+
.arena-subtitle{ font-size: 12px; max-width: 100%; }
|
| 160 |
.menu{ justify-content: center; gap: 18px; }
|
|
|
|
| 161 |
.menu-item{ font-size: 18px; }
|
| 162 |
}
|
| 163 |
</style>
|