feeds-fun 1.11.0 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feeds-fun",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "author": "Aliaksei Yaletski (Tiendil) <a.eletsky@gmail.com> (https://tiendil.org/)",
5
5
  "description": "Frontend for the Feeds Fun — web-based news reader",
6
6
  "keywords": [
@@ -66,25 +66,58 @@
66
66
  >
67
67
  </li>
68
68
 
69
- <li>
69
+ <li class="">
70
70
  <a
71
71
  href="/api/docs"
72
72
  target="_blank"
73
73
  class="ffun-header-link"
74
74
  style="text-decoration: none"
75
- >API&#8599;</a
75
+ >API</a
76
76
  >
77
77
  </li>
78
78
 
79
- <li>
79
+ <li v-if="settings.blog">
80
80
  <a
81
- :href="settings.githubRepo"
81
+ :href="settings.blog"
82
82
  target="_blank"
83
83
  class="ffun-header-link"
84
84
  style="text-decoration: none"
85
- >GitHub&#8599;</a
85
+ >Blog</a
86
86
  >
87
87
  </li>
88
+
89
+ <li v-if="settings.redditSubreddit">
90
+ <a
91
+ :href="settings.redditSubreddit"
92
+ target="_blank"
93
+ class="ffun-header-link text-xl align-middle"
94
+ title="Reddit"
95
+ style="text-decoration: none"
96
+ ><i class="ti ti-brand-reddit"></i
97
+ ></a>
98
+ </li>
99
+
100
+ <li v-if="settings.discordInvite">
101
+ <a
102
+ :href="settings.discordInvite"
103
+ target="_blank"
104
+ class="ffun-header-link text-xl align-middle"
105
+ title="Discord"
106
+ style="text-decoration: none"
107
+ ><i class="ti ti-brand-discord"></i
108
+ ></a>
109
+ </li>
110
+
111
+ <li v-if="settings.githubRepo">
112
+ <a
113
+ :href="settings.githubRepo"
114
+ target="_blank"
115
+ class="ffun-header-link text-xl align-middle"
116
+ title="GitHub"
117
+ style="text-decoration: none">
118
+ <i class="ti ti-brand-github"></i
119
+ ></a>
120
+ </li>
88
121
  </ul>
89
122
  </div>
90
123
 
@@ -13,7 +13,10 @@ export const authMode = import.meta.env.VITE_FFUN_AUTH_MODE || AuthMode.SingleUs
13
13
  export const authSupertokensApiBasePath = import.meta.env.VITE_FFUN_AUTH_SUPERTOKENS_API_BASE_PATH || "/supertokens";
14
14
  export const authSupertokensResendAfter = import.meta.env.VITE_FFUN_AUTH_SUPERTOKENS_RESEND_AFTER || 60 * 1000;
15
15
 
16
+ export const blog = import.meta.env.VITE_FFUN_BLOG || "https://blog.feeds.fun";
16
17
  export const githubRepo = import.meta.env.VITE_FFUN_GITHUB_REPO || "https://github.com/Tiendil/feeds.fun";
18
+ export const discordInvite = import.meta.env.VITE_FFUN_DISCORD_INVITE || "https://discord.gg/C5RVusHQXy";
19
+ export const redditSubreddit = import.meta.env.VITE_FFUN_REDDIT_SUBREDDIT || "https://www.reddit.com/r/feedsfun/";
17
20
 
18
21
  export const plausibleEnabled = import.meta.env.VITE_FFUN_PLAUSIBLE_ENABLED == "true" || false;
19
22
  export const plausibleDomain = import.meta.env.VITE_FFUN_PLAUSIBLE_DOMAIN || "localhost";
@@ -29,7 +32,10 @@ console.log("settings.authMode", authMode);
29
32
  console.log("settings.authSupertokensApiBasePath", authSupertokensApiBasePath);
30
33
  console.log("settings.authSupertokensResendAfter", authSupertokensResendAfter);
31
34
 
35
+ console.log("settings.blog", blog);
32
36
  console.log("settings.githubRepo", githubRepo);
37
+ console.log("settings.discordInvite", discordInvite);
38
+ console.log("settings.redditSubreddit", redditSubreddit);
33
39
 
34
40
  console.log("settings.plausibleEnabled", plausibleEnabled);
35
41
  console.log("settings.plausibleDomain", plausibleDomain);
package/src/style.css CHANGED
@@ -1,3 +1,5 @@
1
+ @import url("https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/tabler-icons.min.css");
2
+
1
3
  @tailwind base;
2
4
  @tailwind components;
3
5
  @tailwind utilities;
@@ -51,7 +53,7 @@
51
53
  }
52
54
 
53
55
  .ffun-header-link {
54
- @apply text-blue-600 hover:text-blue-800 cursor-pointer text-lg;
56
+ @apply text-blue-600 hover:text-blue-900 cursor-pointer text-lg;
55
57
  }
56
58
 
57
59
  .ffun-normal-link {