tangled
alpha
login
or
join now
socksthewolf.com
/
skyscheduler
2
fork
atom
Schedule posts to Bluesky with Cloudflare workers.
skyscheduler.work
cf
tool
bsky-tool
cloudflare
bluesky
schedule
bsky
service
social-media
cloudflare-workers
2
fork
atom
overview
issues
pulls
pipelines
more accessibility
SocksTheWolf
1 week ago
3f1c2398
9a9027bb
+7
-4
2 changed files
expand all
collapse all
unified
split
src
layout
helpers
footer.tsx
pages
dashboard.tsx
+5
-3
src/layout/helpers/footer.tsx
···
7
7
showHomepage?: boolean;
8
8
showProgressBar?: boolean;
9
9
showVersion?: boolean;
10
10
+
removeExcessTab?: boolean;
10
11
}
11
12
12
13
export default function FooterCopyright(props: FooterCopyrightProps) {
13
14
const newWinAttr = props.inNewWindow ? {"target": '_blank'} : {};
14
14
-
const projectURL = (<a class="secondary" target="_blank" title="Project source repository"
15
15
+
const projectURL = (<a class="secondary" tabindex={props.removeExcessTab ? -1 : 0} target="_blank" title="Project source repository"
15
16
href={APP_REPO}>{APP_NAME}</a>);
16
17
const homepageURL = (<a class="secondary" title="Homepage" href="/">{APP_NAME}</a>);
17
18
const progressBarTooltip = `$${PROGRESS_MADE}/$${PROGRESS_TOTAL} for this month`;
···
21
22
<progress value={PROGRESS_MADE} max={PROGRESS_TOTAL} /></div> : null}
22
23
{props.showHomepage ? homepageURL : projectURL} © {new Date().getFullYear()}
23
24
<span class="credits">
24
24
-
<a rel="author" target="_blank" title="Project author" href={PROJECT_AUTHOR_SITE}>{PROJECT_AUTHOR}</a><br />
25
25
+
<a rel="author" target="_blank" title="Project author" tabindex={props.removeExcessTab ? -1 : 0}
26
26
+
href={PROJECT_AUTHOR_SITE}>{PROJECT_AUTHOR}</a><br />
25
27
<small>
26
26
-
<a class="secondary" target="_blank"
28
28
+
<a class="secondary" target="_blank" tabindex={props.removeExcessTab ? -1 : 0}
27
29
data-tooltip="Tips are not required, the service is free, but if you like this service they are appreciated <3"
28
30
title="Tip the dev" href="/tip">Tip</a> -
29
31
<a class="secondary" {...newWinAttr} href="/tos" title="Terms of Service">Terms</a> -
+2
-1
src/pages/dashboard.tsx
···
62
62
<footer>
63
63
<LogoutButton />
64
64
<hr />
65
65
-
<FooterCopyright inNewWindow={true} showHomepage={true} showProgressBar={SHOW_SUPPORT_PROGRESS_BAR} showVersion={true} />
65
65
+
<FooterCopyright inNewWindow={true} showHomepage={true} showProgressBar={SHOW_SUPPORT_PROGRESS_BAR}
66
66
+
showVersion={true} removeExcessTab={true} />
66
67
</footer>
67
68
</article>
68
69
</section>