-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Expand file tree
/
Copy pathindex.tsx
More file actions
58 lines (54 loc) · 1.75 KB
/
index.tsx
File metadata and controls
58 lines (54 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
'use client';
import {
ArrowTurnDownLeftIcon,
ArrowDownIcon,
ArrowUpIcon,
} from '@heroicons/react/24/solid';
import OramaLogo from '@node-core/ui-components/Icons/PartnerLogos/Orama/Logo';
import { useTranslations } from 'next-intl';
import styles from './index.module.css';
export const Footer = () => {
const t = useTranslations();
return (
<div className={styles.footer}>
<div className={styles.shortcutWrapper}>
<div className={styles.shortcutItem}>
<kbd className={styles.shortcutKey}>
<ArrowTurnDownLeftIcon />
</kbd>
<span className={styles.shortcutLabel}>
{t('components.search.keyboardShortcuts.select')}
</span>
</div>
<div className={styles.shortcutItem}>
<kbd className={styles.shortcutKey}>
<ArrowDownIcon />
</kbd>
<kbd className={styles.shortcutKey}>
<ArrowUpIcon />
</kbd>
<span className={styles.shortcutLabel}>
{t('components.search.keyboardShortcuts.navigate')}
</span>
</div>
<div className={styles.shortcutItem}>
<kbd className={styles.shortcutKey}>esc</kbd>
<span className={styles.shortcutLabel}>
{t('components.search.keyboardShortcuts.close')}
</span>
</div>
</div>
<div className={styles.poweredByWrapper}>
<a
href="https://www.orama.com/?utm_source=nodejs.org&utm_medium=powered-by"
target="_blank"
rel="noopener noreferrer"
className={styles.poweredByLink}
>
<small>{t('components.search.poweredBy')}</small>
<OramaLogo className={styles.oramaLogo} />
</a>
</div>
</div>
);
};