Skip to content

Commit 7e17849

Browse files
committed
Update logo and theme
1 parent e5905f1 commit 7e17849

File tree

9 files changed

+203
-12
lines changed

9 files changed

+203
-12
lines changed

src/docs/assets/banner.png

2.21 KB
Loading

src/docs/assets/logo.png

18 KB
Loading

src/docs/assets/logo.svg

Lines changed: 183 additions & 0 deletions
Loading

src/docs/assets/logo_white.png

-4.87 KB
Binary file not shown.

src/docs/components/LibHeader.js

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@ import styled from "styled-components";
44
export const LibHeader = () => (
55
<Container>
66
<ImgContainer>
7-
<img src={logo} />{" "}
7+
<img src={logo} style={{ height: "100px", width: "100px" }} />{" "}
88
</ImgContainer>
99
<HeaderText>
1010
<PrimaryHeader>GRelDAL</PrimaryHeader>{" "}
1111
<SecondaryHeader>
12-
<SecondaryHeader.Section>(<strong>G</strong>raphQL ⇋ <strong>Rel</strong>ational DB)</SecondaryHeader.Section><SecondaryHeader.Section> <strong>D</strong>ata <strong>A</strong>
13-
ccess <strong>L</strong>ayer</SecondaryHeader.Section>
12+
<SecondaryHeader.Section>
13+
(<strong>G</strong>raphQL ⇋ <strong>Rel</strong>ational DB)
14+
</SecondaryHeader.Section>
15+
<SecondaryHeader.Section>
16+
{" "}
17+
<strong>D</strong>ata <strong>A</strong>
18+
ccess <strong>L</strong>ayer
19+
</SecondaryHeader.Section>
1420
</SecondaryHeader>
1521
</HeaderText>
1622
</Container>
@@ -34,7 +40,7 @@ const HeaderText = styled.div`
3440

3541
const PrimaryHeader = styled.h1`
3642
line-height: 25px;
37-
color: #e535ab;
43+
color: #8dd35f;
3844
font-size: 2.5rem;
3945
margin: 0 5px 0 0 !important;
4046
`;
@@ -57,7 +63,7 @@ SecondaryHeader.Section = styled.span`
5763
text-align: center;
5864
line-height: 2.5rem;
5965
}
60-
`
66+
`;
6167

6268
const Container = styled.div`
6369
@media only screen and (max-width: 1000px) {

src/docs/components/LibInfoBanner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function LibInfoBanner() {
2121
fontSize: "2rem",
2222
lineHeight: "50px",
2323
paddingLeft: "10px",
24-
color: "#e535ab",
24+
color: "#8dd35f",
2525
}}
2626
>
2727
GRelDAL

src/docs/components/Sidebar.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,11 @@ export const FixedSidebarContainer = styled(SidebarContainer)`
6262
6363
border-right: 1px solid #bbb;
6464
box-shadow: 0 0 20px #ccc;
65+
border-top: 4px solid #8dd35f;
6566
`;
6667

6768
export const SectionHeader = styled.h1`
68-
background: #ddd;
69+
background: #dee9d8;
6970
padding: 5px 10px;
7071
text-transform: uppercase;
7172
border-radius: 4px;

src/docs/pages/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The project is hosted on [GitHub](https://github.com/gql-dal/greldal), and has a
1212

1313
GRelDAL is available for use under the [MIT software license](https://github.com/gql-dal/greldal/blob/master/LICENSE).
1414

15-
You can report bugs on the [GitHub issues page](https://github.com/gql-dal/greldal/issues). We also have a [Spectrum community](https://spectrum.chat/greldal) for general discussion.
15+
You can report bugs on the [GitHub issues page](https://github.com/gql-dal/greldal/issues).
1616

1717
# Motive / Goals
1818

@@ -65,10 +65,10 @@ To get started you can `git clone https://github.com/gql-dal/greldal-starter.git
6565
Using GRelDAL involves two steps:
6666

6767
1. Configuring a Knex instance
68-
1. Defining data sources mappers
69-
2. Defining operations on these data sources
70-
3. Generating a GraphQL Schema from these operations
71-
4. Exposing this schema through a HTTP Server
68+
2. Defining data sources mappers
69+
3. Defining operations on these data sources
70+
4. Generating a GraphQL Schema from these operations
71+
5. Exposing this schema through a HTTP Server
7272

7373
### Configuring a Knex instance
7474

src/docs/styles/page.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ body {
33
line-height: 22px;
44
background: #fefffc;
55
font-family: Helvetica Neue, Helvetica, Arial;
6+
border-top: 4px solid #8dd35f;
67
}

0 commit comments

Comments
 (0)