-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprojects.astro
More file actions
200 lines (175 loc) · 4.57 KB
/
Copy pathprojects.astro
File metadata and controls
200 lines (175 loc) · 4.57 KB
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
198
199
200
---
import BaseLayout from '../layouts/BaseLayout.astro';
import { featuredProjects } from '../data/projects';
---
<BaseLayout title="Hobby Projects & Personal Apps | Shakir Ahmed Ibrahim" description="Independent hobby projects, web applications, serverless tools, and open-source applications built by Shakir Ahmed Ibrahim.">
<div class="container projects-page">
<header class="page-header">
<div class="header-badge">🚀 Personal & Open Source Apps</div>
<h1 class="page-title">Hobby Projects</h1>
<p class="page-subtitle">
Hands-on web applications, accessibility tools, Telegram bots, and full-stack hobby projects built independently.
</p>
</header>
<div class="projects-grid">
{featuredProjects.map(proj => (
<div class="glass-card project-card">
<div class="card-top">
<span class="tag-badge">{proj.name}</span>
<div class="pill-group">
{proj.techStack.map(tech => (
<span class="tech-pill">{tech}</span>
))}
</div>
</div>
<h2 class="project-title">{proj.title}</h2>
<p class="project-desc">{proj.description}</p>
<div class="card-bottom">
<a href={proj.articleUrl} target="_blank" rel="noopener" class="btn btn-primary btn-sm">
{proj.articleUrl.includes('youtube') ? 'Watch Demo Video →' : 'Read Case Study →'}
</a>
{proj.repoUrl && (
<a href={proj.repoUrl} target="_blank" rel="noopener" class="repo-link">
Source Code →
</a>
)}
</div>
</div>
))}
</div>
</div>
</BaseLayout>
<style>
.projects-page {
padding: 3rem 1.5rem;
max-width: 1050px;
}
.page-header {
text-align: center;
margin-bottom: 3rem;
}
.header-badge {
display: inline-block;
padding: 0.4rem 1rem;
border-radius: 9999px;
background: rgba(56, 189, 248, 0.12);
border: 1px solid rgba(56, 189, 248, 0.3);
color: var(--accent-blue);
font-weight: 600;
font-size: 0.85rem;
margin-bottom: 1rem;
}
.page-title {
font-size: 2.75rem;
font-weight: 800;
margin-bottom: 0.5rem;
}
.page-subtitle {
color: var(--text-muted);
font-size: 1.1rem;
margin-bottom: 1.75rem;
}
.summary-banner {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 1.5rem;
font-size: 0.95rem;
}
.banner-label {
color: var(--accent-blue);
font-weight: 700;
margin-right: 0.5rem;
}
.count-badge {
background: rgba(129, 140, 248, 0.15);
color: var(--accent-indigo);
border: 1px solid rgba(129, 140, 248, 0.3);
padding: 0.3rem 0.8rem;
border-radius: 8px;
font-size: 0.85rem;
font-weight: 600;
white-space: nowrap;
}
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1.5rem;
}
.project-card {
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 1.25rem;
overflow: hidden;
}
.card-image-wrapper {
width: calc(100% + 3.5rem);
margin: -1.75rem -1.75rem 0.5rem -1.75rem;
height: 180px;
overflow: hidden;
background: rgba(15, 23, 42, 0.6);
border-bottom: 1px solid var(--border-glass);
}
.project-image {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}
.project-card:hover .project-image {
transform: scale(1.04);
}
.card-top {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.pill-group {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.tech-pill {
background: rgba(255, 255, 255, 0.05);
color: var(--text-muted);
font-size: 0.75rem;
padding: 0.2rem 0.5rem;
border-radius: 6px;
border: 1px solid var(--border-glass);
}
.project-title {
font-size: 1.3rem;
font-weight: 700;
line-height: 1.35;
color: var(--text-main);
}
.project-desc {
color: var(--text-muted);
font-size: 0.95rem;
line-height: 1.6;
}
.card-bottom {
display: flex;
justify-content: space-between;
align-items: center;
border-top: 1px solid var(--border-glass);
padding-top: 1rem;
}
.btn-sm {
padding: 0.5rem 1rem;
font-size: 0.85rem;
}
.repo-link {
font-size: 0.85rem;
font-weight: 600;
color: var(--accent-indigo);
}
@media (max-width: 640px) {
.summary-banner {
flex-direction: column;
align-items: flex-start;
gap: 0.75rem;
}
}
</style>