|
1 | 1 | <script lang="ts" setup></script>
|
2 | 2 |
|
3 | 3 | <template>
|
4 |
| - <div |
5 |
| - class="h-full justify-center items-center flex-wrap justify-content gap-2 m-20 flex" |
| 4 | + <section |
| 5 | + class="h-full justify-center items-center flex-wrap gap-2 flex mx-2 mt-20" |
6 | 6 | >
|
7 |
| - <div> |
| 7 | + <div class="xs:pr-10"> |
8 | 8 | <div>
|
9 | 9 | <img
|
10 | 10 | src="/assets/images/logo-wordmark.png"
|
11 | 11 | alt="PreMiD Logo"
|
12 |
| - class="max-w-120 w-1/1" |
| 12 | + class="xs:max-w-120 xs:w-1/1" |
13 | 13 | />
|
14 | 14 | <div class="flex justify-center">
|
15 | 15 | <p
|
16 |
| - class="w-auto text-center font-semibold whitespace-pre-wrap max-w-screen sm:max-w-120" |
| 16 | + class="w-1/1 mt-5 text-center font-semibold whitespace-pre-wrap max-w-screen xs:max-w-120 text-5" |
17 | 17 | >
|
18 | 18 | <span class="color-primary">PreMiD</span> is a simple, configurable
|
19 | 19 | utility that allows you to show what you're doing on the web in your
|
20 | 20 | Discord now playing status.
|
21 | 21 | </p>
|
22 | 22 | </div>
|
23 | 23 | </div>
|
24 |
| - <div class="flex flex-wrap gap-4 m-4 justify-center"> |
| 24 | + <div class="flex gap-4 justify-center lt-sm:flex-col m-10"> |
25 | 25 | <a
|
26 | 26 | href="#features"
|
27 |
| - class="font-semibold text-nowrap bg-primary sm:py-3 rounded-full uppercase font-inter text-4 sm:px-10 px-4 py-2" |
| 27 | + class="font-semibold text-nowrap bg-primary text-center py-3 rounded-full uppercase font-inter text-4 px-10" |
28 | 28 | >
|
29 | 29 | <FAIcon class="w-4 mr-1 h-4" :icon="'fa-solid fa-stream'" />{{
|
30 | 30 | $t("header.links.features")
|
31 | 31 | }}</a
|
32 | 32 | >
|
33 | 33 | <a
|
34 |
| - href="#features" |
35 |
| - class="font-semibold text-nowrap bg-btn-grey sm:py-3 rounded-full uppercase font-inter text-4 sm:px-10 px-4 py-2" |
| 34 | + href="/downloads" |
| 35 | + class="font-semibold text-nowrap text-center bg-btn-grey py-3 rounded-full uppercase font-inter text-4 px-10" |
36 | 36 | >
|
37 | 37 | <FAIcon class="w-4 mr-1 h-4" :icon="'fa-solid fa-download'" />{{
|
38 | 38 | $t("header.links.downloads")
|
39 | 39 | }}</a
|
40 | 40 | >
|
41 | 41 | </div>
|
42 | 42 | </div>
|
43 |
| - <div |
44 |
| - class="h-65 bg-primary m-4 rounded-t-2 rounded-b-4 justify-center w-md" |
45 |
| - > |
46 |
| - <div class="flex items-center"> |
47 |
| - <img |
48 |
| - class="rounded-full h-20 m-5" |
49 |
| - src="https://cdn.discordapp.com/avatars/503557087041683458/0e08c6c7ecd491094f443a86e53f1b13.png?size=1024" |
50 |
| - /> |
51 |
| - <div> |
52 |
| - <h1 class="font-semibold subpixel-antialiased text-5 font-inter"> |
53 |
| - PreMiD |
54 |
| - </h1> |
55 |
| - <FAIcon class="h-5 mt-1 mr-1 w-5" :icon="'fa-solid fa-download'" /> |
| 43 | + <section class="flex-col"> |
| 44 | + <div |
| 45 | + v-for="presenceData in [ |
| 46 | + { |
| 47 | + name: 'PreMiD', |
| 48 | + details: 'detail', |
| 49 | + state: 'state', |
| 50 | + time: '19:00 elapsed', |
| 51 | + }, |
| 52 | + { |
| 53 | + user: { |
| 54 | + image: |
| 55 | + 'https://cdn.discordapp.com/avatars/503557087041683458/0e08c6c7ecd491094f443a86e53f1b13.png?size=1024', |
| 56 | + name: 'PreMiD', |
| 57 | + }, |
| 58 | + name: 'PreMiD', |
| 59 | + details: 'detail', |
| 60 | + state: 'state', |
| 61 | + time: '19:00 elapsed', |
| 62 | + }, |
| 63 | + ]" |
| 64 | + :key="presenceData.name" |
| 65 | + class="h-65 bg-primary m-4 rounded-t-2 rounded-b-4 justify-center w-md" |
| 66 | + > |
| 67 | + <div class="flex items-center"> |
| 68 | + <img |
| 69 | + class="rounded-full h-20 m-5" |
| 70 | + src="https://cdn.discordapp.com/avatars/503557087041683458/0e08c6c7ecd491094f443a86e53f1b13.png?size=1024" |
| 71 | + /> |
| 72 | + <div> |
| 73 | + <h1 class="font-semibold subpixel-antialiased text-5 font-inter"> |
| 74 | + PreMiD |
| 75 | + </h1> |
| 76 | + <FAIcon |
| 77 | + class="h-5 mt-1 h-fit mr-1 w-5" |
| 78 | + :icon="'fa-solid fa-download'" |
| 79 | + /> |
| 80 | + </div> |
| 81 | + </div> |
| 82 | + <div class="h-37 bg-primary brightness-95 w-full rounded-b-2 top-1/2"> |
| 83 | + <div class="pt-4 pl-4"> |
| 84 | + <h1 class="font-extrabold uppercase text-3">Playing a game</h1> |
| 85 | + <div class="flex flex-wrap mt-4 h-fit"> |
| 86 | + <span class="max-h-22"> |
| 87 | + <img |
| 88 | + class="rounded-md h-22" |
| 89 | + src="https://cdn.discordapp.com/avatars/503557087041683458/0e08c6c7ecd491094f443a86e53f1b13.png?size=1024" |
| 90 | + /> |
| 91 | + |
| 92 | + <div |
| 93 | + class="rounded-full relative bottom-8 bg-primary w-9 h-9 left-15" |
| 94 | + > |
| 95 | + <img |
| 96 | + class="w-8 h-8 rounded-full m-0.5" |
| 97 | + src="https://cdn.discordapp.com/avatars/503557087041683458/0e08c6c7ecd491094f443a86e53f1b13.png?size=1024" |
| 98 | + /> |
| 99 | + </div> |
| 100 | + </span> |
| 101 | + <div class="pl-5 my-a"> |
| 102 | + <h1 class="font-bold text-sm pb-.5">{{ presenceData.name }}</h1> |
| 103 | + <p class="text-xs font-extralight pb-.5"> |
| 104 | + {{ presenceData.state }} |
| 105 | + </p> |
| 106 | + <p class="text-xs font-extralight pb-.5"> |
| 107 | + {{ presenceData.details }} |
| 108 | + </p> |
| 109 | + <p class="text-xs font-extralight pb-.5"> |
| 110 | + {{ presenceData.time }} |
| 111 | + </p> |
| 112 | + </div> |
| 113 | + </div> |
| 114 | + </div> |
56 | 115 | </div>
|
57 | 116 | </div>
|
58 |
| - <div class="h-35 bg-primary brightness-95 w-full rounded-b-2 top-1/2"> |
59 |
| - <h1 class="font-extrabold pt-5 text-3.5 font-inter pl-5"> |
60 |
| - Playing a game |
61 |
| - </h1> |
62 |
| - <img |
63 |
| - class="rounded-md h-20 ml-5 mt-3" |
64 |
| - src="https://cdn.discordapp.com/avatars/503557087041683458/0e08c6c7ecd491094f443a86e53f1b13.png?size=1024" |
65 |
| - /> |
66 |
| - </div> |
67 |
| - </div> |
68 |
| - </div> |
| 117 | + </section> |
| 118 | + </section> |
69 | 119 | </template>
|
70 | 120 |
|
71 | 121 | <style scoped></style>
|
0 commit comments