Skip to content

Commit

Permalink
Merge pull request pomber#122 from pomber/landing-v2
Browse files Browse the repository at this point in the history
New Landing
  • Loading branch information
pomber authored Mar 18, 2019
2 parents 1ea6bd4 + 62c4974 commit 6c8ab5c
Show file tree
Hide file tree
Showing 10 changed files with 611 additions and 56 deletions.
12 changes: 11 additions & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,17 @@ export default function App() {
if (gitProvider.showLanding()) {
return <Landing />;
} else {
return <InnerApp gitProvider={gitProvider} />;
return (
<React.Fragment>
<InnerApp gitProvider={gitProvider} />
{/* <footer>
<a href="https://github.com/pomber/git-history">Git History</a>
<br />
by
<a href="https://twitter.com/pomber">@pomber</a>
</footer> */}
</React.Fragment>
);
}
}

Expand Down
6 changes: 6 additions & 0 deletions src/git-providers/differ.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,11 @@ export function getChanges(lines) {
i++;
}

if (currentChange) {
currentChange.end = i - 1;
changes.push(currentChange);
currentChange = null;
}

return changes;
}
19 changes: 19 additions & 0 deletions src/icons/chrome.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/icons/cli.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6c8ab5c

Please sign in to comment.