Skip to content

Commit

Permalink
removes the "Beta" banner
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Apr 18, 2019
1 parent 61afabd commit a0ae3a4
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/App.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Beta {
#Banner {
background-color: var(--red);
/* border-top: 1px solid var(--black); */
bottom: 0;
Expand Down
5 changes: 3 additions & 2 deletions app/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ class App extends Component {
pathname.indexOf("search") === 0;

const bare = pathname.includes("profile") && pathname.split("/").filter(Boolean).length === 5;
const beta = true;
const banner = null;
// const banner = <div id="Banner">This is a prototype for the new Data USA. Please e-mail <a href="mailto:hello@datausa.io?subject=Prototype%20Feedback">hello@datausa.io</a> with any feedback.</div>;

return (
<div id="App" className={bare ? "bare" : ""}>
Expand All @@ -67,7 +68,7 @@ class App extends Component {
{ bare ? null : <Nav location={location} /> }
{ this.props.children }
{ fullscreen || bare ? null : <Footer location={location} /> }
{ beta && <div id="Beta">This is a prototype for the new Data USA. Please e-mail <a href="mailto:hello@datausa.io?subject=Prototype%20Feedback">hello@datausa.io</a> with any feedback.</div> }
{ banner }
</div>
);

Expand Down
6 changes: 4 additions & 2 deletions app/cms/profile/ProfileBuilder.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
#tree {
background-color: #efefef;
font-size: 14px;
height: calc(100vh - var(--nav-height) - 34px);
/* height: calc(100vh - var(--nav-height) - var(--banner-height)); */
height: calc(100vh - var(--nav-height));
max-width: 300px;
min-width: 300px;
overflow-y: scroll;
Expand Down Expand Up @@ -48,7 +49,8 @@
background-color: white;
box-sizing: border-box;
flex: 1;
height: calc(100vh - var(--nav-height) - 34px);
/* height: calc(100vh - var(--nav-height) - var(--banner-height)); */
height: calc(100vh - var(--nav-height));
overflow-y: scroll;
padding: 25px;
width: 100%;
Expand Down
3 changes: 2 additions & 1 deletion app/pages/Cart.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#Cart {
background-color: var(--white);
display: flex;
height: calc(100vh - 34px);
/* height: calc(100vh - var(--banner-height)); */
height: 100vh;
padding-top: var(--nav-height);
width: 100%;
& .controls {
Expand Down
9 changes: 6 additions & 3 deletions app/pages/Map.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
#Visualize.Map {
height: calc(100vh - 34px);
/* height: calc(100vh - var(--banner-height)); */
height: 100vh;
overflow: hidden;
& .vizbuilder {
padding-top: 0;
height: calc(100vh - 34px);
/* height: calc(100vh - var(--banner-height)); */
height: 100vh;
& .area-middle {
display: none;
}
& .area-sidebar, & .area-chart {
height: calc(100vh - var(--nav-height) - 34px);
/* height: calc(100vh - var(--nav-height) - var(--banner-height)); */
height: calc(100vh - var(--nav-height));
padding-top: 0;
}
& .area-chart {
Expand Down
6 changes: 4 additions & 2 deletions app/pages/Visualize.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@

.vizbuilder {
background-color: var(--white);
height: calc(100vh - var(--nav-height) - 34px);
/* height: calc(100vh - var(--nav-height) - var(--banner-height)); */
height: calc(100vh - var(--nav-height));
margin-top: var(--nav-height);
& .action-clear {
display: none;
Expand All @@ -52,7 +53,8 @@
}
}
& .area-sidebar {
height: calc(100vh - var(--nav-height) - 34px);
/* height: calc(100vh - var(--nav-height) - var(--banner-height)); */
height: calc(100vh - var(--nav-height));
padding-top: calc(var(--nav-height) + 25px);
position: relative;
width: 300px;
Expand Down
2 changes: 2 additions & 0 deletions app/style.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
nav-height: 40px
subnav-size: 85px
# banner-height: 34px;
banner-height: 0;

red: "#ef6145"
dark: "#141b2e"
Expand Down

0 comments on commit a0ae3a4

Please sign in to comment.