Skip to content

Commit ab62e6b

Browse files
committed
remove dead css and convert remaining styles to tailwind
1 parent c30b722 commit ab62e6b

File tree

3 files changed

+9
-74
lines changed

3 files changed

+9
-74
lines changed

src/components/Features.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { Users, CircleHelp, BookOpen } from "lucide-react";
33
export default function Features() {
44
return (
55
<section className="bg-background py-20">
6-
<div className="outer">
7-
<div className="inner">
6+
<div className="outer mx-auto border border-solid border-transparent rounded-2xl max-w-6xl p-2.5">
7+
<div className="inner rounded-lg flex gap-x-6 py-6 px-4">
88
<div className="flex-1 flex flex-col items-center text-center py-6">
99
<Users size={48} className="text-accent mb-2" />
1010
<h3 className="text-secondary text-xl mb-2 font-mono">

src/components/Showcase.tsx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ export default function Showcase() {
66
<h2 className="text-xl md:text-xl lg:text-4xl mb-6 text-primary">
77
Community Showcase
88
</h2>
9-
<div className="flex flex-1">
10-
<div className="outer">
11-
<div className="inner min-h-full">
9+
<div className="flex flex-1 gap-1 mx-4">
10+
<div className="outer mx-auto border border-solid border-transparent rounded-2xl max-w-6xl p-2.5">
11+
<div className="inner rounded-lg py-6 px-4">
1212
<div className="flex-1 flex flex-col text-center px-6 py-6">
1313
<div className="flex flex-1 justify-start">
1414
<Smile size={48} className="text-accent mb-2 mr-4" />
@@ -24,8 +24,8 @@ export default function Showcase() {
2424
</div>
2525
</div>
2626
</div>
27-
<div className="outer">
28-
<div className="inner min-h-full">
27+
<div className="outer mx-auto border border-solid border-transparent rounded-2xl max-w-6xl p-2.5">
28+
<div className="inner rounded-lg py-6 px-4">
2929
<div className="flex-1 flex flex-col text-center px-6 py-6">
3030
<div className="flex flex-1 justify-start">
3131
<Smile size={48} className="text-accent mb-2 mr-4" />
@@ -41,8 +41,8 @@ export default function Showcase() {
4141
</div>
4242
</div>
4343
</div>
44-
<div className="outer">
45-
<div className="inner min-h-full">
44+
<div className="outer mx-auto border border-solid border-transparent rounded-2xl max-w-6xl p-2.5">
45+
<div className="inner rounded-lg py-6 px-4">
4646
<div className="flex-1 flex flex-col text-center px-6 py-6">
4747
<div className="flex flex-1 justify-start">
4848
<Smile size={48} className="text-accent mb-2 mr-4" />
@@ -59,8 +59,6 @@ export default function Showcase() {
5959
</div>
6060
</div>
6161
</div>
62-
{/* </div>*/}
63-
{/*</div>*/}
6462
</section>
6563
);
6664
}

src/index.css

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@
33
@tailwind utilities;
44

55
#hero {
6-
background-color: rgb(36, 14, 31);
76
background-image: radial-gradient(
87
circle at 70% 60%,
98
rgba(36, 14, 31, 0.2) 00%,
109
rgba(36, 14, 31, 0.6) 10%,
1110
rgba(36, 14, 31, 0.87) 40%
1211
),
1312
url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 0H0v36h36V0zM15.126 2H2v13.126c.367.094.714.24 1.032.428L15.554 3.032c-.188-.318-.334-.665-.428-1.032zM18 4.874V18H4.874c-.094-.367-.24-.714-.428-1.032L16.968 4.446c.318.188.665.334 1.032.428zM22.874 2h11.712L20 16.586V4.874c1.406-.362 2.512-1.468 2.874-2.874zm10.252 18H20v13.126c.367.094.714.24 1.032.428l12.522-12.522c-.188-.318-.334-.665-.428-1.032zM36 22.874V36H22.874c-.094-.367-.24-.714-.428-1.032l12.522-12.522c.318.188.665.334 1.032.428zm0-7.748V3.414L21.414 18h11.712c.362-1.406 1.468-2.512 2.874-2.874zm-18 18V21.414L3.414 36h11.712c.362-1.406 1.468-2.512 2.874-2.874zM4.874 20h11.712L2 34.586V22.874c1.406-.362 2.512-1.468 2.874-2.874z' fill='%23f0b052' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
14-
background-blend-mode: normal;
1513
}
1614

1715
.outer {
@@ -22,83 +20,22 @@
2220
rgba(0, 17, 34, 0.4),
2321
rgba(0, 17, 34, 0.733)
2422
);
25-
background-clip: border-box;
26-
background-origin: padding-box;
27-
border: 1px solid rgba(255, 170, 170, 0.733);
28-
border-radius: 16px;
2923
box-shadow:
3024
rgba(255, 255, 255, 0.15) 0px 1px 1px 0px inset,
3125
rgba(93, 50, 50, 0.3) 0px 50px 100px -20px,
3226
rgba(0, 0, 0, 0.5) 0px 30px 60px -30px,
3327
rgba(178, 161, 103, 0.3) -10px 10px 60px -10px;
34-
box-sizing: border-box;
35-
color: rgb(51, 51, 56);
36-
font-family:
37-
"Inter var",
38-
system-ui,
39-
-apple-system,
40-
BlinkMacSystemFont,
41-
"Segoe UI",
42-
Ubuntu,
43-
Roboto,
44-
Cantarell,
45-
"Noto Sans",
46-
sans-serif,
47-
"Apple Color Emoji",
48-
"Segoe UI Emoji",
49-
"Segoe UI Symbol",
50-
"Noto Color Emoji";
51-
font-feature-settings: "cv05", "ss01", "ss03", "zero";
52-
font-size: 16px;
53-
line-height: 24px;
54-
max-width: 1200px;
55-
padding: 9.6px;
56-
text-align: center;
57-
margin: 0 auto;
5828
}
5929

6030
.inner {
61-
align-items: flex-start;
6231
background: repeating-conic-gradient(
6332
rgba(0, 0, 0, 0.067) 0deg,
6433
rgba(0, 0, 0, 0.067) 0.0001%,
6534
rgba(0, 0, 0, 0) 0deg,
6635
rgba(0, 0, 0, 0) 0.0002%
6736
),
6837
rgba(0, 17, 34, 0.533);
69-
background-clip: border-box;
70-
background-origin: padding-box;
71-
border-radius: 9.6px;
7238
box-shadow:
7339
rgba(82, 0, 0, 0.6) 0px 1px 1px 0px inset,
7440
rgba(93, 50, 59, 0.7) 0px 5px 10px 0px;
75-
box-sizing: border-box;
76-
color: rgb(255, 255, 255);
77-
column-gap: 24px;
78-
display: flex;
79-
flex-wrap: wrap;
80-
font-family:
81-
"Inter var",
82-
system-ui,
83-
-apple-system,
84-
BlinkMacSystemFont,
85-
"Segoe UI",
86-
Ubuntu,
87-
Roboto,
88-
Cantarell,
89-
"Noto Sans",
90-
sans-serif,
91-
"Apple Color Emoji",
92-
"Segoe UI Emoji",
93-
"Segoe UI Symbol",
94-
"Noto Color Emoji";
95-
font-feature-settings: "cv05", "ss01", "ss03", "zero";
96-
font-size: 16px;
97-
justify-content: center;
98-
line-height: 24px;
99-
margin: 0;
100-
padding: 24px 16px;
101-
/* position: relative; */
102-
row-gap: 24px;
103-
text-align: left;
10441
}

0 commit comments

Comments
 (0)