FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
proxytechsupport-nextjs/components/HowItWorks.tsx at main · techdeepcode/proxytechsupport-nextjs · GitHub
techdeepcode
/
proxytechsupport-nextjs
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
proxytechsupport-nextjs
/
components
/
HowItWorks.tsx
Copy path
More file actions
More file actions
Latest commit
History
History
History
197 lines (187 loc) · 5.9 KB
Breadcrumbs
proxytechsupport-nextjs
/
components
/
HowItWorks.tsx
Copy path
File metadata and controls
197 lines (187 loc) · 5.9 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
import
{
howItWorksSteps
}
from
'@/data/services'
;
export
default
function
HowItWorks
(
)
{
return
(
<
section
className
=
"how-it-works-section"
style
=
{
{
padding
:
'5rem 1rem'
,
borderTop
:
'1px solid var(--pts-border)'
,
borderBottom
:
'1px solid var(--pts-border)'
,
}
}
>
<
style
>
{
`
.how-it-works-section {
background: linear-gradient(180deg, #fafefd 0%, var(--pts-tech-header) 42%, #f2f9f7 100%);
}
.how-header {
text-align: center;
max-width: 640px;
margin: 0 auto 3.5rem;
}
.how-eyebrow {
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--pts-accent);
margin-bottom: 0.85rem;
}
.how-title {
font-family: Georgia, 'Times New Roman', serif;
font-size: clamp(1.65rem, 3.5vw, 2.35rem);
font-weight: 700;
color: var(--pts-text);
line-height: 1.2;
margin-bottom: 0.75rem;
}
.how-sub {
font-size: 1rem;
color: var(--pts-text-subtle);
line-height: 1.6;
}
.how-timeline-wrap {
position: relative;
width: 100%;
max-width: var(--pts-content-max);
margin: 0 auto;
isolation: isolate;
}
/* Line sits behind bubbles (z-index + opaque bubble fill masks the bar) */
.how-timeline-line {
display: none;
}
@media (min-width: 1024px) {
/* Span only between 1st & 4th bubble centers (4 equal columns → 12.5% … 87.5%) */
.how-timeline-line {
display: block;
position: absolute;
left: 12.5%;
width: 75%;
right: auto;
top: 28px;
height: 2px;
background: linear-gradient(
90deg,
rgba(var(--pts-accent-rgb), 0.45),
var(--pts-accent),
rgba(var(--pts-accent-rgb), 0.45)
);
z-index: 0;
border-radius: 2px;
pointer-events: none;
}
}
.how-steps {
display: flex;
flex-direction: column;
gap: 2.5rem;
position: relative;
z-index: 1;
}
@media (min-width: 1024px) {
.how-steps {
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
gap: 0;
}
}
.how-step {
flex: 1;
text-align: center;
max-width: 280px;
margin: 0 auto;
position: relative;
z-index: 1;
}
@media (min-width: 1024px) {
.how-step {
max-width: none;
padding: 0 0.5rem;
box-sizing: border-box;
}
}
.how-bubble {
position: relative;
z-index: 2;
width: 56px;
height: 56px;
margin: 0 auto 1.15rem;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
font-weight: 700;
cursor: default;
border: 2px solid var(--pts-accent);
/* Opaque fill so the horizontal line reads as running *behind* the circle */
background: #ffffff;
color: var(--pts-accent);
box-shadow:
0 0 0 3px rgba(var(--pts-accent-rgb), 0.14),
0 0 0 1px rgba(var(--pts-accent-rgb), 0.2) inset;
transition:
background 0.35s ease,
color 0.35s ease,
box-shadow 0.35s ease,
transform 0.35s ease,
border-color 0.35s ease;
}
.how-bubble:hover {
background: var(--pts-accent);
color: var(--pts-on-accent);
border-color: var(--pts-accent);
transform: scale(1.06);
box-shadow:
0 0 0 4px rgba(var(--pts-accent-rgb), 0.22),
0 12px 28px rgba(var(--pts-accent-rgb), 0.35);
}
@media (prefers-reduced-motion: reduce) {
.how-bubble {
transition: background 0.2s ease, color 0.2s ease;
}
.how-bubble:hover {
transform: none;
}
}
.how-step-title {
font-size: 1.05rem;
font-weight: 700;
color: var(--pts-text);
margin-bottom: 0.55rem;
line-height: 1.3;
}
.how-step-desc {
font-size: 0.9rem;
color: var(--pts-text-subtle);
line-height: 1.65;
}
`
}
</
style
>
<
div
style
=
{
{
width
:
'100%'
,
maxWidth
:
'var(--pts-content-max)'
,
margin
:
'0 auto'
}
}
>
<
div
className
=
"how-header"
>
<
p
className
=
"how-eyebrow"
>
How it works
</
p
>
<
h2
className
=
"how-title"
>
Get started in 4 simple steps
</
h2
>
<
p
className
=
"how-sub"
>
From your first message to live expert support — often within hours, not days.
</
p
>
</
div
>
<
div
className
=
"how-timeline-wrap"
>
<
div
className
=
"how-timeline-line"
aria-hidden
/>
<
div
className
=
"how-steps"
>
{
howItWorksSteps
.
map
(
(
step
)
=>
(
<
div
key
=
{
step
.
number
}
className
=
"how-step"
>
<
div
className
=
"how-bubble"
aria-hidden
>
{
step
.
number
}
</
div
>
<
h3
className
=
"how-step-title"
>
{
step
.
title
}
</
h3
>
<
p
className
=
"how-step-desc"
>
{
step
.
description
}
</
p
>
</
div
>
)
)
}
</
div
>
</
div
>
<
p
style
=
{
{
textAlign
:
'center'
,
marginTop
:
'2.5rem'
,
fontSize
:
'0.95rem'
,
color
:
'var(--pts-text-subtle)'
,
lineHeight
:
1.6
}
}
>
⚡ Same-day support may be available for proxy interviews, production issues, and time-sensitive project needs.
</
p
>
</
div
>
</
section
>
)
;
}
Back
|
FazBrowse Home
|
New Git URL