|
| 1 | +--- |
| 2 | +interface Review { |
| 3 | + name: string; |
| 4 | + role: string; |
| 5 | + content: string; |
| 6 | + image: string; |
| 7 | +} |
| 8 | +
|
| 9 | +const reviews: Review[] = [ |
| 10 | + { |
| 11 | + name: 'Aman Mittal', |
| 12 | + role: 'Docs Maintainer @Expo', |
| 13 | + content: `One of the <strong>best starter apps</strong> that feel complete to get started creating your Expo and React Native app. It's rare to see a project keeping up with the latest developments in the React Native world in a fast-changing environment, <strong>production-ready</strong> at the same time, and with such clear documentation around it.<br/><strong>Hats off to the Obytes team</strong> for creating it and actively maintaining it!`, |
| 14 | + image: '/aman.jpg', |
| 15 | + }, |
| 16 | + { |
| 17 | + name: 'Yuri P. Baumgartner', |
| 18 | + role: 'React Native Developer', |
| 19 | + content: `The <strong>best React Native starter project ever!</strong> 🔥 <br/>I'm a React Native developer with more than 5 years of experience and I've seen a lot of React Native projects, templates and boilerplates but this is the <strong>best one</strong>. Here we have all of the steps to build an app from scratch to production.<br/>The section that I really <strong>love</strong> is the Environment Variables, you make the really great way to handling this, guys!<br/>Thank u all 🩶`, |
| 20 | + image: '/yuri.jpeg', |
| 21 | + }, |
| 22 | +
|
| 23 | + { |
| 24 | + name: 'Simon', |
| 25 | + role: 'Founder @Galaxies_dev', |
| 26 | + content: |
| 27 | + 'This template combines all the latest React and React Native <strong>best practices</strong> in one powerful starter. Combined with additional GitHub actions to build your app, this is one of the most future-proof React Native templates - and it’s even <strong>free!</strong>', |
| 28 | + image: 'simon.jpg', |
| 29 | + }, |
| 30 | + { |
| 31 | + name: 'Kawtar CHOUBARI', |
| 32 | + role: 'React/React Native Developer', |
| 33 | + content: |
| 34 | + 'This boilerplate has everything needed to build a robust mobile app. It <strong>saves a lot of time</strong> and I highly recommend 👌', |
| 35 | + image: '/kawtar.jpg', |
| 36 | + }, |
| 37 | + { |
| 38 | + name: 'Brandon Eichhorn', |
| 39 | + role: 'Developer', |
| 40 | + content: '<strong>You guys are life savers!</strong>', |
| 41 | + image: '/brandon.png', |
| 42 | + }, |
| 43 | +]; |
| 44 | +--- |
| 45 | + |
| 46 | +<section class="reviews not-content"> |
| 47 | + <h3 class="reviews-title">Trusted by React Native Developers Worldwide</h3> |
| 48 | + <p class="reviews-subtitle"> |
| 49 | + Developers love our starter! Check out what they're saying: |
| 50 | + </p> |
| 51 | + <div class="review-grid"> |
| 52 | + { |
| 53 | + reviews.map((review) => ( |
| 54 | + <article class="review-content"> |
| 55 | + <svg |
| 56 | + xmlns="http://www.w3.org/2000/svg" |
| 57 | + width="130" |
| 58 | + height="130" |
| 59 | + viewBox="0 0 24 24" |
| 60 | + fill="currentColor" |
| 61 | + class="quote-icon" |
| 62 | + > |
| 63 | + <path d="M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z" /> |
| 64 | + </svg> |
| 65 | + <div class="review-text"> |
| 66 | + <Fragment set:html={review.content} /> |
| 67 | + </div> |
| 68 | + <div class="review-footer"> |
| 69 | + <img |
| 70 | + src={`/reviews/${review.image}`} |
| 71 | + alt={review.name} |
| 72 | + class="review-image" |
| 73 | + /> |
| 74 | + <p class="review-author"> |
| 75 | + <strong>{review.name}</strong> |
| 76 | + <span class="review-role">{review.role}</span> |
| 77 | + </p> |
| 78 | + </div> |
| 79 | + </article> |
| 80 | + )) |
| 81 | + } |
| 82 | + </div> |
| 83 | +</section> |
| 84 | + |
| 85 | +<style> |
| 86 | + .reviews { |
| 87 | + margin: 4rem 0; |
| 88 | + padding-top: 6rem; |
| 89 | + } |
| 90 | + .reviews-title { |
| 91 | + font-size: 2rem; |
| 92 | + font-weight: 700; |
| 93 | + text-align: center; |
| 94 | + margin-bottom: 2rem; |
| 95 | + margin: 0 auto; |
| 96 | + color: var(--sl-color-white); |
| 97 | + } |
| 98 | + .reviews-subtitle { |
| 99 | + font-weight: 400; |
| 100 | + max-width: 650px; |
| 101 | + margin: 0 auto; |
| 102 | + text-align: center; |
| 103 | + margin-bottom: 2rem; |
| 104 | + } |
| 105 | + .review-grid { |
| 106 | + display: grid; |
| 107 | + gap: 1.5rem; |
| 108 | + grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); |
| 109 | + } |
| 110 | + |
| 111 | + .review-footer { |
| 112 | + display: flex; |
| 113 | + align-items: center; |
| 114 | + border-radius: 0.5rem; |
| 115 | + padding-top: 2rem; |
| 116 | + } |
| 117 | + .review-author { |
| 118 | + display: flex; |
| 119 | + flex-direction: column; |
| 120 | + font-size: 0.8rem; |
| 121 | + opacity: 0.8; |
| 122 | + } |
| 123 | + .review-role { |
| 124 | + font-size: 0.8rem; |
| 125 | + opacity: 0.8; |
| 126 | + } |
| 127 | + |
| 128 | + .review-image { |
| 129 | + width: 50px; |
| 130 | + height: 50px; |
| 131 | + border-radius: 50%; |
| 132 | + object-fit: cover; |
| 133 | + margin-right: 1rem; |
| 134 | + } |
| 135 | + .review-content { |
| 136 | + border-radius: 1rem; |
| 137 | + border: 1px solid var(--sl-color-gray-5); |
| 138 | + background-color: var(--sl-color-black); |
| 139 | + padding: clamp(1rem, calc(0.125rem + 3vw), 2.5rem); |
| 140 | + flex-direction: column; |
| 141 | + display: flex; |
| 142 | + height: 100%; |
| 143 | + position: relative; |
| 144 | + } |
| 145 | + |
| 146 | + .review-text { |
| 147 | + font-style: italic; |
| 148 | + margin: 0; |
| 149 | + font-size: clamp( |
| 150 | + var(--sl-text-sm), |
| 151 | + calc(0.5rem + 1vw), |
| 152 | + var(--sl-text-body) |
| 153 | + ); |
| 154 | + strong { |
| 155 | + color: var(--sl-color-white); |
| 156 | + } |
| 157 | + } |
| 158 | + |
| 159 | + .quote-icon { |
| 160 | + position: absolute; |
| 161 | + top: 1rem; |
| 162 | + right: 1rem; |
| 163 | + width: 68px; |
| 164 | + height: 68px; |
| 165 | + opacity: 0.2; |
| 166 | + } |
| 167 | +</style> |
0 commit comments