Skip to content

Commit

Permalink
added a version column in downloads page
Browse files Browse the repository at this point in the history
  • Loading branch information
lohit-bruno committed Jul 16, 2024
1 parent 7a14468 commit f6ebdca
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/pages/downloads.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ export default function Downloads({ latestVersion, releaseDate }) {
<th scope="col" className="py-3 pl-6 pr-10">
Platform
</th>
<th scope="col" className="py-3 pl-6 pr-10">
Version
</th>
<th scope="col" className="py-3 pl-6 pr-10">
Download
</th>
Expand All @@ -108,6 +111,7 @@ export default function Downloads({ latestVersion, releaseDate }) {
<td scope="row" className="py-2 pl-6 pr-10 flex items-center font-medium text-gray-900 whitespace-nowrap">
<IconBrandApple className="text-gray-500" size={24} strokeWidth={2}/><span className="label ml-2">Mac x64</span>
</td>
<td className="py-3 pl-6 pr-10">v{selectedVersion}</td>
<td className="py-3 pl-6 pr-10">
<a href={`https://github.com/usebruno/bruno/releases/download/v${selectedVersion}/bruno_${selectedVersion}_x64_mac.dmg`} target="_blank" rel="noreferrer" className='link'>
Download
Expand All @@ -119,6 +123,7 @@ export default function Downloads({ latestVersion, releaseDate }) {
<td scope="row" className="py-2 pl-6 pr-10 flex items-center font-medium text-gray-900 whitespace-nowrap">
<IconBrandApple className="text-gray-500" size={24} strokeWidth={2}/><span className="label ml-2">Mac x64 (Portable)</span>
</td>
<td className="py-3 pl-6 pr-10">v{selectedVersion}</td>
<td className="py-3 pl-6 pr-10">
<a href={`https://github.com/usebruno/bruno/releases/download/v${selectedVersion}/bruno_${selectedVersion}_x64_mac.zip`} target="_blank" rel="noreferrer" className='link'>
Download
Expand All @@ -130,6 +135,7 @@ export default function Downloads({ latestVersion, releaseDate }) {
<td scope="row" className="py-2 pl-6 pr-10 flex items-center font-medium text-gray-900 whitespace-nowrap">
<IconBrandApple className="text-gray-500" size={24} strokeWidth={2}/><span className="label ml-2">Mac Apple Silicon</span>
</td>
<td className="py-3 pl-6 pr-10">v{selectedVersion}</td>
<td className="py-3 pl-6 pr-10">
<a href={`https://github.com/usebruno/bruno/releases/download/v${selectedVersion}/bruno_${selectedVersion}_arm64_mac.dmg`} target="_blank" rel="noreferrer" className='link'>
Download
Expand All @@ -141,6 +147,7 @@ export default function Downloads({ latestVersion, releaseDate }) {
<td scope="row" className="py-2 pl-6 pr-10 flex items-center font-medium text-gray-900 whitespace-nowrap">
<IconBrandApple className="text-gray-500" size={24} strokeWidth={2}/><span className="label ml-2">Mac Apple Silicon (Portable)</span>
</td>
<td className="py-3 pl-6 pr-10">v{selectedVersion}</td>
<td className="py-3 pl-6 pr-10">
<a href={`https://github.com/usebruno/bruno/releases/download/v${selectedVersion}/bruno_${selectedVersion}_arm64_mac.zip`} target="_blank" rel="noreferrer" className='link'>
Download
Expand Down Expand Up @@ -172,6 +179,9 @@ export default function Downloads({ latestVersion, releaseDate }) {
<th scope="col" className="py-3 pl-6 pr-10">
Platform
</th>
<th scope="col" className="py-3 pl-6 pr-10">
Version
</th>
<th scope="col" className="py-3 pl-6 pr-10">
Download
</th>
Expand All @@ -182,6 +192,7 @@ export default function Downloads({ latestVersion, releaseDate }) {
<td scope="row" className="py-2 pl-6 pr-10 flex items-center font-medium text-gray-900 whitespace-nowrap">
<IconBrandUbuntu className="text-gray-500" size={24} strokeWidth={2}/><span className="label ml-2">Ubuntu / Debian</span>
</td>
<td className="py-3 pl-6 pr-10">v{selectedVersion}</td>
<td className="py-3 pl-6 pr-10">
<a href={`https://github.com/usebruno/bruno/releases/download/v${selectedVersion}/bruno_${selectedVersion}_amd64_linux.deb`} target="_blank" rel="noreferrer" className='link'>
Download
Expand All @@ -193,6 +204,7 @@ export default function Downloads({ latestVersion, releaseDate }) {
<td scope="row" className="py-2 pl-6 pr-10 flex items-center font-medium text-gray-900 whitespace-nowrap">
<IconDeviceDesktop className="text-gray-500" size={24} strokeWidth={2}/><span className="label ml-2">Linux AppImage</span>
</td>
<td className="py-3 pl-6 pr-10">v{selectedVersion}</td>
<td className="py-3 pl-6 pr-10">
<a href={`https://github.com/usebruno/bruno/releases/download/v${selectedVersion}/bruno_${selectedVersion}_x86_64_linux.AppImage`} target="_blank" rel="noreferrer" className='link'>
Download
Expand Down Expand Up @@ -248,6 +260,9 @@ export default function Downloads({ latestVersion, releaseDate }) {
<th scope="col" className="py-3 pl-6 pr-10">
Platform
</th>
<th scope="col" className="py-3 pl-6 pr-10">
Version
</th>
<th scope="col" className="py-3 pl-6 pr-10">
Download
</th>
Expand All @@ -258,6 +273,7 @@ export default function Downloads({ latestVersion, releaseDate }) {
<td scope="row" className="py-2 pl-6 pr-10 flex items-center font-medium text-gray-900 whitespace-nowrap">
<IconBrandWindows className="text-gray-500" size={24} strokeWidth={2}/><span className="label ml-2">Windows x64</span>
</td>
<td className="py-3 pl-6 pr-10">v{selectedVersion}</td>
<td className="py-3 pl-6 pr-10">
<a href={`https://github.com/usebruno/bruno/releases/download/v${selectedVersion}/bruno_${selectedVersion}_x64_win.exe`} target="_blank" rel="noreferrer" className='link'>
Download
Expand All @@ -269,6 +285,7 @@ export default function Downloads({ latestVersion, releaseDate }) {
<td scope="row" className="py-2 pl-6 pr-10 flex items-center font-medium text-gray-900 whitespace-nowrap">
<IconBrandWindows className="text-gray-500" size={24} strokeWidth={2}/><span className="label ml-2">Windows x64 (Portable)</span>
</td>
<td className="py-3 pl-6 pr-10">v{selectedVersion}</td>
<td className="py-3 pl-6 pr-10">
<a href={`https://github.com/usebruno/bruno/releases/download/v${selectedVersion}/bruno_${selectedVersion}_x64_win.zip`} target="_blank" rel="noreferrer" className='link'>
Download
Expand Down

0 comments on commit f6ebdca

Please sign in to comment.