ReviewOS

also looking at this

meemalabs/hoodratz.io

Production Update - Nov 28, 2021

#22
Merged glennmichael123 wants to merge staging into main
21 files +376 -359
src/views/Roadmap.vuemodified+25-104
Changes to src/views/Roadmap.vue
@@ -10,12 +10,7 @@ import AppFooter from "@/components/AppFooter.vue";
1010 <div class="container relative mx-auto md:mt-32">
1111 <div class="mx-auto md:w-2/3">
1212 <img
13 class="
14 absolute
15 hidden
16 xl:left-3/4 xl:-top-10
17 lg:block lg:-top-16 lg:right-0
18 "
13 class="absolute hidden xl:left-3/4 xl:-top-10 lg:block lg:-top-16 lg:right-0"
1914 src="/images/home/hoodratz-ellipse-97.png"
2015 alt=""
2116 />
@@ -49,14 +44,9 @@ import AppFooter from "@/components/AppFooter.vue";
4944
5045 <div class="container relative mx-auto md:mb-32">
5146 <img
52 class="
53 absolute
54 hidden
55 xl:top-0 xl:-left-12
56 lg:top-0 lg:-left-5 lg:block
57 "
47 class="absolute hidden xl:top-0 xl:-left-12 lg:top-0 lg:-left-5 lg:block"
5848 src="/images/home/hoodratz-ellipse-1424.svg"
59 alt=""
49 alt="background particle image"
6050 />
6151 <img
6252 class="absolute hidden xl:top-0 left-90 lg:top-0 lg:-left-5 lg:block"
@@ -66,86 +56,55 @@ import AppFooter from "@/components/AppFooter.vue";
6656 <img
6757 class="absolute hidden left-85 xl:top-72 lg:block lg:top-72 lg:left-0"
6858 src="/images/home/hoodratz-ellipse-88.png"
69 alt=""
59 alt="background particle image"
7060 />
7161 <img
7262 class="absolute hidden left-90 xl:top-3/4 lg:block lg:top-3/4 lg:left-0"
7363 src="/images/home/hoodratz-ellipse-88.png"
74 alt=""
64 alt="background particle image"
7565 />
7666 <img
77 class="
78 absolute
79 hidden
80 xl:left-10 xl:top-1/4
81 lg:block lg:top-1/2 lg:left-0
82 "
67 class="absolute hidden xl:left-10 xl:top-1/4 lg:block lg:top-1/2 lg:left-0"
8368 src="/images/home/hoodratz-ellipse-97.png"
84 alt=""
69 alt="background particle image"
8570 />
8671 <img
87 class="
88 absolute
89 hidden
90 xl:left-2 xl:top-1/2
91 lg:block lg:top-3/4 lg:left-0
92 "
72 class="absolute hidden xl:left-2 xl:top-1/2 lg:block lg:top-3/4 lg:left-0"
9373 src="/images/home/hoodratz-ellipse-88.png"
94 alt=""
74 alt="background particle image"
9575 />
9676 <img
9777 class="absolute hidden xl:top-1/2 left-85 lg:top-1/3 lg:block"
9878 src="/images/home/hoodratz-ellipse-1424.svg"
99 alt=""
79 alt="background particle image"
10080 />
10181 <img
102 class="
103 absolute
104 hidden
105 xl:top-3/4 xl:left-2
106 lg:top-3/4 lg:-left-10 lg:block
107 "
82 class="absolute hidden xl:top-3/4 xl:left-2 lg:top-3/4 lg:-left-10 lg:block"
10883 src="/images/home/hoodratz-ellipse-1424.svg"
10984 alt=""
11085 />
11186 <img
11287 class="absolute hidden left-90 xl:top-full lg:block lg:top-full"
11388 src="/images/home/hoodratz-ellipse-97.png"
114 alt=""
89 alt="background particle image"
11590 />
11691 <img
11792 class="absolute hidden xl:-left-24 xl:top-full lg:block lg:top-full"
11893 src="/images/home/hoodratz-ellipse-88.png"
119 alt=""
94 alt="background particle image"
12095 />
96
12197 <div class="relative mx-auto md:w-2/3">
12298 <div class="relative mx-4 my-20 text-center md:text-left">
12399 <div
124100 v-for="(item, index) in roadmap"
125 class="relative rounded-4xl bg-gray-7 font-sora"
126 :class="{ 'p-6 md:p-8': index === 0, 'my-8 p-6': index }"
101 class="relative p-6 my-8 rounded-4xl bg-gray-7 font-sora"
127102 >
128103 <div
129 class="
130 absolute
131 inset-x-0
132 top-0
133 flex
134 justify-center
135 -mt-6
136 md:-top-0 md:hidden
137 "
104 class="absolute inset-x-0 top-0 flex justify-center -mt-6 md:-top-0 md:hidden"
138105 >
139106 <div
140 class="
141 flex
142 items-center
143 justify-center
144 w-12
145 h-12
146 text-xl text-white
147 rounded-full
148 "
107 class="flex items-center justify-center w-12 h-12 text-xl text-white rounded-full "
149108 :class="{
150109 'bg-gray-6': !item.done,
151110 'bg-pink-gradient': item.done,
@@ -158,78 +117,40 @@ import AppFooter from "@/components/AppFooter.vue";
158117 </div>
159118 </div>
160119 <div
161 class="
162 absolute
163 inset-y-0
164 left-0
165 z-10
166 flex
167 justify-center
168 hidden
169 md:block
170 "
120 class="absolute inset-y-0 left-0 z-10 flex justify-center hidden md:block"
171121 >
172122 <div class="flex items-center h-full -ml-16">
173123 <div
174124 v-if="item.done"
175 class="
176 flex
177 items-center
178 justify-center
179 w-12
180 h-12
181 text-xl text-white
182 rounded-full
183 bg-pink-gradient
184 "
125 class="flex items-center justify-center w-12 h-12 text-xl text-white rounded-full bg-pink-gradient"
185126 >
186127 <div><img src="/images/check.svg" alt="" /></div>
187128 </div>
188129 <div
189130 v-else
190 class="
191 flex
192 items-center
193 justify-center
194 w-12
195 h-12
196 text-xl text-white
197 border-2
198 rounded-full
199 bg-pink-1
200 border-pink-3
201 "
131 class="flex items-center justify-center w-12 h-12 text-xl text-white border-2 rounded-full bg-pink-1 border-pink-3"
202132 ></div>
203133 </div>
204134 </div>
205 <div class="mt-6">
135
136 <div>
206137 <div class="flex justify-center md:justify-between">
207138 <div class="hidden md:block text-pink-3">
208139 {{ $date(item.date).format("DD") }}
209140 </div>
210141 <div class="uppercase">
211 {{ $date(item.date).format("MMMM YYYY") }}
142 {{ $date(item.date).format('MMM YYYY @ hh:mm A Z') }}
212143 </div>
213144 </div>
214145 <div class="my-4 text-2xl font-bold text-white">
215146 {{ item.title }}
216147 </div>
217 <p class="leading-8">
218 {{ item.description }}
219 </p>
148 <p v-html="item.description" class="leading-8"></p>
220149 </div>
221150 </div>
222151
223152 <div
224 class="
225 absolute
226 top-0
227 hidden
228 h-full
229 -ml-10
230 border-l border-dashed border-gray-4
231 md:block
232 "
153 class="absolute top-0 hidden h-full -ml-10 border-l border-dashed border-gray-4 md:block"
233154 ></div>
234155 </div>
235156 </div>