Skip to content

Commit 1b502e9

Browse files
committed
feat: remind people to star repo
1 parent 6c8e875 commit 1b502e9

File tree

2 files changed

+52
-2
lines changed

2 files changed

+52
-2
lines changed

src/App.tsx

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ import {
55
CalendarIcon,
66
EyeIcon,
77
EyeOffIcon,
8+
GithubIcon,
89
LockIcon,
10+
StarIcon,
911
UnLockIcon,
1012
} from 'app/FeatherIcons'
1113
import { Footer } from 'app/Footer'
@@ -181,6 +183,15 @@ export const App = () => {
181183
{updatedName}: {updatedDay}
182184
</h1>
183185
<div className="actions">
186+
<a
187+
className={formStyles.Button}
188+
href={import.meta.env.PUBLIC_HOMEPAGE}
189+
rel="noopener noreferrer"
190+
target="_blank"
191+
title={'Contribute to this project on GitHub'}
192+
>
193+
<GithubIcon />
194+
</a>
184195
<button
185196
className={formStyles.Button}
186197
title="Export as calendar (.ics)"
@@ -217,13 +228,24 @@ export const App = () => {
217228
<h2>Tips</h2>
218229
<p>
219230
Schedules change! Share the URL to your <em>localschedule</em> using{' '}
220-
<a href="https://short.io/" rel="noreferrer noopener">
231+
<a
232+
href="https://short.io/"
233+
rel="noreferrer noopener"
234+
target="_blank"
235+
>
221236
short.io
222237
</a>{' '}
223238
which allows edits to the URL it redirects to.
224239
</p>
225240
<p>
226-
<a href="https://www.notion.so/">Notion</a> user? Use{' '}
241+
<a
242+
href="https://www.notion.so/"
243+
rel="noopener noreferrer"
244+
target="_blank"
245+
>
246+
Notion
247+
</a>{' '}
248+
user? Use{' '}
227249
<a
228250
href={`${
229251
new URL(document.location.href).origin
@@ -233,6 +255,30 @@ export const App = () => {
233255
</a>{' '}
234256
to embed it on any page.
235257
</p>
258+
<h2>
259+
Like <em>localschedule</em>?
260+
</h2>
261+
<p>
262+
Please{' '}
263+
<a
264+
href={import.meta.env.PUBLIC_HOMEPAGE}
265+
rel="noopener noreferrer"
266+
target="_blank"
267+
title={'Contribute to this project on GitHub'}
268+
>
269+
<StarIcon />
270+
</a>{' '}
271+
it in on{' '}
272+
<a
273+
href={import.meta.env.PUBLIC_HOMEPAGE}
274+
rel="noopener noreferrer"
275+
target="_blank"
276+
title={'Contribute to this project on GitHub'}
277+
>
278+
GitHub
279+
</a>
280+
!
281+
</p>
236282
</div>
237283
</main>
238284
<Footer />

src/FeatherIcons.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,3 +367,7 @@ export const GithubIcon = (options?: TypedIconOptions) => (
367367
export const CalendarIcon = (options?: TypedIconOptions) => (
368368
<FeatherIcon {...options} type="calendar" title="Export as calendar (.ics)" />
369369
)
370+
371+
export const StarIcon = (options?: TypedIconOptions) => (
372+
<FeatherIcon {...options} type="star" title="⭐" />
373+
)

0 commit comments

Comments
 (0)