[release] v0.8.1

This commit is contained in:
Yann Stepienik 2023-06-22 13:15:30 +01:00
parent 6a32ac8313
commit 274cc38e7f
2 changed files with 8 additions and 6 deletions

View file

@ -12,13 +12,13 @@ import {Link as LinkMUI} from '@mui/material'
import DockerComposeImport from '../servapps/containers/docker-compose';
function Screenshots({ screenshots }) {
return (
return screenshots.length > 1 ? (
<Carousel animation="slide" navButtonsAlwaysVisible={false} fullHeightHover="true" swipe={false}>
{
screenshots.map((item, i) => <img key={i} src={item} width="100%" />)
screenshots.map((item, i) => <img style={{height:'300px'}} key={i} src={item} />)
}
</Carousel>
)
</Carousel>)
: <img src={screenshots[0]} height="300px" />
}
function Showcases({ showcase, isDark }) {
@ -174,7 +174,9 @@ const MarketPage = () => {
</Button>
</Link>
<Screenshots screenshots={openedApp.screenshots} />
<div style={{textAlign: 'center'}}>
<Screenshots screenshots={openedApp.screenshots} />
</div>
<Stack direction="row" spacing={2}>
<img src={openedApp.icon} style={{ width: '36px', height: '36px' }} />

View file

@ -1,6 +1,6 @@
{
"name": "cosmos-server",
"version": "0.8.0",
"version": "0.8.1",
"description": "",
"main": "test-server.js",
"bugs": {