Skip to content

Commit

Permalink
feat: add the windows version tip in the download page
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteMinds committed Nov 30, 2023
1 parent 3fdd0d0 commit 017d61e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
display: flex;
gap: 4px;
align-items: center;
white-space: nowrap;
}

&.checksum {
Expand Down
11 changes: 10 additions & 1 deletion packages/neuron/src/pages/download/Assets/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,16 @@ export const Assets$Desktop: FC<AssetsProps> = ({ assets, ...tableProps }) => {
{asset.os.toLowerCase() === 'windows' && <IconWindows />}
{asset.os.toLowerCase() === 'macos' && <IconMacOS />}
{asset.os.toLowerCase() === 'linux' && <IconLinux />}
{asset.os}
{asset.os.toLowerCase() === 'windows' ? (
<>
Windows 10+
<Tooltip content="System versions that are no longer officially supported are not recommended and may have compatibility or security issues.">
<IconTips />
</Tooltip>
</>
) : (
asset.os
)}
</div>
</td>
<td>{asset.arch}</td>
Expand Down

0 comments on commit 017d61e

Please sign in to comment.