|
1 | 1 | // Placeholder string |
2 | 2 | const placeholderString = () => ` |
3 | 3 | <div class="placeholder"> |
4 | | - <p class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-3/4"> </p> |
5 | | - <p class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-[85%]"> </p> |
6 | | - <p class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-1/2"> </p> |
7 | | - <h2 class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-[35%]"> </h2> |
8 | | - <p class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-[85%]"> </p> |
9 | | - <p class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-1/2"> </p> |
10 | | - <p class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-3/4"> </p> |
11 | | - <h2 class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-1/2"> </h2> |
12 | | - <p class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-[85%]"> </p> |
13 | | - <p class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-3/4"> </p> |
14 | | - <p class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-[35%]"> </p> |
15 | | - <h2 class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-[35%]"> </h2> |
16 | | - <p class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-[85%]"> </p> |
17 | | - <p class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-1/2"> </p> |
18 | | - <p class="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-3/4"> </p> |
| 4 | + <p class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-3/4"> </p> |
| 5 | + <p class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-[85%]"> </p> |
| 6 | + <p class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-1/2"> </p> |
| 7 | + <h2 class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-[35%]"> </h2> |
| 8 | + <p class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-[85%]"> </p> |
| 9 | + <p class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-1/2"> </p> |
| 10 | + <p class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-3/4"> </p> |
| 11 | + <h2 class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-1/2"> </h2> |
| 12 | + <p class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-[85%]"> </p> |
| 13 | + <p class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-3/4"> </p> |
| 14 | + <p class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-[35%]"> </p> |
| 15 | + <h2 class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-[35%]"> </h2> |
| 16 | + <p class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-[85%]"> </p> |
| 17 | + <p class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-1/2"> </p> |
| 18 | + <p class="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-3/4"> </p> |
19 | 19 | </div> |
20 | 20 | `; |
21 | 21 |
|
22 | 22 | function PlaceholderComponent() { |
23 | 23 | return ( |
24 | 24 | <div className="placeholder"> |
25 | | - <p className="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-3/4"> |
| 25 | + <p className="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-3/4"> |
26 | 26 | |
27 | 27 | </p> |
28 | | - <p className="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-[85%]"> |
| 28 | + <p className="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-[85%]"> |
29 | 29 | |
30 | 30 | </p> |
31 | | - <p className="bg-gray-100 font-sans overflow-hidden relative animate-pulse w-1/2"> |
| 31 | + <p className="bg-gray-100 dark:bg-gray-800 font-sans overflow-hidden relative animate-pulse w-1/2"> |
32 | 32 | |
33 | 33 | </p> |
34 | 34 | </div> |
|
0 commit comments