Skip to content

Commit

Permalink
Merge pull request #2 from PaiJi/update-readme
Browse files Browse the repository at this point in the history
feat: update README.md and add track
  • Loading branch information
PaiJi authored May 19, 2024
2 parents 8cb6c20 + 2b2d885 commit 437f19f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Newswire-themes-collection

## Motivation

The sole purpose of me creating this page is to make it easier for
people (mainly me) to install and try out different themes without
having to manually download the theme and place it in the themes folder.
Expand All @@ -12,6 +10,12 @@ This is a fan project and not affiliated with <b>netnewswire</b> in any way.

All themes have been searched from the Internet, and we list their authors and original source, Some themes have to be zipped for supporting one-click download function.

## Contribution

- Edit `src/assets/themes.json`, add a theme info.
- Open a PR.
- 🎉

## 🧞 Commands

All commands are run from the root of the project, from a terminal:
Expand Down
6 changes: 5 additions & 1 deletion src/components/Theme.astro
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ const buttonCls =
class="text-slate-700 flex items-center hover:underline text-sm"
href={author.url}><AiFillHome className="mr-1" />{author.name}</a
>
<img alt="GitHub Repo stars" src={starBadgeUrl} />
<a
class="text-slate-700 flex items-center hover:underline text-sm"
href={repo}
><img alt="GitHub Repo stars" src={starBadgeUrl} /></a
>
</div>

<p class="mt-4">
Expand Down
15 changes: 15 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,21 @@ import Header from "./Header";
<Header />
<slot />
<Footer />
<script
defer
src="https://umami.abo.network/script.js"
data-website-id="ff2faf40-71ed-43e7-84ed-ef8e0295201e"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GPL8LNKD63"
></script>
<script is:inline>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "G-GPL8LNKD63");
</script>
</body>
</html>
<style is:global>
Expand Down

0 comments on commit 437f19f

Please sign in to comment.