Skip to content

Commit 0c5c0f4

Browse files
committed
feat(frontend): refine home page visuals and workflow presentation
1 parent 5d1158d commit 0c5c0f4

6 files changed

Lines changed: 271 additions & 115 deletions

File tree

‎frontend/src/pages/home/HomePage.css‎

Lines changed: 181 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -360,37 +360,35 @@
360360
.symbol-flow {
361361
position: relative;
362362
display: grid;
363-
grid-template-columns: repeat(2, minmax(0, 1fr));
364-
gap: 18px;
363+
grid-template-columns: repeat(6, minmax(0, 1fr));
364+
gap: 12px;
365365
}
366366

367367
.symbol-flow::before {
368368
position: absolute;
369-
inset: 50% 14%;
369+
top: calc(50% - 1px);
370+
right: 18%;
371+
left: 18%;
370372
height: 1px;
371-
background: rgba(142, 165, 255, 0.16);
373+
background: linear-gradient(90deg, transparent, rgba(142, 165, 255, 0.22), transparent);
372374
content: "";
373375
transform: translateY(-50%);
374376
}
375377

376378
.symbol-flow::after {
377-
position: absolute;
378-
inset: 14% auto 14% 50%;
379-
width: 1px;
380-
background: rgba(85, 214, 190, 0.14);
381-
content: "";
382-
transform: translateX(-50%);
379+
content: none;
383380
}
384381

385382
.symbol-step {
386383
position: relative;
387384
display: grid;
388-
min-height: 142px;
385+
grid-column: span 2;
386+
min-height: 126px;
389387
align-content: center;
390-
gap: 10px;
388+
gap: 9px;
391389
border: 1px solid rgba(255, 255, 255, 0.095);
392-
border-radius: 20px;
393-
padding: 20px;
390+
border-radius: 18px;
391+
padding: 16px;
394392
background:
395393
linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
396394
rgba(6, 8, 13, 0.68);
@@ -403,17 +401,30 @@
403401
transform 180ms ease;
404402
}
405403

404+
.symbol-step:nth-child(4) {
405+
grid-column: 2 / span 2;
406+
}
407+
408+
.symbol-step:nth-child(5) {
409+
grid-column: 4 / span 2;
410+
}
411+
406412
.symbol-step:hover {
407413
border-color: rgba(142, 165, 255, 0.2);
408414
transform: translateY(-2px);
409415
}
410416

411417
.symbol-step:nth-child(1) .symbol-icon,
412-
.symbol-step:nth-child(4) .symbol-icon {
418+
.symbol-step:nth-child(5) .symbol-icon {
413419
color: #98eee0;
414420
border-color: rgba(85, 214, 190, 0.2);
415421
}
416422

423+
.symbol-step:nth-child(4) .symbol-icon {
424+
color: #fcd34d;
425+
border-color: rgba(251, 191, 36, 0.2);
426+
}
427+
417428
.symbol-icon {
418429
display: grid;
419430
width: 42px;
@@ -438,14 +449,14 @@
438449

439450
.symbol-step strong {
440451
color: #ffffff;
441-
font-size: 18px;
452+
font-size: 15px;
442453
font-weight: 950;
443454
}
444455

445456
.symbol-step span {
446-
max-width: 180px;
457+
max-width: 190px;
447458
color: #aeb9ca;
448-
font-size: 12px;
459+
font-size: 11px;
449460
font-weight: 800;
450461
line-height: 1.45;
451462
}
@@ -1845,114 +1856,188 @@
18451856
--item-text: #fef3c7;
18461857
}
18471858

1848-
.workflow {
1859+
.workflow-section {
18491860
display: grid;
1850-
grid-template-columns: repeat(3, minmax(0, 1fr));
1851-
gap: 16px;
1852-
padding-bottom: 40px;
1861+
gap: 30px;
1862+
padding: 18px 0 52px;
18531863
}
18541864

1855-
.workflow-card {
1856-
position: relative;
1865+
.workflow-intro {
1866+
max-width: 780px;
1867+
}
1868+
1869+
.workflow-intro span {
1870+
color: #8ea5ff;
1871+
font-size: 12px;
1872+
font-weight: 950;
1873+
letter-spacing: 0.08em;
1874+
text-transform: uppercase;
1875+
}
1876+
1877+
.workflow-intro h2 {
1878+
max-width: 680px;
1879+
margin: 12px 0 0;
1880+
color: #ffffff;
1881+
font-size: clamp(2rem, 4vw, 3.4rem);
1882+
font-weight: 900;
1883+
line-height: 1.02;
1884+
}
1885+
1886+
.workflow-intro p {
1887+
max-width: 720px;
1888+
margin: 18px 0 0;
1889+
color: #b8c2d4;
1890+
font-size: 17px;
1891+
line-height: 1.7;
1892+
}
1893+
1894+
.workflow-panel {
1895+
--workflow-surface: rgba(4, 7, 12, 0.9);
1896+
--workflow-surface-soft: rgba(255, 255, 255, 0.018);
1897+
--workflow-border: rgba(100, 116, 139, 0.18);
1898+
--workflow-border-soft: rgba(100, 116, 139, 0.12);
1899+
18571900
overflow: hidden;
1858-
border-radius: 24px;
1859-
padding: 24px;
1901+
border: 1px solid var(--workflow-border);
1902+
border-radius: 28px;
1903+
padding: 0;
18601904
background:
1861-
linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
1862-
rgba(6, 8, 13, 0.68);
1905+
radial-gradient(circle at 0% 0%, rgba(142, 165, 255, 0.038), transparent 34%),
1906+
linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006)),
1907+
var(--workflow-surface);
18631908
box-shadow:
1864-
inset 0 1px 0 rgba(255, 255, 255, 0.035),
1865-
0 18px 44px rgba(0, 0, 0, 0.18);
1866-
transition:
1867-
border-color 180ms ease,
1868-
box-shadow 180ms ease,
1869-
transform 180ms ease;
1909+
inset 0 1px 0 rgba(255, 255, 255, 0.032),
1910+
inset 0 0 0 1px rgba(142, 165, 255, 0.014),
1911+
0 24px 64px rgba(0, 0, 0, 0.2);
18701912
}
18711913

1872-
.workflow-card::before {
1873-
position: absolute;
1874-
inset: 0;
1875-
border-radius: inherit;
1876-
border: 1px solid rgba(255, 255, 255, 0.04);
1877-
content: "";
1878-
pointer-events: none;
1879-
transition: border-color 180ms ease;
1914+
.workflow-panel-header {
1915+
display: flex;
1916+
align-items: center;
1917+
justify-content: space-between;
1918+
gap: 14px;
1919+
border-bottom: 1px solid var(--workflow-border);
1920+
padding: 15px 20px;
1921+
background:
1922+
linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0)),
1923+
#0d1422;
18801924
}
18811925

1882-
.workflow-card:hover {
1883-
border-color: rgba(142, 165, 255, 0.24);
1884-
box-shadow:
1885-
inset 0 1px 0 rgba(255, 255, 255, 0.05),
1886-
0 22px 54px rgba(0, 0, 0, 0.26);
1887-
transform: translateY(-3px);
1926+
.workflow-panel-header span {
1927+
color: #cbd5e1;
1928+
font-size: 14px;
1929+
font-weight: 850;
1930+
letter-spacing: 0;
1931+
text-transform: none;
18881932
}
18891933

1890-
.workflow-card:hover::before {
1891-
border-color: rgba(142, 165, 255, 0.16);
1934+
.workflow-panel-header strong {
1935+
color: #8996ab;
1936+
font-size: 12px;
1937+
font-weight: 850;
18921938
}
18931939

1894-
.workflow-card-heading {
1940+
.workflow-timeline {
1941+
position: relative;
18951942
display: grid;
1896-
grid-template-columns: auto 1fr;
1897-
align-items: end;
1898-
gap: 14px;
1943+
gap: 12px;
1944+
padding: 18px;
18991945
}
19001946

1901-
.workflow-card-heading span {
1947+
.workflow-step {
1948+
--workflow-accent: #22d3ee;
1949+
--workflow-accent-soft: rgba(34, 211, 238, 0.08);
1950+
19021951
position: relative;
1903-
display: inline-flex;
1904-
width: auto;
1905-
min-width: 36px;
1906-
height: auto;
1952+
display: grid;
1953+
grid-template-columns: 62px minmax(0, 1fr);
1954+
gap: 16px;
19071955
align-items: center;
1908-
padding: 0 0 8px;
1909-
color: #dfe8ff;
1910-
font-size: 22px;
1911-
font-weight: 950;
1912-
font-variant-numeric: tabular-nums;
1913-
line-height: 0.9;
1914-
transition:
1915-
color 180ms ease,
1916-
transform 180ms ease;
1956+
overflow: hidden;
1957+
border: 1px solid rgba(100, 116, 139, 0.135);
1958+
border-radius: 15px;
1959+
padding: 15px 16px;
1960+
background: rgba(142, 165, 255, 0.022);
1961+
box-shadow:
1962+
inset 0 1px 0 rgba(255, 255, 255, 0.022),
1963+
inset 0 0 0 1px rgba(142, 165, 255, 0.008);
19171964
}
19181965

1919-
.workflow-card-heading span::after {
1966+
.workflow-step::before {
19201967
position: absolute;
1921-
left: 50%;
1922-
bottom: 0;
1923-
width: 70%;
1924-
height: 2px;
1968+
top: 0;
1969+
right: 16px;
1970+
left: 16px;
1971+
width: auto;
1972+
height: 1px;
19251973
border-radius: 999px;
1926-
background: #8ea5ff;
1974+
background: linear-gradient(90deg, var(--workflow-accent), transparent 82%);
19271975
content: "";
1928-
transform: translateX(-50%);
1929-
transition:
1930-
background 180ms ease,
1931-
width 180ms ease;
19321976
}
19331977

1934-
.workflow-card:hover .workflow-card-heading span {
1935-
color: #ffffff;
1936-
transform: translateY(-1px);
1978+
.workflow-step-number {
1979+
display: grid;
1980+
width: 40px;
1981+
height: 40px;
1982+
place-items: center;
1983+
border: 1px solid rgba(100, 116, 139, 0.135);
1984+
border-radius: 13px;
1985+
color: color-mix(in srgb, var(--workflow-accent) 48%, #ffffff);
1986+
background: rgba(255, 255, 255, 0.018);
1987+
font-size: 14px;
1988+
font-weight: 950;
1989+
font-variant-numeric: tabular-nums;
1990+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.026);
1991+
z-index: 1;
19371992
}
19381993

1939-
.workflow-card:hover .workflow-card-heading span::after {
1940-
width: 88%;
1941-
background: #55d6be;
1994+
.workflow-step small {
1995+
display: block;
1996+
color: color-mix(in srgb, var(--workflow-accent) 55%, #ffffff);
1997+
font-size: 11px;
1998+
font-weight: 950;
1999+
letter-spacing: 0.04em;
2000+
text-transform: uppercase;
19422001
}
19432002

1944-
.workflow-card h2 {
1945-
margin: 0;
2003+
.workflow-step h3 {
2004+
margin: 6px 0 0;
19462005
color: #ffffff;
1947-
font-size: 18px;
2006+
font-size: 16px;
19482007
font-weight: 950;
2008+
line-height: 1.3;
19492009
}
19502010

1951-
.workflow-card p {
1952-
margin: 12px 0 0;
1953-
color: #c5cede;
1954-
font-size: 14px;
1955-
line-height: 1.7;
2011+
.workflow-step-1 {
2012+
--workflow-accent: #22d3ee;
2013+
--workflow-accent-soft: rgba(34, 211, 238, 0.08);
2014+
}
2015+
2016+
.workflow-step-2 {
2017+
--workflow-accent: #818cf8;
2018+
--workflow-accent-soft: rgba(129, 140, 248, 0.08);
2019+
}
2020+
2021+
.workflow-step-3 {
2022+
--workflow-accent: #34d399;
2023+
--workflow-accent-soft: rgba(52, 211, 153, 0.075);
2024+
}
2025+
2026+
.workflow-step-4 {
2027+
--workflow-accent: #fbbf24;
2028+
--workflow-accent-soft: rgba(251, 191, 36, 0.075);
2029+
}
2030+
2031+
.workflow-step-5 {
2032+
--workflow-accent: #fb7185;
2033+
--workflow-accent-soft: rgba(251, 113, 133, 0.075);
2034+
}
2035+
2036+
.workflow-step p {
2037+
margin: 9px 0 0;
2038+
color: #b8c2d4;
2039+
font-size: 12.5px;
2040+
line-height: 1.68;
19562041
}
19572042

19582043
.site-footer {
@@ -1971,12 +2056,15 @@
19712056
@media (max-width: 1280px) {
19722057
.hero-top,
19732058
.workspace-grid,
1974-
.workflow,
19752059
.result-summary,
19762060
.result-content-grid {
19772061
grid-template-columns: 1fr;
19782062
}
19792063

2064+
.workflow-step {
2065+
grid-template-columns: 52px minmax(0, 1fr);
2066+
}
2067+
19802068
.workspace-left {
19812069
border-right: 0;
19822070
border-bottom: 1px solid rgba(255, 255, 255, 0.14);

0 commit comments

Comments
 (0)