Updated the app explorer page with download potential
This commit is contained in:
@@ -518,7 +518,7 @@ export const usecases = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const Framework = (props) => {
|
const Framework = (props) => {
|
||||||
const {globalUrl, isLoaded, showOptions, selectedOption, rolling, frameworkData, size, inputUsecase, isLoggedIn, } = props;
|
const { globalUrl, isLoaded, showOptions, selectedOption, rolling, frameworkData, size, inputUsecase, isLoggedIn, color } = props;
|
||||||
const [cy, setCy] = React.useState()
|
const [cy, setCy] = React.useState()
|
||||||
const [edgesStarted, setEdgesStarted] = React.useState(false)
|
const [edgesStarted, setEdgesStarted] = React.useState(false)
|
||||||
const [graphDone, setGraphDone] = React.useState(false)
|
const [graphDone, setGraphDone] = React.useState(false)
|
||||||
@@ -1371,8 +1371,10 @@ const Framework = (props) => {
|
|||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const bgColor = color === undefined || color === null || color.length === 0 ? theme.palette.surfaceColor : color
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Paper style={{marginBottom: 15, width: 250, maxHeight: 400, overflow: "hidden", zIndex: 12500, padding: 15, backgroundColor: theme.palette.surfaceColor, border: "1px solid rgba(255,255,255,0.2)", }} onMouseOver={handleHover} onMouseOut={handleHoverOut}>
|
<Paper style={{marginBottom: 15, width: 250, maxHeight: 400, overflow: "hidden", zIndex: 12500, padding: 15, backgroundColor: bgColor, border: "1px solid rgba(255,255,255,0.2)", }} onMouseOver={handleHover} onMouseOut={handleHoverOut}>
|
||||||
<Typography style={{textAlign: "center"}}>
|
<Typography style={{textAlign: "center"}}>
|
||||||
{data.name}
|
{data.name}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|||||||
@@ -245,6 +245,7 @@ const Docs = (defaultprops) => {
|
|||||||
if (props.match.params.key === undefined) {
|
if (props.match.params.key === undefined) {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
console.log("DOCID: ", props.match.params.key)
|
||||||
fetchDocs(props.match.params.key)
|
fetchDocs(props.match.params.key)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -272,7 +273,8 @@ const Docs = (defaultprops) => {
|
|||||||
.split("_")
|
.split("_")
|
||||||
.join(" ")
|
.join(" ")
|
||||||
.split("-")
|
.split("-")
|
||||||
.join(" ");
|
.join(" ")
|
||||||
|
.split("?")[0]
|
||||||
|
|
||||||
//console.log(name)
|
//console.log(name)
|
||||||
var found = false;
|
var found = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user