@@ -23,10 +23,11 @@ export default function PostMediaLocked({
2323 You have found a
2424 </ p >
2525 < p className = "flex justify-center" >
26- < NextLink href = "/user/profile" >
27- < a className = "p-4 m-4 text-6xl font-bold rounded-2xl text-primary-50 bg-secondary-500 btn-secondary" >
28- Free Course
29- </ a >
26+ < NextLink
27+ href = "/user/profile"
28+ className = "p-4 m-4 text-6xl font-bold rounded-2xl text-primary-50 bg-secondary-500 btn-secondary"
29+ >
30+ Free Course
3031 </ NextLink >
3132 </ p >
3233 < p > Once you login, you have access.</ p >
@@ -36,26 +37,27 @@ export default function PostMediaLocked({
3637 courses.
3738 </ p >
3839 </ div >
39- < NextLink href = "/user/profile" >
40- < a className = "btn-primary" > Login / Become Member</ a >
40+ < NextLink href = "/user/profile" className = "btn-primary" >
41+ Login / Become Member
4142 </ NextLink >
4243 < div className = "flex justify-center" >
43- < NextLink href = "/user/profile" >
44- < a className = "flex items-center py-1 text-xs transition-all duration-200 ease-in-out group opacity-80 hover:opacity-100" >
45- Pay yearly or monthly{ ' ' }
46- < svg
44+ < NextLink
45+ href = "/user/profile"
46+ className = "flex items-center py-1 text-xs transition-all duration-200 ease-in-out group opacity-80 hover:opacity-100"
47+ >
48+ Pay yearly or monthly{ ' ' }
49+ < svg
50+ xmlns = "http://www.w3.org/2000/svg"
51+ data-name = "Layer 1"
52+ viewBox = "0 0 24 24"
53+ xmlSpace = "preserve"
54+ className = "w-6 fill-current"
55+ >
56+ < path
4757 xmlns = "http://www.w3.org/2000/svg"
48- data-name = "Layer 1"
49- viewBox = "0 0 24 24"
50- xmlSpace = "preserve"
51- className = "w-6 fill-current"
52- >
53- < path
54- xmlns = "http://www.w3.org/2000/svg"
55- d = "M17.92 11.62a1 1 0 0 0-.21-.33l-5-5a1 1 0 0 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l5-5a1 1 0 0 0 .21-.33 1 1 0 0 0 0-.76z"
56- />
57- </ svg >
58- </ a >
58+ d = "M17.92 11.62a1 1 0 0 0-.21-.33l-5-5a1 1 0 0 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l5-5a1 1 0 0 0 .21-.33 1 1 0 0 0 0-.76z"
59+ />
60+ </ svg >
5961 </ NextLink >
6062 </ div >
6163 </ section >
@@ -109,26 +111,27 @@ export default function PostMediaLocked({
109111 < span className = "pl-1 sm:text-lg" > / month</ span >
110112 </ div >
111113 </ div >
112- < NextLink href = "/user/profile" >
113- < a className = "btn-primary" > Login / Become Member</ a >
114+ < NextLink href = "/user/profile" className = "btn-primary" >
115+ Login / Become Member
114116 </ NextLink >
115117 < div className = "flex justify-center" >
116- < NextLink href = "/user/profile" >
117- < a className = "flex items-center py-1 mt-4 text-xs transition-all duration-200 ease-in-out group opacity-80 hover:opacity-100" >
118- Pay yearly or monthly{ ' ' }
119- < svg
118+ < NextLink
119+ href = "/user/profile"
120+ className = "flex items-center py-1 mt-4 text-xs transition-all duration-200 ease-in-out group opacity-80 hover:opacity-100"
121+ >
122+ Pay yearly or monthly{ ' ' }
123+ < svg
124+ xmlns = "http://www.w3.org/2000/svg"
125+ data-name = "Layer 1"
126+ viewBox = "0 0 24 24"
127+ xmlSpace = "preserve"
128+ className = "w-6 fill-current"
129+ >
130+ < path
120131 xmlns = "http://www.w3.org/2000/svg"
121- data-name = "Layer 1"
122- viewBox = "0 0 24 24"
123- xmlSpace = "preserve"
124- className = "w-6 fill-current"
125- >
126- < path
127- xmlns = "http://www.w3.org/2000/svg"
128- d = "M17.92 11.62a1 1 0 0 0-.21-.33l-5-5a1 1 0 0 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l5-5a1 1 0 0 0 .21-.33 1 1 0 0 0 0-.76z"
129- />
130- </ svg >
131- </ a >
132+ d = "M17.92 11.62a1 1 0 0 0-.21-.33l-5-5a1 1 0 0 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l5-5a1 1 0 0 0 .21-.33 1 1 0 0 0 0-.76z"
133+ />
134+ </ svg >
132135 </ NextLink >
133136 </ div >
134137 </ section >
0 commit comments