|
16 | 16 | margin: 16px; |
17 | 17 | padding: 28px; |
18 | 18 |
|
19 | | - border: 1px solid rgba(255, 255, 255, 0.3); |
| 19 | + border: 1px solid rgba(255, 255, 255, 0.13); |
20 | 20 | border-radius: 12px; |
| 21 | +
|
| 22 | + background-color: #222222; |
21 | 23 | " |
22 | 24 | > |
23 | 25 | <div style="font-size: 30px; font-weight: bold">Basic plan</div> |
24 | 26 |
|
25 | 27 | <Gap style="height: 32px" /> |
26 | 28 |
|
27 | | - <div style="text-align: center; font-weight: bold"> |
| 29 | + <div style="text-align: center"> |
28 | 30 | <span style="font-size: 46px">$0</span> |
29 | | - <span style="font-size: 12px; color: #d0d0d0">/ month</span> |
| 31 | + <span style="font-size: 12px; color: #d0d0d0; font-weight: bold" |
| 32 | + >/ month</span |
| 33 | + > |
30 | 34 | </div> |
31 | 35 |
|
32 | 36 | <Gap style="height: 32px" /> |
|
79 | 83 | margin: 16px; |
80 | 84 | padding: 28px; |
81 | 85 |
|
82 | | - border: 1px solid rgba(255, 255, 255, 0.3); |
| 86 | + border: 1px solid rgba(255, 255, 255, 0.13); |
83 | 87 | border-radius: 12px; |
| 88 | +
|
| 89 | + background-color: #222222; |
84 | 90 | " |
85 | 91 | > |
86 | 92 | <div style="font-size: 30px; font-weight: bold">Pro plan</div> |
87 | 93 |
|
88 | 94 | <Gap style="height: 32px" /> |
89 | 95 |
|
90 | | - <div style="text-align: center; font-weight: bold"> |
91 | | - <span style="font-size: 46px">$5</span> |
| 96 | + <div style="text-align: center; position: relative"> |
| 97 | + <span style="font-size: 46px"> |
| 98 | + ${{ billingFrequency === 'monthly' ? 4.99 : 3.99 }} |
| 99 | + </span> |
92 | 100 | <span style="font-size: 12px; color: #d0d0d0">/ month</span> |
| 101 | + |
| 102 | + <div |
| 103 | + v-if="billingFrequency === 'yearly'" |
| 104 | + style=" |
| 105 | + position: absolute; |
| 106 | + width: 100%; |
| 107 | + margin-top: -7px; |
| 108 | + text-align: center; |
| 109 | + font-size: 13px; |
| 110 | + color: #d0d0d0; |
| 111 | + " |
| 112 | + > |
| 113 | + (billed anually) |
| 114 | + </div> |
93 | 115 | </div> |
94 | 116 |
|
95 | 117 | <Gap style="height: 32px" /> |
|
131 | 153 | </div> |
132 | 154 | </template> |
133 | 155 |
|
| 156 | +<script setup lang="ts"> |
| 157 | +defineProps<{ |
| 158 | + billingFrequency: 'monthly' | 'yearly'; |
| 159 | +}>(); |
| 160 | +</script> |
| 161 | + |
134 | 162 | <style scoped lang="scss"> |
135 | 163 | ul :deep() { |
136 | 164 | list-style: none; |
|
0 commit comments