Skip to content

Commit 2c1f9df

Browse files
committed
skeleton profile card is rendered.
1 parent 8d880ab commit 2c1f9df

2 files changed

Lines changed: 23 additions & 3 deletions

File tree

profile/index.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,26 @@
8383
<div class="absolute top-1/3 right-1/4 w-64 h-64 bg-indigo-600 rounded-full mix-blend-multiply filter blur-3xl opacity-20 animate-blob animation-delay-2000"></div>
8484
<div class="absolute bottom-1/4 left-1/2 w-64 h-64 bg-blue-600 rounded-full mix-blend-multiply filter blur-3xl opacity-20 animate-blob animation-delay-4000"></div>
8585
</div>
86+
<!-- Loader -->
87+
<div class="loader w-full max-w-md p-24 rounded-xl bg-gray-900 shadow-lg">
88+
<div class="flex justify-end mb-0">
89+
<div class="w-8 h-8 bg-gray-800 rounded-full"></div>
90+
</div>
91+
<div class="flex flex-col items-center">
92+
<div class="w-32 h-32 bg-gray-800 rounded-full mb-4"></div>
93+
<div class="w-48 h-12 bg-gray-800 rounded mb-2"></div>
94+
<div class="w-32 h-6 bg-gray-800 rounded mb-4"></div>
95+
<div class="w-64 h-16 bg-gray-800 rounded mb-4"></div>
96+
<div class="w-64 h-16 bg-gray-800 rounded mb-4"></div>
97+
<div class="w-64 h-16 bg-gray-800 rounded mb-4"></div>
98+
<div class="w-48 h-12 bg-gray-800 rounded mb-4"></div>
99+
</div>
100+
<div class="border-t border-gray-800 mt-4 pt-4">
101+
<div class="w-2/3 h-4 bg-gray-800 rounded mb-2 mx-auto"></div>
102+
<div class="w-1/2 h-4 bg-gray-800 rounded mx-auto"></div>
103+
</div>
104+
</div>
105+
86106
<!-- Main Content -->
87107
<main class="card-container relative z-10 transform translate-y-5">
88108
<!-- Profile card will be injected here -->

profile/style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ body {
162162

163163
.contact-details-container {
164164
padding: 1.5rem;
165+
display: flex;
166+
flex-direction: column;
167+
align-items: center;
165168
border-radius: 12px;
166169
background: rgba(255, 255, 255, 0.1);
167170
backdrop-filter: blur(10px);
@@ -310,6 +313,3 @@ body {
310313
cursor: pointer;
311314
transition: all 0.3s ease;
312315
}
313-
.top-right:hover {
314-
background: rgba(255, 255, 255, 0.2);
315-
}

0 commit comments

Comments
 (0)