Skip to content

Commit b45c9e3

Browse files
committed
improve cards
1 parent 435dad7 commit b45c9e3

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

src/components/ApplicationsShowcase.astro

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const applications = applicationsData.applications;
4141

4242
:global(.search-container) {
4343
position: relative;
44-
flex: 2;
44+
flex: 1;
4545
min-width: 300px;
4646
}
4747

@@ -89,7 +89,6 @@ const applications = applicationsData.applications;
8989
color: var(--sl-color-white);
9090
font-size: 0.875rem;
9191
min-width: 140px;
92-
flex-shrink: 0;
9392
}
9493

9594
:global(.filter-select:focus) {
@@ -115,7 +114,6 @@ const applications = applicationsData.applications;
115114
color: var(--sl-color-white);
116115
font-size: 0.875rem;
117116
min-width: 120px;
118-
flex-shrink: 0;
119117
}
120118

121119
:global(.clear-filters) {
@@ -239,18 +237,14 @@ const applications = applicationsData.applications;
239237
:global(.service-icon) {
240238
width: 1.75rem;
241239
height: 1.75rem;
242-
padding: 0.25rem;
243-
background: var(--sl-color-bg);
244-
border: 1px solid var(--sl-color-gray-6);
245-
border-radius: 0.25rem;
240+
padding: 0.125rem;
246241
display: flex;
247242
align-items: center;
248243
justify-content: center;
249244
transition: all 0.2s ease;
250245
}
251246

252247
:global(.service-icon:hover) {
253-
border-color: var(--sl-color-accent);
254248
transform: scale(1.1);
255249
}
256250

@@ -273,20 +267,18 @@ const applications = applicationsData.applications;
273267
display: inline-flex;
274268
align-items: center;
275269
gap: 0.5rem;
276-
color: var(--sl-color-accent);
270+
color: white;
277271
text-decoration: none;
278272
font-weight: 500;
279273
font-size: 0.875rem;
280274
padding: 0.5rem 0.75rem;
281-
border: 1px solid var(--sl-color-accent);
282275
border-radius: 0.375rem;
283276
transition: all 0.2s ease;
284277
white-space: nowrap;
285278
}
286279

287280
:global(.card-link:hover) {
288-
background: var(--sl-color-accent);
289-
color: white;
281+
color: var(--sl-color-accent);
290282
}
291283

292284
/* No Results */

src/components/applications/ApplicationsShowcase.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export const ApplicationsShowcase: React.FC<ApplicationsShowcaseProps> = ({
208208
onChange={(e) => e.target.value ? toggleFilter('services', e.target.value) : null}
209209
className="filter-select"
210210
>
211-
<option value="">All Services</option>
211+
<option value="">Services</option>
212212
{uniqueServices.map((service) => (
213213
<option key={service} value={service}>
214214
{services[service] || service}
@@ -221,7 +221,7 @@ export const ApplicationsShowcase: React.FC<ApplicationsShowcaseProps> = ({
221221
onChange={(e) => e.target.value ? toggleFilter('platforms', e.target.value) : null}
222222
className="filter-select"
223223
>
224-
<option value="">All Languages</option>
224+
<option value="">Languages</option>
225225
{uniquePlatforms.map((platform) => (
226226
<option key={platform} value={platform}>
227227
{platforms[platform] || platform}
@@ -234,7 +234,7 @@ export const ApplicationsShowcase: React.FC<ApplicationsShowcaseProps> = ({
234234
onChange={(e) => e.target.value ? toggleFilter('deployments', e.target.value) : null}
235235
className="filter-select"
236236
>
237-
<option value="">All Deployment</option>
237+
<option value="">Deployment</option>
238238
{uniqueDeployments.map((deployment) => (
239239
<option key={deployment} value={deployment}>
240240
{deployments[deployment] || deployment}
@@ -247,7 +247,7 @@ export const ApplicationsShowcase: React.FC<ApplicationsShowcaseProps> = ({
247247
onChange={(e) => e.target.value ? toggleFilter('complexities', e.target.value) : null}
248248
className="filter-select"
249249
>
250-
<option value="">All Complexity</option>
250+
<option value="">Complexity</option>
251251
{uniqueComplexities.map((complexity) => (
252252
<option key={complexity} value={complexity}>
253253
{complexities.data[complexity] || complexity}

0 commit comments

Comments
 (0)