Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Commit 3a9f57e

Browse files
committed
Updates for faster loading time, fixed bugs, and finished repo all tab
1 parent d7a8026 commit 3a9f57e

3 files changed

Lines changed: 5 additions & 15 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Do you want to showcase a github repository or profile on your website? Instead
55
Simply set the html **data** field with a GitHub profile, repository, or repositories tab url...
66
```html
77
<script src="d29mk5socxaj4o.cloudfront.net/GitHubPinner.js"></script>
8-
<div id="github-pinner" data="https://github.com/mackboudreau/CustomSegmentedController"></div>
8+
<div data="https://github.com/mackboudreau?tab=repositories" class="github-pinner" style="visibility: hidden;"></div>
99
```
1010

1111
## Preview
@@ -16,4 +16,4 @@ Simply set the html **data** field with a GitHub profile, repository, or reposit
1616
* Implement functionality for a "All Repos" element
1717
* ~~Use AWS Cloudfront to serve files to reduce latency on sites~~
1818
* Add additional option styles for tiles
19-
* Expanding width "All-repo" section
19+
* Expanding width "All-repo" section

css/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,15 +238,15 @@ body {
238238
font-size: 14px;
239239
width: 100%;
240240
margin-bottom: 8px;
241-
background-image: url("/Users/mack/Desktop/search.svg");
241+
background-image: url("https://d29mk5socxaj4o.cloudfront.net/imgs/search.svg");
242242
background-size: 16px 16px;
243243
background-repeat: no-repeat;
244244
background-position: 12px center;
245245
background-blend-mode: red;
246246
}
247247

248248
.github-pinner .gp-search:focus {
249-
background-image: url("/Users/mack/Desktop/search2.svg");
249+
background-image: url("https://d29mk5socxaj4o.cloudfront.net/imgs/search-highlight.svg");
250250
border-color: #3B9CEA;
251251
}
252252

demo.html

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@
66
</head>
77
<body>
88
<script src="GitHubPinner.js"></script>
9-
<!-- <div data="https://github.com/mackboudreau/CustomSegmentedController" class="github-pinner gp-repo" style="visibility: hidden;"></div>
10-
<div data="https://github.com/mackboudreau/DalhousieScheduleBuilder" class="github-pinner" style="visibility: hidden;"></div>
11-
<div data="https://github.com/mackboudreau/DalhousieScheduleBuilder" class="github-pinner" style="visibility: hidden;"></div>
12-
<div data="https://github.com/mackboudreau/DalhousieScheduleBuilder" class="github-pinner" style="visibility: hidden;"></div>
13-
<div data="https://github.com/mackboudreau/DalhousieScheduleBuilder" class="github-pinner" style="visibility: hidden;"></div> -->
14-
<div data="https://github.com/mackboudreau?tab=repositories" class="github-pinner" style="visibility: hidden;">
15-
<input type="text" placeholder="Search for project..." class="gp-search"></input>
16-
17-
18-
</div>
19-
9+
<div data="https://github.com/mackboudreau?tab=repositories" class="github-pinner" style="visibility: hidden;"></div>
2010
</body>
2111
</html>

0 commit comments

Comments
 (0)