Skip to content

Commit 0e790ae

Browse files
author
ComputelessComputer
committed
remove hero visual ribbons and right-side decoration
1 parent 2c26782 commit 0e790ae

1 file changed

Lines changed: 0 additions & 81 deletions

File tree

apps/web/src/pages/index.astro

Lines changed: 0 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ const features = [
5353
title="Click to copy"
5454
><code><span class="terminal-prompt" aria-hidden="true"><span class="prompt-dollar">$</span><span class="prompt-check"><CheckIcon size={16} strokeWidth={2.5} /></span></span><span>brew tap ComputelessComputer/aipm && brew install aipm</span></code></pre>
5555
</div>
56-
57-
<div class="hero-visual" aria-hidden="true">
58-
<span class="ribbon ribbon-a"></span>
59-
<span class="ribbon ribbon-b"></span>
60-
<span class="ribbon ribbon-c"></span>
61-
<span class="ribbon ribbon-d"></span>
62-
</div>
6356
</div>
6457
</section>
6558

@@ -131,11 +124,6 @@ const features = [
131124

132125
.hero {
133126
position: relative;
134-
padding: clamp(1.8rem, 3.8vw, 3rem);
135-
padding-bottom: clamp(2.8rem, 5vw, 4.8rem);
136-
border: none;
137-
border-radius: 0;
138-
background: none;
139127
color: #2c2418;
140128
text-align: left;
141129
overflow: hidden;
@@ -229,60 +217,6 @@ const features = [
229217
color: #5a9a6b;
230218
}
231219

232-
.hero-visual {
233-
position: relative;
234-
border: 1px solid #e5dbc8;
235-
background: linear-gradient(180deg, #f7f1e8 0%, #f3ede4 100%);
236-
border-radius: 12px;
237-
min-height: 280px;
238-
overflow: hidden;
239-
justify-self: stretch;
240-
width: 100%;
241-
}
242-
243-
.ribbon {
244-
position: absolute;
245-
border-radius: 999px;
246-
transform-origin: center;
247-
filter: saturate(90%);
248-
}
249-
250-
.ribbon-a {
251-
width: 520px;
252-
height: 140px;
253-
right: -170px;
254-
top: 20px;
255-
transform: rotate(-36deg);
256-
background: linear-gradient(90deg, rgba(192, 122, 62, 0) 0%, rgba(192, 122, 62, 0.55) 44%, rgba(212, 165, 116, 0.7) 100%);
257-
}
258-
259-
.ribbon-b {
260-
width: 540px;
261-
height: 160px;
262-
right: -170px;
263-
top: 110px;
264-
transform: rotate(-36deg);
265-
background: linear-gradient(90deg, rgba(180, 120, 80, 0) 4%, rgba(180, 120, 80, 0.5) 45%, rgba(210, 170, 110, 0.65) 100%);
266-
}
267-
268-
.ribbon-c {
269-
width: 560px;
270-
height: 120px;
271-
right: -190px;
272-
top: 205px;
273-
transform: rotate(-36deg);
274-
background: linear-gradient(90deg, rgba(140, 160, 120, 0) 0%, rgba(140, 160, 120, 0.45) 46%, rgba(192, 160, 110, 0.55) 100%);
275-
}
276-
277-
.ribbon-d {
278-
width: 450px;
279-
height: 80px;
280-
right: -150px;
281-
top: 14px;
282-
transform: rotate(-36deg);
283-
opacity: 0.55;
284-
background: linear-gradient(90deg, rgba(212, 180, 130, 0) 0%, rgba(212, 180, 130, 0.5) 52%, rgba(192, 150, 100, 0.55) 100%);
285-
}
286220

287221
.value-props,
288222
.demo,
@@ -366,10 +300,6 @@ const features = [
366300
}
367301

368302
@media (min-width: 900px) {
369-
.hero-grid {
370-
grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
371-
align-items: stretch;
372-
}
373303

374304
.value-grid {
375305
grid-template-columns: repeat(3, minmax(0, 1fr));
@@ -391,16 +321,5 @@ const features = [
391321
justify-content: flex-start;
392322
}
393323

394-
.hero-visual {
395-
min-height: 220px;
396-
}
397-
398-
.ribbon-a,
399-
.ribbon-b,
400-
.ribbon-c,
401-
.ribbon-d {
402-
right: -220px;
403-
transform: rotate(-39deg);
404-
}
405324
}
406325
</style>

0 commit comments

Comments
 (0)