Spaces:
Running
Running
Jimin Huang
commited on
Commit
·
27ba647
1
Parent(s):
524151b
Change settings
Browse files- src/components/HeaderOpen.vue +75 -58
- src/styles/globals.css +37 -0
src/components/HeaderOpen.vue
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
@click="navigateTo('/')"
|
| 12 |
/>
|
| 13 |
</div>
|
| 14 |
-
<div class="arena-title">
|
| 15 |
</div>
|
| 16 |
|
| 17 |
<nav class="menu-section">
|
|
@@ -20,6 +20,7 @@
|
|
| 20 |
<span class="menu-item" @click="navigateTo('/add-asset')">Agent Arena</span>
|
| 21 |
</nav>
|
| 22 |
|
|
|
|
| 23 |
</header>
|
| 24 |
</template>
|
| 25 |
|
|
@@ -28,11 +29,23 @@ export default {
|
|
| 28 |
data() {
|
| 29 |
return {
|
| 30 |
hostingLogos: [
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
};
|
| 37 |
},
|
| 38 |
methods: {
|
|
@@ -44,23 +57,35 @@ export default {
|
|
| 44 |
</script>
|
| 45 |
|
| 46 |
<style scoped>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
.arena-header {
|
| 48 |
display: flex;
|
|
|
|
| 49 |
align-items: center;
|
| 50 |
gap: 1.2rem;
|
| 51 |
padding: 1.5rem 1rem 2rem;
|
| 52 |
background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
|
| 53 |
-
border-bottom:
|
| 54 |
-
|
| 55 |
-
|
|
|
|
|
|
|
| 56 |
}
|
| 57 |
|
| 58 |
.top-row {
|
| 59 |
display: flex;
|
| 60 |
align-items: center;
|
| 61 |
-
justify-content:
|
| 62 |
-
|
| 63 |
-
gap:
|
| 64 |
}
|
| 65 |
|
| 66 |
.logos-group {
|
|
@@ -71,22 +96,30 @@ export default {
|
|
| 71 |
}
|
| 72 |
|
| 73 |
.logo-image {
|
| 74 |
-
height:
|
| 75 |
width: auto;
|
| 76 |
object-fit: contain;
|
| 77 |
cursor: pointer;
|
| 78 |
-
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3))
|
|
|
|
|
|
|
| 79 |
}
|
| 80 |
.logo-image:hover {
|
| 81 |
-
transform: translateY(-
|
| 82 |
}
|
| 83 |
|
| 84 |
.arena-title {
|
| 85 |
-
font-size:
|
| 86 |
-
font-weight:
|
| 87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
}
|
| 89 |
|
|
|
|
| 90 |
.menu-section {
|
| 91 |
display: flex;
|
| 92 |
gap: 2rem;
|
|
@@ -94,18 +127,21 @@ export default {
|
|
| 94 |
justify-content: center;
|
| 95 |
margin-top: 0.5rem;
|
| 96 |
}
|
|
|
|
| 97 |
.menu-item {
|
| 98 |
cursor: pointer;
|
| 99 |
font-size: 1.1rem;
|
| 100 |
font-weight: 600;
|
| 101 |
-
color: #
|
| 102 |
position: relative;
|
| 103 |
padding-bottom: 4px;
|
| 104 |
transition: color 0.25s ease;
|
| 105 |
}
|
|
|
|
| 106 |
.menu-item:hover {
|
| 107 |
-
color:
|
| 108 |
}
|
|
|
|
| 109 |
.menu-item::after {
|
| 110 |
content: '';
|
| 111 |
position: absolute;
|
|
@@ -113,55 +149,36 @@ export default {
|
|
| 113 |
left: 0;
|
| 114 |
width: 0%;
|
| 115 |
height: 2px;
|
| 116 |
-
background
|
| 117 |
transition: width 0.3s ease;
|
| 118 |
}
|
|
|
|
| 119 |
.menu-item:hover::after {
|
| 120 |
width: 100%;
|
| 121 |
}
|
| 122 |
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
.section-label {
|
| 137 |
-
font-weight: 700;
|
| 138 |
-
color: #1f1f33;
|
| 139 |
-
font-size: 1rem;
|
| 140 |
-
}
|
| 141 |
-
.logos-row {
|
| 142 |
-
display: flex;
|
| 143 |
-
flex-wrap: wrap;
|
| 144 |
-
gap: 1rem;
|
| 145 |
-
justify-content: center;
|
| 146 |
-
}
|
| 147 |
-
.partner-logo {
|
| 148 |
-
height: 34px;
|
| 149 |
-
width: auto;
|
| 150 |
-
object-fit: contain;
|
| 151 |
-
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
|
| 152 |
-
transition: transform 0.25s ease;
|
| 153 |
-
}
|
| 154 |
-
.partner-logo:hover {
|
| 155 |
-
transform: scale(1.05);
|
| 156 |
}
|
| 157 |
|
|
|
|
| 158 |
@media (max-width: 768px) {
|
| 159 |
.arena-title {
|
| 160 |
-
font-size: 1.
|
| 161 |
}
|
| 162 |
-
.logo-image
|
| 163 |
-
|
| 164 |
-
height: 28px;
|
| 165 |
}
|
| 166 |
.menu-section {
|
| 167 |
gap: 1rem;
|
|
|
|
| 11 |
@click="navigateTo('/')"
|
| 12 |
/>
|
| 13 |
</div>
|
| 14 |
+
<div class="arena-title">Asset Market Arena</div>
|
| 15 |
</div>
|
| 16 |
|
| 17 |
<nav class="menu-section">
|
|
|
|
| 20 |
<span class="menu-item" @click="navigateTo('/add-asset')">Agent Arena</span>
|
| 21 |
</nav>
|
| 22 |
|
| 23 |
+
<div class="ama-gradient-rule" />
|
| 24 |
</header>
|
| 25 |
</template>
|
| 26 |
|
|
|
|
| 29 |
data() {
|
| 30 |
return {
|
| 31 |
hostingLogos: [
|
| 32 |
+
{
|
| 33 |
+
name: 'DeepKin',
|
| 34 |
+
src: new URL('../assets/images/companies_images/deepkin_logo.png', import.meta.url).href
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
name: 'The Fin AI',
|
| 38 |
+
src: new URL('../assets/images/companies_images/logofinai.png', import.meta.url).href
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
name: 'NaCTeM',
|
| 42 |
+
src: new URL('../assets/images/companies_images/nactemlogo.png', import.meta.url).href
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
name: 'PAAL AI',
|
| 46 |
+
src: new URL('../assets/images/companies_images/paalai_logo.png', import.meta.url).href
|
| 47 |
+
}
|
| 48 |
+
]
|
| 49 |
};
|
| 50 |
},
|
| 51 |
methods: {
|
|
|
|
| 57 |
</script>
|
| 58 |
|
| 59 |
<style scoped>
|
| 60 |
+
/* === Brand Gradient and Podium Palette === */
|
| 61 |
+
:root {
|
| 62 |
+
--ama-start: rgb(0, 0, 185);
|
| 63 |
+
--ama-end: rgb(240, 0, 15);
|
| 64 |
+
--gold: #d4af37;
|
| 65 |
+
--silver: #c0c0c0;
|
| 66 |
+
--bronze: #cd7f32;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
.arena-header {
|
| 70 |
display: flex;
|
| 71 |
+
flex-direction: column;
|
| 72 |
align-items: center;
|
| 73 |
gap: 1.2rem;
|
| 74 |
padding: 1.5rem 1rem 2rem;
|
| 75 |
background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
|
| 76 |
+
border-bottom: 2px solid #e5e7eb;
|
| 77 |
+
position: sticky;
|
| 78 |
+
top: 0;
|
| 79 |
+
z-index: 50;
|
| 80 |
+
backdrop-filter: blur(10px);
|
| 81 |
}
|
| 82 |
|
| 83 |
.top-row {
|
| 84 |
display: flex;
|
| 85 |
align-items: center;
|
| 86 |
+
justify-content: center;
|
| 87 |
+
flex-wrap: wrap;
|
| 88 |
+
gap: 1rem;
|
| 89 |
}
|
| 90 |
|
| 91 |
.logos-group {
|
|
|
|
| 96 |
}
|
| 97 |
|
| 98 |
.logo-image {
|
| 99 |
+
height: 18px;
|
| 100 |
width: auto;
|
| 101 |
object-fit: contain;
|
| 102 |
cursor: pointer;
|
| 103 |
+
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3))
|
| 104 |
+
drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
|
| 105 |
+
transition: transform 0.25s ease;
|
| 106 |
}
|
| 107 |
.logo-image:hover {
|
| 108 |
+
transform: translateY(-2px) scale(1.05);
|
| 109 |
}
|
| 110 |
|
| 111 |
.arena-title {
|
| 112 |
+
font-size: 2rem;
|
| 113 |
+
font-weight: 900;
|
| 114 |
+
background: linear-gradient(90deg, var(--ama-start), var(--ama-end));
|
| 115 |
+
-webkit-background-clip: text;
|
| 116 |
+
background-clip: text;
|
| 117 |
+
color: transparent;
|
| 118 |
+
letter-spacing: -0.02em;
|
| 119 |
+
text-transform: uppercase;
|
| 120 |
}
|
| 121 |
|
| 122 |
+
/* === Navigation Section === */
|
| 123 |
.menu-section {
|
| 124 |
display: flex;
|
| 125 |
gap: 2rem;
|
|
|
|
| 127 |
justify-content: center;
|
| 128 |
margin-top: 0.5rem;
|
| 129 |
}
|
| 130 |
+
|
| 131 |
.menu-item {
|
| 132 |
cursor: pointer;
|
| 133 |
font-size: 1.1rem;
|
| 134 |
font-weight: 600;
|
| 135 |
+
color: #1f2937;
|
| 136 |
position: relative;
|
| 137 |
padding-bottom: 4px;
|
| 138 |
transition: color 0.25s ease;
|
| 139 |
}
|
| 140 |
+
|
| 141 |
.menu-item:hover {
|
| 142 |
+
color: var(--ama-end);
|
| 143 |
}
|
| 144 |
+
|
| 145 |
.menu-item::after {
|
| 146 |
content: '';
|
| 147 |
position: absolute;
|
|
|
|
| 149 |
left: 0;
|
| 150 |
width: 0%;
|
| 151 |
height: 2px;
|
| 152 |
+
background: linear-gradient(90deg, var(--ama-start), var(--ama-end));
|
| 153 |
transition: width 0.3s ease;
|
| 154 |
}
|
| 155 |
+
|
| 156 |
.menu-item:hover::after {
|
| 157 |
width: 100%;
|
| 158 |
}
|
| 159 |
|
| 160 |
+
/* === AMA Gradient Rule === */
|
| 161 |
+
.ama-gradient-rule {
|
| 162 |
+
width: 100%;
|
| 163 |
+
height: 3px;
|
| 164 |
+
margin-top: 1.25rem;
|
| 165 |
+
background: linear-gradient(
|
| 166 |
+
90deg,
|
| 167 |
+
rgba(0, 0, 185, 0),
|
| 168 |
+
rgb(0, 0, 185),
|
| 169 |
+
rgb(240, 0, 15),
|
| 170 |
+
rgba(240, 0, 15, 0)
|
| 171 |
+
);
|
| 172 |
+
border-radius: 2px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
}
|
| 174 |
|
| 175 |
+
/* === Responsive === */
|
| 176 |
@media (max-width: 768px) {
|
| 177 |
.arena-title {
|
| 178 |
+
font-size: 1.5rem;
|
| 179 |
}
|
| 180 |
+
.logo-image {
|
| 181 |
+
height: 24px;
|
|
|
|
| 182 |
}
|
| 183 |
.menu-section {
|
| 184 |
gap: 1rem;
|
src/styles/globals.css
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* globals.css */
|
| 2 |
+
:root{
|
| 3 |
+
--ama-start: 0 0 185; /* rgb */
|
| 4 |
+
--ama-end: 240 0 15;
|
| 5 |
+
--gold: #D4AF37;
|
| 6 |
+
--silver: #C0C0C0;
|
| 7 |
+
--bronze: #CD7F32;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
@layer utilities {
|
| 11 |
+
/* Text gradient utility for AMA */
|
| 12 |
+
.text-ama {
|
| 13 |
+
background-image: linear-gradient(90deg, rgb(var(--ama-start)), rgb(var(--ama-end)));
|
| 14 |
+
-webkit-background-clip: text;
|
| 15 |
+
background-clip: text;
|
| 16 |
+
color: transparent;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
/* Button background using AMA gradient */
|
| 20 |
+
.bg-ama {
|
| 21 |
+
background-image: linear-gradient(90deg, rgb(var(--ama-start)), rgb(var(--ama-end)));
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
/* Hairline divider using AMA gradient */
|
| 25 |
+
.rule-ama {
|
| 26 |
+
height: 2px;
|
| 27 |
+
background-image: linear-gradient(90deg, rgba(var(--ama-start), .0), rgb(var(--ama-start)), rgb(var(--ama-end)), rgba(var(--ama-end), .0));
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
/* Subtle gradient border (works on white cards) */
|
| 31 |
+
.border-ama {
|
| 32 |
+
border: 1px solid transparent;
|
| 33 |
+
background:
|
| 34 |
+
linear-gradient(#fff,#fff) padding-box,
|
| 35 |
+
linear-gradient(90deg, rgb(var(--ama-start)), rgb(var(--ama-end))) border-box;
|
| 36 |
+
}
|
| 37 |
+
}
|