mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
use release image and date in Version card
This commit is contained in:
@@ -34,12 +34,12 @@ export function AvailableVersionItem(props: {version: BSVersion}) {
|
||||
<div className="group m-3 relative w-72 h-60" onClick={onClickAction}>
|
||||
<div className={`absolute glow-on-hover group-hover:opacity-100 ${selected && "opacity-100"}`}></div>
|
||||
<div className={`relative flex flex-col overflow-hidden rounded-md w-72 h-60 bg-main-color-2 cursor-pointer group-hover:shadow-none duration-300 ${!selected && "shadow-lg shadow-gray-900"}`}>
|
||||
<img src="https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/clans/32055887/d854a4cc83b282acc191227a7759b4f5e6c6b085.png" className="absolute top-0 right-0 w-full h-full opacity-40 blur-xl object-cover"></img>
|
||||
<img src="https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/clans/32055887/d854a4cc83b282acc191227a7759b4f5e6c6b085.png" className="bg-black w-full h-3/4 object-cover"/>
|
||||
<img src={props.version.ReleaseImg} className="absolute top-0 right-0 w-full h-full opacity-40 blur-xl object-cover"></img>
|
||||
<img src={props.version.ReleaseImg} className="bg-black w-full h-3/4 object-cover"/>
|
||||
<div className="relative z-[1] p-2 w-full flex items-center justify-between grow">
|
||||
<div>
|
||||
<span className="block text-xl font-bold text-white tracking-wider">{props.version.BSVersion}</span>
|
||||
<span className="text-sm text-gray-400">jeu. 19 mai 2022</span>
|
||||
<span className="text-sm text-gray-400">{props.version.ReleaseDate}</span>
|
||||
</div>
|
||||
<a href={props.version.ReleaseURL} target="_blank" rel="noreferrer" className="relative z-10 flex flex-row justify-between items-center rounded-full bg-black bg-opacity-30 text-white pb-[1px] hover:bg-opacity-50">
|
||||
<SteamIcon className="w-[25px] h-[25px] transition-transform group-hover:rotate-[-360deg] duration-300"/>
|
||||
|
||||
Reference in New Issue
Block a user