Skip to content

Commit 2adb353

Browse files
committed
Next major upgrade, styling for download types
1 parent 04f9c7a commit 2adb353

6 files changed

Lines changed: 823 additions & 238 deletions

File tree

components/download.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ const Downloads = ({ downloads }: DownloadsProps) => (
1717
<div className={styles.downloadFiles}>
1818
{downloads[system].map((file: PackageFile) => (
1919
<div className={styles.downloadFile}>
20-
<span className={styles.downloadSystemArch}>{file.architectures.join(', ')} </span>
21-
<span className={styles.downloadSystemArch}>{file.contains.join(', ')}</span>
20+
<div className={styles.downloadSystemArch}>
21+
{file.architectures.join(', ')} <br />
22+
{file.contains.join(', ')}
23+
</div>
2224
<a className={`button ${styles.downloadButton}`} href={file.url} title="Download">
2325
.{pathGetExt(file.url)}
2426
<img

next-env.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
import "./.next/types/routes.d.ts";
34

45
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
6+
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

0 commit comments

Comments
 (0)