[release] v0.8.1
This commit is contained in:
parent
6a32ac8313
commit
274cc38e7f
|
@ -12,13 +12,13 @@ import {Link as LinkMUI} from '@mui/material'
|
||||||
import DockerComposeImport from '../servapps/containers/docker-compose';
|
import DockerComposeImport from '../servapps/containers/docker-compose';
|
||||||
|
|
||||||
function Screenshots({ screenshots }) {
|
function Screenshots({ screenshots }) {
|
||||||
return (
|
return screenshots.length > 1 ? (
|
||||||
<Carousel animation="slide" navButtonsAlwaysVisible={false} fullHeightHover="true" swipe={false}>
|
<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 }) {
|
function Showcases({ showcase, isDark }) {
|
||||||
|
@ -174,7 +174,9 @@ const MarketPage = () => {
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<Screenshots screenshots={openedApp.screenshots} />
|
<div style={{textAlign: 'center'}}>
|
||||||
|
<Screenshots screenshots={openedApp.screenshots} />
|
||||||
|
</div>
|
||||||
|
|
||||||
<Stack direction="row" spacing={2}>
|
<Stack direction="row" spacing={2}>
|
||||||
<img src={openedApp.icon} style={{ width: '36px', height: '36px' }} />
|
<img src={openedApp.icon} style={{ width: '36px', height: '36px' }} />
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cosmos-server",
|
"name": "cosmos-server",
|
||||||
"version": "0.8.0",
|
"version": "0.8.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "test-server.js",
|
"main": "test-server.js",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
Loading…
Reference in a new issue