Skip to content

Commit e7577d3

Browse files
committed
update footer
1 parent 3d59b25 commit e7577d3

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

apps/website/src/components/Footer/Footer.css.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ export const info = style([
3838
},
3939
]);
4040

41+
export const onlyDesktopLink = style(
42+
responsiveStyle({
43+
mobile: {
44+
display: 'none',
45+
},
46+
desktop: {
47+
display: 'inline-flex',
48+
},
49+
}),
50+
);
51+
4152
export const link = style({
4253
color: themeVars.dynamicColors.descriptionTextColor,
4354

apps/website/src/components/Footer/Footer.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import {HStack, Link, Text} from '@codeimage/ui';
2+
import {onlyDesktopLink} from '~/components/Footer/Footer.css';
23
import * as styles from '~/components/Footer/Footer.css';
34

45
export default function Footer() {
@@ -20,6 +21,15 @@ export default function Footer() {
2021
</div>
2122

2223
<HStack spacing={'8'}>
24+
<Link
25+
class={`${styles.link} ${styles.onlyDesktopLink}`}
26+
underline={true}
27+
href={
28+
'https://github.com/riccardoperra/better-comments-for-github'
29+
}
30+
title="Better Comments for GitHub"
31+
children={'GitHub'}
32+
/>
2333
<Link
2434
class={styles.link}
2535
underline={true}

0 commit comments

Comments
 (0)