Skip to content

Commit

Permalink
chore: remove cache for now (#5)
Browse files Browse the repository at this point in the history
* chore: remove cache for now

* remove from template.html
  • Loading branch information
rafaelbmateus authored Aug 11, 2022
1 parent d7932ac commit 4b4b379
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 107 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ will also be indexed by the google search engine. 🚀
- [x] Count of public repos
- [x] Account created at
- [x] List of repos with the tag
- [x] Progressive Web App (PWA)
- [ ] Progressive Web App (PWA)
- [x] SEO's meta tags
- [x] Deploy using gh-pages
- [x] Responsive for mobile
Expand Down
7 changes: 0 additions & 7 deletions builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,4 @@
with open('index.html', 'w') as f:
f.write(result)

with open('builder/manifest-template.json', 'r') as f:
src = Template(f.read())
result = src.substitute(d)

with open('manifest.json', 'w') as f:
f.write(result)

print("profile was generated successfully")
43 changes: 0 additions & 43 deletions builder/manifest-template.json

This file was deleted.

2 changes: 0 additions & 2 deletions builder/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<link id="favicon" rel="profile icon" type="image/png" href="$avatar_url">
<meta name="apple-mobile-web-app-status-bar" content="#aa7700">
<meta name="theme-color" content="black">
<link rel="manifest" href="manifest.json">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
</head>
Expand Down Expand Up @@ -81,7 +80,6 @@ <h2 id="repos-title" class="pt-10 pl-10 text-4xl text-gray-600 dark:text-white"
<script>
const username = "$username";
document.querySelector('meta[property="og:url"]').setAttribute("content", window.location.href);
if (navigator.serviceWorker) { navigator.serviceWorker.register( '/me/serviceworker.js', {scope: '/me/'}) }
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="assets/js/typing.js"></script>
Expand Down
54 changes: 0 additions & 54 deletions serviceworker.js

This file was deleted.

0 comments on commit 4b4b379

Please sign in to comment.