Skip to content

Commit

Permalink
feat(styling): issues/6 refresh for brand logos, styling (#27)
Browse files Browse the repository at this point in the history
* rename, image updates towards product discovery
* scss directory generic rename
  • Loading branch information
cdcabrera committed Mar 28, 2019
1 parent c9d5f21 commit e2bb2fc
Show file tree
Hide file tree
Showing 24 changed files with 229 additions and 211 deletions.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="theme-color" content="#000000">
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<title>Entitlements Reporting</title>
<title>product discovery</title>
</head>
<body class="cards-pf">
<noscript>
Expand Down
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "Entitlements",
"name": "Entitlements Reporting",
"short_name": "product discovery",
"name": "product discovery",
"icons": [
{
"src": "favicon.ico",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`AboutModal Component should contain brand: brand 1`] = `
onHide={[Function]}
productTitle={
<img
alt="Red Hat Entitlements Reporting"
alt="Red Hat product discovery"
src="title-brand.svg"
/>
}
Expand Down Expand Up @@ -56,7 +56,7 @@ exports[`AboutModal Component should render a non-connected component: hidden mo
onHide={[Function]}
productTitle={
<img
alt="Entitlements Reporting"
alt="product discovery"
src="title.svg"
/>
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/aboutModal/aboutModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ class AboutModal extends React.Component {

const props = {
logo: logoImg,
productTitle: <img src={titleImg} alt="Entitlements Reporting" />,
productTitle: <img src={titleImg} alt="product discovery" />,
altLogo: 'ER'
};

if (brand) {
props.logo = logoImgBrand;
props.productTitle = <img src={titleImgBrand} alt="Red Hat Entitlements Reporting" />;
props.productTitle = <img src={titleImgBrand} alt="Red Hat product discovery" />;
props.altLogo = 'RH ER';
props.trademarkText = 'Copyright (c) 2019 Red Hat Inc.';
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ exports[`CredentialsEmptyState Component should render a basic component 1`] = `
<h4
class="h1 blank-slate-pf-title"
>
Welcome to Entitlements Reporting
Welcome to discovery
</h4>
<p
class="blank-slate-pf-info"
>
Credentials contain authentication information needed to scan a source. A credential includes
<br />
a username and a password or SSH key. Entitlements Reporting uses SSH to connect to servers
a username and a password or SSH key. Discovery uses SSH to connect to servers
<br />
on the network and uses credentials to access those servers.
</p>
Expand Down
6 changes: 3 additions & 3 deletions src/components/credentials/credentialsEmptyState.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ const CredentialsEmptyState = ({ onAddCredential, onAddSource }) => (
<Row>
<EmptyState className="full-page-blank-slate">
<EmptyState.Icon />
<EmptyState.Title>Welcome to {helpers.RH_BRAND && 'Red Hat'} Entitlements Reporting</EmptyState.Title>
<EmptyState.Title>Welcome to {helpers.RH_BRAND && 'Red Hat '}discovery</EmptyState.Title>
<EmptyState.Info>
Credentials contain authentication information needed to scan a source. A credential includes <br />a username
and a password or SSH key. Entitlements Reporting uses SSH to connect to servers <br /> on the network and
uses credentials to access those servers.
and a password or SSH key. Discovery uses SSH to connect to servers <br /> on the network and uses credentials
to access those servers.
</EmptyState.Info>
<EmptyState.Action>
<DropdownButton bsStyle="primary" bsSize="large" title="Add Credential" pullRight id="createCredentialButton">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ exports[`Sources Component should render a non-connected component with empty st
<h4
class="h1 blank-slate-pf-title"
>
Welcome to Entitlements Reporting
Welcome to discovery
</h4>
<p
class="blank-slate-pf-info"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ exports[`SourcesEmptyState Component should render a basic component 1`] = `
<h4
class="h1 blank-slate-pf-title"
>
Welcome to Entitlements Reporting
Welcome to discovery
</h4>
<p
class="blank-slate-pf-info"
Expand Down
2 changes: 1 addition & 1 deletion src/components/sources/sourcesEmptyState.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const SourcesEmptyState = ({ onAddSource }) => (
<Row>
<EmptyState className="full-page-blank-slate">
<EmptyState.Icon />
<EmptyState.Title>Welcome to {helpers.RH_BRAND && 'Red Hat'} Entitlements Reporting</EmptyState.Title>
<EmptyState.Title>Welcome to {helpers.RH_BRAND && 'Red Hat '}discovery</EmptyState.Title>
<EmptyState.Info>
Begin by adding one or more sources. A source contains a collection of network information, <br />
including systems management solution information, IP addresses, or host names, in addition to <br />
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
background: transparent;
color: $color-pf-white;
}

#brand.login-title img {
width: 38%;
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
}

.navbar-pf-vertical .navbar-brand .navbar-brand-name {
height: 11px;
margin-top: 13px;
height: 26px;
margin-top: 6px;
}

.list-view-pf-top-align {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit e2bb2fc

Please sign in to comment.