-
Notifications
You must be signed in to change notification settings - Fork 193
Expand file tree
/
Copy pathPureFooter.tsx
More file actions
48 lines (44 loc) · 1.37 KB
/
PureFooter.tsx
File metadata and controls
48 lines (44 loc) · 1.37 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
import { useState, useEffect } from "preact/hooks"
import { aboutList, mediaList, resourceList } from "../helper.tsx"
import styles from "./PureFooter.module.css"
const Footer = () => {
return (
<div className={styles.footerLayout}>
<a className={styles.logo} href="/">
<img src="/scroll-white.svg" style={{ width: "80px" }} />
</a>
<div className={styles.about}>
<p className={styles.title}>About Scroll</p>
<ul>
{aboutList.map((item) => (
<li key={item.name} className={styles.content}>
<a href={item.href}>{item.name}</a>
</li>
))}
</ul>
</div>
<div className={styles.resource}>
<p className={styles.title}>Resources</p>
<ul>
{resourceList.map((item) => (
<li key={item.name} className={styles.content}>
<a href={item.href}>{item.name}</a>
</li>
))}
</ul>
</div>
<div className={styles.follow}>
<p className={styles.title}>Follow Us</p>
<div>
{mediaList.map((item) => (
<a external href={item.href} key={item.name} target="_blank">
{<item.icon />}
</a>
))}
</div>
</div>
<p className={styles.version}>© Version 1.0.0 Scroll Ltd 2023</p>
</div>
)
}
export default Footer