Skip to content

Commit a049e00

Browse files
authored
fix: update download instructions and contact form text (#47)
1 parent 2a751d2 commit a049e00

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

app/download/components/platforms/macos-download-section.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ export default function MacOSDownloadSection({ platform, release, className }: M
3434
// Extract filename from URL for code block
3535
const getFilenameFromUrl = (url: string, arch: string) => {
3636
if (url.includes('github.com')) {
37-
return `rustfs-macos-${arch}.zip`;
37+
return `rustfs-macos-${arch}-latest.zip`;
3838
}
3939
const match = url.match(/([^\/]+\.zip)/);
40-
return match ? match[1] : `rustfs-macos-${arch}.zip`;
40+
return match ? match[1] : `rustfs-macos-${arch}-latest.zip`;
4141
};
4242

4343
return (
@@ -86,7 +86,7 @@ export default function MacOSDownloadSection({ platform, release, className }: M
8686

8787
<CodeBlock
8888
code={[
89-
`curl --progress-bar -O ${finalAarch64Url}`,
89+
`curl --progress-bar -L -O ${finalAarch64Url}`,
9090
`unzip ${getFilenameFromUrl(finalAarch64Url, 'aarch64')}`,
9191
"chmod +x rustfs",
9292
"./rustfs --version",
@@ -125,7 +125,7 @@ export default function MacOSDownloadSection({ platform, release, className }: M
125125

126126
<CodeBlock
127127
code={[
128-
`curl --progress-bar -O ${finalX86_64Url}`,
128+
`curl --progress-bar -L -O ${finalX86_64Url}`,
129129
`unzip ${getFilenameFromUrl(finalX86_64Url, 'x86_64')}`,
130130
"chmod +x rustfs",
131131
"./rustfs --version",

components/business/contact-form.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export default function ContactForm() {
161161
placeholder="Enter your first name"
162162
value={formData.firstName}
163163
onChange={handleChange}
164-
className="w-full"
164+
className="w-full text-foreground"
165165
/>
166166
</div>
167167
<div>
@@ -176,7 +176,7 @@ export default function ContactForm() {
176176
placeholder="Enter your last name"
177177
value={formData.lastName}
178178
onChange={handleChange}
179-
className="w-full"
179+
className="w-full text-foreground"
180180
/>
181181
</div>
182182
</div>
@@ -193,7 +193,7 @@ export default function ContactForm() {
193193
placeholder="your.email@company.com"
194194
value={formData.email}
195195
onChange={handleChange}
196-
className="w-full"
196+
className="w-full text-foreground"
197197
/>
198198
</div>
199199

@@ -208,7 +208,7 @@ export default function ContactForm() {
208208
placeholder="e.g., +1 (555) 123-4567"
209209
value={formData.phone}
210210
onChange={handleChange}
211-
className="w-full"
211+
className="w-full text-foreground"
212212
/>
213213
</div>
214214

@@ -223,7 +223,7 @@ export default function ContactForm() {
223223
required
224224
value={formData.country}
225225
onChange={handleChange}
226-
className="w-full"
226+
className="w-full text-foreground"
227227
>
228228
<option value="">Select a country</option>
229229
{COUNTRIES.map((country) => (
@@ -245,7 +245,7 @@ export default function ContactForm() {
245245
placeholder="Enter your company name"
246246
value={formData.company}
247247
onChange={handleChange}
248-
className="w-full"
248+
className="w-full text-foreground"
249249
/>
250250
</div>
251251
</div>
@@ -262,7 +262,7 @@ export default function ContactForm() {
262262
placeholder="Please tell us about your inquiry, requirements, or how we can help you. Include any specific details about your use case, expected scale, or technical requirements."
263263
value={formData.message}
264264
onChange={handleChange}
265-
className="w-full"
265+
className="w-full text-foreground"
266266
/>
267267
</div>
268268

0 commit comments

Comments
 (0)