Skip to content

Commit 6d3d2dd

Browse files
authored
[AMORO-3628] Add user logo wall on the home page. (#4010)
* [AMORO-3628] Add users logo wall in the home page * update Co-authored-by: Claude
1 parent db17a73 commit 6d3d2dd

24 files changed

+368
-1
lines changed

site/amoro-site/hugo.toml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,68 @@ sectionPagesMenu = "main"
5050
desc = "Can be easily deployed and used in private environments, cloud environments, hybrid cloud environments, and multi-cloud environments."
5151
icon = "Infrastructure-Idependent"
5252

53+
# Users who are using Amoro
54+
[[params.users]]
55+
name = "ByteDance"
56+
logo = "bytedance.png"
57+
[[params.users]]
58+
name = "Tencent Cloud"
59+
logo = "tencent-cloud.svg"
60+
[[params.users]]
61+
name = "Cisco"
62+
logo = "cisco.png"
63+
[[params.users]]
64+
name = "Youdao"
65+
logo = "youdao.png"
66+
[[params.users]]
67+
name = "Huya"
68+
logo = "huya.png"
69+
[[params.users]]
70+
name = "NetEase Media"
71+
logo = "netease-media.png"
72+
[[params.users]]
73+
name = "GREE"
74+
logo = "gree.png"
75+
[[params.users]]
76+
name = "Lalamove"
77+
logo = "lalamove.png"
78+
[[params.users]]
79+
name = "Lilith Games"
80+
logo = "lilith.png"
81+
[[params.users]]
82+
name = "Huatai Securities"
83+
logo = "huatai.png"
84+
[[params.users]]
85+
name = "Gaoji Medical"
86+
logo = "gaoji.png"
87+
[[params.users]]
88+
name = "TRS"
89+
logo = "trs.png"
90+
[[params.users]]
91+
name = "Shunwang"
92+
logo = "shunwang.png"
93+
[[params.users]]
94+
name = "China Telecom Zhejiang"
95+
logo = "china-telecom.png"
96+
[[params.users]]
97+
name = "SEMI"
98+
logo = "semi.png"
99+
[[params.users]]
100+
name = "China Mobile Suzhou"
101+
logo = "china-mobile.png"
102+
[[params.users]]
103+
name = "Onething Tech"
104+
logo = "onething.svg"
105+
[[params.users]]
106+
name = "DMALL"
107+
logo = "dmall.png"
108+
[[params.users]]
109+
name = "Ctrip"
110+
logo = "ctrip.png"
111+
[[params.users]]
112+
name = "Huifu"
113+
logo = "huifu.svg"
114+
53115
[outputFormats.SearchIndex]
54116
baseName = "landingpagesearch"
55117
mediaType = "application/json"

site/amoro-theme/layouts/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<div id="content">
2323
{{ partial "home-intro.html" . }}
2424
{{ partial "home-content.html" . }}
25+
{{ partial "home-users.html" . }}
2526
{{ partial "home-feature.html" . }}
2627
{{ partial "home-footer.html" . }}
2728
<!-- Include termynal.js for landing-page homepage -->
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!-- - Licensed to the Apache Software Foundation (ASF) under one or more-->
2+
<!-- - contributor license agreements. See the NOTICE file distributed with-->
3+
<!-- - this work for additional information regarding copyright ownership.-->
4+
<!-- - The ASF licenses this file to You under the Apache License, Version 2.0-->
5+
<!-- - (the "License"); you may not use this file except in compliance with-->
6+
<!-- - the License. You may obtain a copy of the License at-->
7+
<!-- - -->
8+
<!-- - http://www.apache.org/licenses/LICENSE-2.0-->
9+
<!-- - -->
10+
<!-- - Unless required by applicable law or agreed to in writing, software-->
11+
<!-- - distributed under the License is distributed on an "AS IS" BASIS,-->
12+
<!-- - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.-->
13+
<!-- - See the License for the specific language governing permissions and-->
14+
<!-- - limitations under the License.-->
15+
<div id="home-users">
16+
<div class="content">
17+
<div class="title">Who is Using Amoro</div>
18+
<div class="subtitle">Trusted by leading companies worldwide</div>
19+
<div class="users-wall">
20+
<div class="users-track">
21+
{{range .Site.Params.users}}
22+
<div class="user-item" title="{{ .name }}">
23+
<img src="{{ .Site.BaseURL }}/img/users/{{ .logo }}" alt="{{ .name }}" />
24+
</div>
25+
{{end}}
26+
<!-- Duplicate for infinite scroll effect -->
27+
{{range .Site.Params.users}}
28+
<div class="user-item" title="{{ .name }}">
29+
<img src="{{ .Site.BaseURL }}/img/users/{{ .logo }}" alt="{{ .name }}" />
30+
</div>
31+
{{end}}
32+
</div>
33+
</div>
34+
<div class="add-company">
35+
<a href="https://github.com/apache/amoro/issues/1853" target="_blank" class="btn btn-add">
36+
Add Your Company
37+
</a>
38+
</div>
39+
</div>
40+
</div>
41+

site/amoro-theme/static/css/home-page.css

Lines changed: 147 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,4 +206,150 @@
206206

207207
#home-footer .apache .logo{
208208
padding-top: 20px;
209-
}
209+
}
210+
211+
/* User Wall Styles */
212+
#home-users {
213+
background: #fff;
214+
margin: 0 auto;
215+
display: flex;
216+
justify-content: center;
217+
overflow: hidden;
218+
}
219+
220+
#home-users .content {
221+
width: 100%;
222+
max-width: 1182px;
223+
padding: 64px 41px;
224+
}
225+
226+
#home-users .content .title {
227+
font-size: 32px;
228+
font-weight: bold;
229+
line-height: 24px;
230+
text-align: center;
231+
margin-bottom: 16px;
232+
}
233+
234+
#home-users .content .subtitle {
235+
font-size: 16px;
236+
color: #53576a;
237+
text-align: center;
238+
margin-bottom: 40px;
239+
}
240+
241+
#home-users .users-wall {
242+
width: 100%;
243+
overflow: hidden;
244+
position: relative;
245+
}
246+
247+
#home-users .users-wall::before,
248+
#home-users .users-wall::after {
249+
content: '';
250+
position: absolute;
251+
top: 0;
252+
bottom: 0;
253+
width: 100px;
254+
z-index: 2;
255+
pointer-events: none;
256+
}
257+
258+
#home-users .users-wall::before {
259+
left: 0;
260+
background: linear-gradient(to right, #fff 0%, transparent 100%);
261+
}
262+
263+
#home-users .users-wall::after {
264+
right: 0;
265+
background: linear-gradient(to left, #fff 0%, transparent 100%);
266+
}
267+
268+
#home-users .users-track {
269+
display: flex;
270+
animation: scroll-left 40s linear infinite;
271+
width: fit-content;
272+
}
273+
274+
#home-users .users-track:hover {
275+
animation-play-state: paused;
276+
}
277+
278+
@keyframes scroll-left {
279+
0% {
280+
transform: translateX(0);
281+
}
282+
100% {
283+
transform: translateX(-50%);
284+
}
285+
}
286+
287+
#home-users .user-item {
288+
flex-shrink: 0;
289+
width: 180px;
290+
height: 80px;
291+
margin: 0 20px;
292+
padding: 12px;
293+
display: flex;
294+
align-items: center;
295+
justify-content: center;
296+
background: #f5f6fa;
297+
border-radius: 8px;
298+
transition: transform 0.3s ease, box-shadow 0.3s ease;
299+
}
300+
301+
#home-users .user-item:hover {
302+
transform: scale(1.05);
303+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
304+
}
305+
306+
307+
#home-users .user-item img {
308+
max-width: 100%;
309+
max-height: 100%;
310+
object-fit: contain;
311+
filter: grayscale(100%);
312+
opacity: 0.7;
313+
transition: filter 0.3s ease, opacity 0.3s ease;
314+
}
315+
316+
#home-users .user-item:hover img {
317+
filter: grayscale(0%);
318+
opacity: 1;
319+
}
320+
321+
#home-users .add-company {
322+
text-align: center;
323+
margin-top: 40px;
324+
}
325+
326+
#home-users .btn-add {
327+
display: inline-block;
328+
padding: 12px 32px;
329+
background: #0036A1;
330+
color: #fff;
331+
font-size: 16px;
332+
font-weight: 500;
333+
border-radius: 8px;
334+
text-decoration: none;
335+
transition: background 0.3s ease;
336+
}
337+
338+
#home-users .btn-add:hover {
339+
background: #002880;
340+
color: #fff;
341+
text-decoration: none;
342+
}
343+
344+
@media screen and (max-width: 800px) {
345+
#home-users .user-item {
346+
width: 140px;
347+
height: 60px;
348+
margin: 0 12px;
349+
}
350+
351+
#home-users .users-wall::before,
352+
#home-users .users-wall::after {
353+
width: 50px;
354+
}
355+
}
40.5 KB
Loading
16.7 KB
Loading
85.4 KB
Loading
14.9 KB
Loading
22.3 KB
Loading
17.1 KB
Loading

0 commit comments

Comments
 (0)