Skip to content

Commit 17703eb

Browse files
committed
smallfixes/#127 A few fixes
1 parent b44b2b6 commit 17703eb

File tree

7 files changed

+22
-31
lines changed

7 files changed

+22
-31
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
APP_VERSION=8.2.57
1+
APP_VERSION=8.2.58
22
PAYPAL_URL=https://www.paypal.me/ArtemSolovev
33
OPENCOLLECTIVE_URL=https://opencollective.com/artem-solovev

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"short_name": "__MSG_shortName__",
66
"author": "__MSG_author__",
77
"description": "__MSG_description__",
8-
"version": "8.2.57",
8+
"version": "8.2.58",
99
"browser_action": {
1010
"default_icon": "img/icon128.png",
1111
"default_popup": "index.html",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gloc",
3-
"version": "8.2.57",
3+
"version": "8.2.58",
44
"description": "Browser extension - counts locs on GitHub pages",
55
"authors": [
66
"Artem Vadimovich Solovev <artem.solovev.lse@gmail.com> (https://github.com/artem-solovev)"

src/modules/Popup/components/Header/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@ export default class PopupPage extends React.PureComponent {
3232
variant={'h5'}
3333
>
3434
{github}
35-
</Typography>
36-
37-
<Typography
38-
variant={'h5'}
39-
>
35+
&nbsp;
4036
{gloc}
4137
</Typography>
4238

src/modules/Popup/components/_Footer/Footer.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
/* eslint-disable */
2+
13
import * as React from 'react';
2-
// import Iframe from 'react-iframe';
4+
import Iframe from 'react-iframe';
35

46
import { colors } from '../../../../theme/colors';
57
import {
@@ -27,11 +29,10 @@ export default class Footer extends React.PureComponent {
2729
<Column>
2830
<Row>
2931
<Center>
30-
{/* <Iframe
32+
<Iframe
3133
src='https://ghbtns.com/github-btn.html?user=artem-solovev&repo=gloc&type=star&count=true'
32-
url=''
3334
{...decorationProps.githubFrame}
34-
/> */}
35+
/>
3536
</Center>
3637
</Row>
3738

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
import { IIframe } from 'react-iframe/types';
2+
13
export const decorationProps = {
24
githubFrame: {
3-
scrolling: 0,
5+
scrolling: 'no',
46
width: '84px',
57
height: '19px',
68
align: 'middle',
7-
},
9+
url: 'https://ghbtns.com/github-btn.html?user=artem-solovev&repo=gloc&type=star&count=true',
10+
} as IIframe,
811
};

src/modules/Popup/index.tsx

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,17 @@
11
import * as React from 'react';
22

3-
import Grid from '@material-ui/core/Grid';
3+
import { Header } from './components/_Header/index';
4+
import { Footer } from './components/_Footer/index';
5+
import { Body } from './components/_Body/index';
46

57
export default class PopupPage extends React.PureComponent {
68
render() {
79
return (
8-
<Grid
9-
container
10-
direction="column"
11-
>
12-
<Grid item>
13-
header
14-
</Grid>
15-
16-
<Grid item>
17-
header
18-
</Grid>
19-
20-
<Grid item>
21-
header
22-
</Grid>
23-
</Grid>
10+
<React.Fragment>
11+
<Header />
12+
<Body />
13+
<Footer />
14+
</React.Fragment>
2415
);
2516
}
2617
}

0 commit comments

Comments
 (0)