Просмотр исходного кода

Merge branch 'develop' into jesse-readme-update

Ajay Tripathy 3 лет назад
Родитель
Сommit
e59c4cf3ec
3 измененных файлов с 5 добавлено и 4 удалено
  1. 3 3
      ui/README.md
  2. 2 1
      ui/src/components/Header.js
  3. BIN
      ui/src/images/logo.png

+ 3 - 3
ui/README.md

@@ -1,7 +1,7 @@
-# Kubecost Open Source UI
+# OpenCost UI
 The preferred install path for Kubecost is via Helm chart, and is explained [here](http://docs.kubecost.com/install)
 
-To manually run an open source demo UI, follow the steps below.
+To manually run the OpenCost UI, follow the steps below.
 
 ## Requirements
 
@@ -15,7 +15,7 @@ To run the UI, open a terminal to the `opencost/ui/` directory (where this READM
 npm install
 ```
 
-This will install required depndencies and build tools. To launch the UI, run
+This will install required dependencies and build tools. To launch the UI, run
 
 ```
 npx parcel src/index.html

+ 2 - 1
ui/src/components/Header.js

@@ -23,9 +23,10 @@ const useStyles = makeStyles({
 const Header = (props) => {
   const classes = useStyles()
   const { title, breadcrumbs } = props
-  
+
   return (
     <div className={classes.root}>
+      <img src={ require('../images/logo.png') } alt="OpenCost" />
       <div className={classes.context}>
         {title && <Typography variant="h4" className={classes.title}>{props.title}</Typography>}
         {breadcrumbs && breadcrumbs.length > 0 && (

BIN
ui/src/images/logo.png