adding files to git

builtincomp
lianahus 2 years ago committed by Aniket
parent 69b5fefab4
commit a2268f34e7
  1. BIN
      apps/remix-ide/src/assets/img/home.webp
  2. BIN
      apps/remix-ide/src/assets/img/remix_logo_light.webp
  3. 31
      libs/remix-ui/home-tab/src/lib/components/workspaceTemplate.tsx

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

@ -0,0 +1,31 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import React, { useContext } from 'react'
import { ThemeContext } from '../themeContext'
import { OverlayTrigger, Tooltip } from 'react-bootstrap' // eslint-disable-line
interface WorkspaceTemplateProps {
gsID: string,
workspaceTitle: string,
callback: any,
description: string,
}
function WorkspaceTemplate ({ gsID, workspaceTitle, description, callback }: WorkspaceTemplateProps) {
const themeFilter = useContext(ThemeContext)
return (
<div className="d-flex remixui_home_workspaceTemplate">
<button
className="btn border-secondary p-1 d-flex flex-column text-nowrap justify-content-center align-items-center mr-2 remixui_home_workspaceTemplate"
data-id={'landingPageStart' + gsID}
onClick={() => callback()}
>
<div className="w-100 p-2 h-100 align-items-start d-flex flex-column">
<label className="h6 text-uppercase text-dark remixui_home_cursorStyle">{workspaceTitle}</label>
<div className="remixui_home_gtDescription">{description}</div>
</div>
</button>
</div>
)
}
export default WorkspaceTemplate
Loading…
Cancel
Save