Skip to content

Commit 4e55c3d

Browse files
author
Houssein Djirdeh
authored
Merge pull request #13 from housseindjirdeh/v-1.3.0-updates
chore(*) add languages screen + donate and github star buttons
2 parents 97a2423 + 0a171c6 commit 4e55c3d

File tree

11 files changed

+130
-138
lines changed

11 files changed

+130
-138
lines changed

_includes/donate-button.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<a href="https://opencollective.com/git-point/donate" target="_blank">
2+
<img src="https://opencollective.com/git-point/donate/[email protected]?color=blue" width=300 />
3+
</a>

_includes/github-button-script.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<script async defer src="https://buttons.github.io/buttons.js"></script>

_includes/github-button.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<a class="github-button" href="https://github.com/gitpoint/git-point" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star gitpoint/git-point on GitHub">Star</a>

_includes/github-corner.svg

Lines changed: 0 additions & 7 deletions
This file was deleted.

_includes/header.html

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
<div class="vh-85 dt w-100 bg-header bg-primary flex flex-column items-center justify-center">
1+
<div class="vh-85 dt w-100 bg-header bg-primary flex flex-column items-center justify-center">
2+
<div class="grow mb5 dn db-ns">
3+
{% include donate-button.html %}
4+
</div>
5+
26
<div class="dtc v-mid tc ph3 ph4-l">
37
<div class="link header-logo br-100 pa4 ba bg-dark-gray h4 w4 dib flex items-center justify-center" href="/">
48
<img class="w4" src="/assets/images/logo-white.png" srcset="/assets/images/[email protected] 2x" alt="GitPoint">
@@ -20,9 +24,13 @@ <h1 class="pt3 mb0 f3 f2-m f2-l fw6 tc dark-gray">GitPoint</h1>
2024
{% include icon-play-store.svg %}
2125
</a>
2226
</div>
23-
</div>
2427

25-
<a href="https://github.com/gitpoint/git-point" class="github-corner link" aria-label="View source on GitHub">
26-
{% include github-corner.svg %}
27-
</a>
28+
<div class="grow mt5 db dn-ns">
29+
{% include donate-button.html %}
30+
</div>
31+
32+
<div class="mt4 mt5-ns">
33+
{% include github-button.html %}
34+
</div>
35+
</div>
2836
</div>

_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
{% include footer.html %}
1717

1818
{% include service-worker-register.html %}
19+
{% include github-button-script.html %}
1920

2021
</body>
2122

_layouts/home.html

Lines changed: 111 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
---
2-
layout: default
1+
---
2+
layout: default
33
---
44
<div class="dn db-ns">
55
<div class="flex flex-column justify-center center pv5 karla bg-secondary">
@@ -12,8 +12,8 @@ <h2 class="f3 f2-m f2-l fw5 dark-gray mb2">
1212
</h2>
1313

1414
<p class="f6 f4-ns gray lh-copy mw7 mb5">
15-
View repository and user information, control your notifications and even manage your issues
16-
and pull requests. Built with React Native, GitPoint is the most feature-rich unofficial GitHub client that is 100% free.
15+
View repository and user information, control your notifications and even manage your issues and pull requests. Built with
16+
React Native, GitPoint is the most feature-rich unofficial GitHub client that is 100% free.
1717
</p>
1818
</div>
1919
</div>
@@ -36,8 +36,8 @@ <h2 class="f3 f2-m f2-l fw5 dark-gray mb2">
3636
</h2>
3737

3838
<p class="f6 f4-ns gray lh-copy mw7 mb5">
39-
View repository and user information, control your notifications and even manage your issues and pull requests. Built with React Native, GitPoint
40-
is the most feature-rich unofficial GitHub client that is 100% free.
39+
View repository and user information, control your notifications and even manage your issues and pull requests. Built with
40+
React Native, GitPoint is the most feature-rich unofficial GitHub client that is 100% free.
4141
</p>
4242
</div>
4343
</div>
@@ -69,7 +69,8 @@ <h2 class="f3 f2-m f2-l fw5 dark-gray mb2">
6969

7070
<div class="fl-l">
7171
<div class="flex h-100 items-center justify-center">
72-
<img class="grow mw5" src="/assets/images/notifications-screen.jpg" srcset="/assets/images/[email protected] 2x" alt="GitPoint Notifications Screen">
72+
<img class="grow mw5" src="/assets/images/notifications-screen.jpg" srcset="/assets/images/[email protected] 2x"
73+
alt="GitPoint Notifications Screen">
7374
</div>
7475
</div>
7576

@@ -79,13 +80,14 @@ <h2 class="f3 f2-m f2-l fw5 dark-gray mb2">
7980
<article class="h6-l bt b--black-10 dark-gray lh-copy-ns ph2 ph5-m pv4 pv5-ns karla bg-secondary">
8081
<div class="flex flex-column flex-row-l justify-center center">
8182

82-
<div class="dn db-l">
83-
<div class="flex h-100 items-center">
84-
<img class="grow mw5" src="/assets/images/repo-screen-android.jpg" srcset="/assets/images/[email protected] 2x" alt="GitPoint Repository Screen">
83+
<div class="dn db-l">
84+
<div class="flex h-100 items-center">
85+
<img class="grow mw5" src="/assets/images/repo-screen-android.jpg" srcset="/assets/images/[email protected] 2x"
86+
alt="GitPoint Repository Screen">
87+
</div>
8588
</div>
86-
</div>
8789

88-
<div class="flex h-inherit items-center w-third-l ml7-l tc tl-l">
90+
<div class="flex h-inherit items-center w-third-l ml7-l tc tl-l">
8991
<div class="flex flex-column">
9092
<h2 class="f3 f2-m f2-l fw5 dark-gray mb2">
9193
View any repository or user
@@ -97,106 +99,131 @@ <h2 class="f3 f2-m f2-l fw5 dark-gray mb2">
9799
</div>
98100
</div>
99101

100-
<div class="dn-l">
101-
<div class="flex h-100 items-center justify-center">
102-
<img class="grow mw5" src="/assets/images/repo-screen-android.jpg" srcset="/assets/images/[email protected] 2x" alt="GitPoint Repository Screen">
102+
<div class="dn-l">
103+
<div class="flex h-100 items-center justify-center">
104+
<img class="grow mw5" src="/assets/images/repo-screen-android.jpg" srcset="/assets/images/[email protected] 2x"
105+
alt="GitPoint Repository Screen">
106+
</div>
103107
</div>
104-
</div>
105-
108+
106109
</div>
107110
</article>
108111

112+
<article class="h6-l bt b--black-10 dark-gray lh-copy-ns ph2 ph5-m pv4 pv5-ns karla bg-tertiary">
113+
<div class="flex flex-column flex-row-l justify-center center">
114+
115+
<div class="flex h-inherit items-center w-third-l mr7-l tc tl-l">
116+
<div class="flex flex-column">
117+
<h2 class="f3 f2-m f2-l fw5 dark-gray mb2">
118+
Select from a number of different languages
119+
</h2>
120+
121+
<p class="f6 f4-ns gray lh-copy mw7 mb5">
122+
Complete internationalization support that allows us to continously add various languages
123+
</p>
124+
</div>
125+
</div>
126+
127+
<div class="fl-l">
128+
<div class="flex h-100 items-center justify-center">
129+
<img class="grow mw5" src="/assets/images/languages-screen.jpg" srcset="/assets/images/[email protected] 2x"
130+
alt="GitPoint Languages Screen">
131+
</div>
132+
</div>
133+
134+
</div>
135+
</article>
109136

110137
<div class="flex flex-column items-center justify-center pv5 tc ph4 karla bg-primary">
111138
<h2 class="f3 f2-m f2-l fw5 tc dark-gray mb2">
112139
Manage issues and pull requests
113140
</h2>
114-
141+
115142
<p class="f6 f4-ns gray lh-copy mw7 mb5">
116-
Communicate on issue/pull request conversations, apply labels and assignees, and more.
117-
With GitPoint, you can even review and merge pull requests with a design you're already familiar with.
143+
Communicate on issue/pull request conversations, apply labels and assignees, and more. With GitPoint, you can even review
144+
and merge pull requests with a design you're already familiar with.
118145
</p>
119146

120147
<div class="flex flex-column flex-row-ns items-center justify-center justify-between-ns w-80">
121-
<img class="mw5 mw4-m mb5 mb0-ns grow" src="/assets/images/issue-screen.jpg" srcset="/assets/images/[email protected] 2x" alt="GitPoint Issue Screen">
122-
<img class="mw5 mw4-m mb5 mb0-ns grow" src="/assets/images/pull-request-screen.jpg" srcset="/assets/images/[email protected] 2x" alt="GitPoint Pull Request Screen">
123-
<img class="mw5 mw4-m mb5 mb0-ns grow" src="/assets/images/issue-change-screen.jpg" srcset="/assets/images/[email protected] 2x" alt="GitPoint Issue Change Screen">
148+
<img class="mw5 mw4-m mb5 mb0-ns grow" src="/assets/images/issue-screen.jpg" srcset="/assets/images/[email protected] 2x"
149+
alt="GitPoint Issue Screen">
150+
<img class="mw5 mw4-m mb5 mb0-ns grow" src="/assets/images/pull-request-screen.jpg" srcset="/assets/images/[email protected] 2x"
151+
alt="GitPoint Pull Request Screen">
152+
<img class="mw5 mw4-m mb5 mb0-ns grow" src="/assets/images/issue-change-screen.jpg" srcset="/assets/images/[email protected] 2x"
153+
alt="GitPoint Issue Change Screen">
124154
</div>
125155
</div>
126156

127157
<div class="pv5 ph4 karla bg-tertiary flex justify-center">
128158
<div class="flex flex-column flex-row-l items-center items-start-l tc tl-ns flex-wrap justify-between w-80">
129159

130-
<div class="w-40-l">
131-
<div class="flex flex-column w6 mb4">
132-
<h2 class="f3 fw7 dark-gray mb2">
133-
Another GitHub client?
134-
</h2>
135-
136-
<p class="f5 dark-gray lh-copy mw7">
137-
Every currently available client that I tried to use was either too simple (single-feature),
138-
required payment for the most basic of features (such as commenting on an issue)
139-
and/or didn't have the best UI.
140-
</p>
160+
<div class="w-40-l">
161+
<div class="flex flex-column w6 mb4">
162+
<h2 class="f3 fw7 dark-gray mb2">
163+
Another GitHub client?
164+
</h2>
141165

142-
<p class="f5 dark-gray lh-copy mw7">
143-
I was pretty suprised that I couldn't find a single client that I enjoyed using,
144-
so I built this bad boy with the help of some amazing contributors.
145-
</p>
146-
</div>
166+
<p class="f5 dark-gray lh-copy mw7">
167+
Every currently available client that I tried to use was either too simple (single-feature), required payment for the most
168+
basic of features (such as commenting on an issue) and/or didn't have the best UI.
169+
</p>
170+
171+
<p class="f5 dark-gray lh-copy mw7">
172+
I was pretty suprised that I couldn't find a single client that I enjoyed using, so I built this bad boy with the help of
173+
some amazing contributors.
174+
</p>
175+
</div>
147176

148-
<div class="flex flex-column w6 mb4 mb0-l">
149-
<h2 class="f3 fw7 dark-gray mb2">
177+
<div class="flex flex-column w6 mb4 mb0-l">
178+
<h2 class="f3 fw7 dark-gray mb2">
150179
Can I haz privacy?
151-
</h2>
152-
153-
<p class="f5 dark-gray lh-copy mw7">
154-
When you authenticate your account with GitPoint, your access token is stored in
155-
your device with encryption. It's virtually impossible for us to retrieve that information.
156-
We never view a user's access token or GitHub data whatsoever. It's not possible even if we wanted to.
157-
</p>
180+
</h2>
158181

159-
<p class="f5 dark-gray lh-copy mw7">
160-
If you would like to see more information about this, please head on over to our
161-
<a class="link dark-gray fw7 dim" href="https://gitpoint.co/privacy-policy">privacy policy</a>.
162-
</p>
163-
</div>
182+
<p class="f5 dark-gray lh-copy mw7">
183+
When you authenticate your account with GitPoint, your access token is stored in your device with encryption. It's virtually
184+
impossible for us to retrieve that information. We never view a user's access token or GitHub data whatsoever.
185+
It's not possible even if we wanted to.
186+
</p>
187+
188+
<p class="f5 dark-gray lh-copy mw7">
189+
If you would like to see more information about this, please head on over to our
190+
<a class="link dark-gray fw7 dim" href="https://gitpoint.co/privacy-policy">privacy policy</a>.
191+
</p>
164192
</div>
193+
</div>
165194

166-
<div class="w-40-l">
167-
<div class="flex flex-column w6 mb4">
168-
<h2 class="f3 fw7 dark-gray mb2">
169-
Does this have everything?
170-
</h2>
171-
172-
<p class="f5 dark-gray lh-copy mw7">
173-
Nope! Well, not yet :). There are definitely features that still need to be included and
174-
you may notice a few bugs here and there.
175-
</p>
195+
<div class="w-40-l">
196+
<div class="flex flex-column w6 mb4">
197+
<h2 class="f3 fw7 dark-gray mb2">
198+
Does this have everything?
199+
</h2>
176200

177-
<p class="f5 dark-gray lh-copy mw7">
178-
Please take a look at the <a class="link dark-gray fw7 dim" href="https://github.com/gitpoint/git-point/labels/enhancement">issue list</a>
179-
to see all of the features we plan on adding.
180-
Moreover, don't hesitate to file an issue for a bug or a feature request!
181-
</p>
182-
</div>
201+
<p class="f5 dark-gray lh-copy mw7">
202+
Nope! Well, not yet :). There are definitely features that still need to be included and you may notice a few bugs here and
203+
there.
204+
</p>
183205

184-
<div class="flex flex-column w6">
185-
<h2 class="f3 fw7 dark-gray mb2">
186-
Can I contribute?
187-
</h2>
188-
189-
<p class="f5 dark-gray lh-copy mw7">
190-
Yes please! GitPoint is open source and that's what makes it so great.
191-
Feel free to put up an issue for anything you notice or a pull request to fix an existing one.
192-
Even if you have little to no experience with React Native, we'll be more than happy to help :).
193-
</p>
206+
<p class="f5 dark-gray lh-copy mw7">
207+
Please take a look at the <a class="link dark-gray fw7 dim" href="https://github.com/gitpoint/git-point/labels/enhancement">issue list</a> to see all of the features we plan on adding. Moreover, don't hesitate to file an issue for a bug or a feature
208+
request!
209+
</p>
210+
</div>
194211

195-
<p class="f5 dark-gray lh-copy mw7">
196-
Take a look at the <a class="link dark-gray fw7 dim" href="https://github.com/gitpoint/git-point/blob/master/CONTRIBUTING.md">contributing guidelines</a>
197-
for detailed steps on how you can contribute. We also have an open <a class="link dark-gray fw7 dim" href="https://gitter.im/git-point">gitter channel</a> and we would love to help anyone get started at any time.
198-
</p>
199-
</div>
212+
<div class="flex flex-column w6">
213+
<h2 class="f3 fw7 dark-gray mb2">
214+
Can I contribute?
215+
</h2>
216+
217+
<p class="f5 dark-gray lh-copy mw7">
218+
Yes please! GitPoint is open source and that's what makes it so great. Feel free to put up an issue for anything you notice
219+
or a pull request to fix an existing one. Even if you have little to no experience with React Native, we'll be
220+
more than happy to help :).
221+
</p>
222+
223+
<p class="f5 dark-gray lh-copy mw7">
224+
Take a look at the <a class="link dark-gray fw7 dim" href="https://github.com/gitpoint/git-point/blob/master/CONTRIBUTING.md">contributing guidelines</a> for detailed steps on how you can contribute. We also have an open <a class="link dark-gray fw7 dim" href="https://gitter.im/git-point">gitter channel</a> and we would love to help anyone get started at any time.
225+
</p>
200226
</div>
201227
</div>
202228
</div>
229+
</div>

_sass/extra.scss

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,5 @@
11
@import url('https://fonts.googleapis.com/css?family=Karla:400,700');
22

3-
// Github Corner
4-
.github-corner {
5-
position: absolute;
6-
top: 0;
7-
right: 0;
8-
height: 5rem;
9-
width: 5rem;
10-
fill: white;
11-
12-
&:hover .octo-arm {
13-
animation: octocat-wave 560ms ease-in-out;
14-
}
15-
}
16-
17-
@keyframes octocat-wave {
18-
0%, 100% {
19-
transform: rotate(0);
20-
}
21-
22-
20%,
23-
60% {
24-
transform: rotate(-25deg);
25-
}
26-
27-
40%,
28-
80% {
29-
transform: rotate(10deg);
30-
}
31-
}
32-
33-
34-
@media (max-width: 500px) {
35-
.github-corner {
36-
&:hover .octo-arm {
37-
animation: none;
38-
}
39-
.octo-arm {
40-
animation: octocat-wave 560ms ease-in-out;
41-
}
42-
}
43-
}
44-
453
.header-logo {
464
box-shadow: 0 8px 16px 0 rgba(83,88,120,.2);
475
animation: bounce 2.5s infinite alternate;

assets/images/languages-screen.jpg

122 KB
Loading

assets/images/[email protected]

207 KB
Loading

0 commit comments

Comments
 (0)