-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathindex.jsx
More file actions
85 lines (76 loc) · 3.74 KB
/
index.jsx
File metadata and controls
85 lines (76 loc) · 3.74 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import classNames from 'classnames';
import React from 'react';
import { Link } from "react-router-dom";
const socials = [
{
name: "Github",
svgPath: "M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z",
viewBox: "0 0 24 24",
link: "https://github.com/bsoc-bitbyte/resource-sharing"
},
{
name: "LinkedIn",
svgPath: "M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z",
viewBox: "-80 -50 900 900",
link: "https://www.linkedin.com/company/bitbyte-tpc/",
},
]
const Footer = () => {
let borderColor = "#87CEFA";
let centerColor = "#B9D9EB";
return (
<footer
className={`w-screen min-h-[50vh] py-14 flex flex-col items-center justify-center gap-6 dark:bg-[#44403C] dark:text-white bg-[#B9D9EB]`}
>
<div className="relative h-fit w-screen flex flex-col items-center justify-center">
<div className={classNames({
'w-1/4 h-fit p-2': true,
'flex items-center justify-center': true,
'monu font-bold text-xl text-[#37474f]': true,
'dark:text-white': true,
'mobile:text-lg': true,
})}>
<Link to='/'>UniShare</Link>
</div>
<div className="w-[95vw] sm:w-[35rem] mt-4 dark:bg-[#44403C] dark:text-white">
<p className="comfort text-center text-gray-800 font-bold mobile:text-sm dark:bg-[#44403C] dark:text-white">
Unishare is a college resource sharing website designed to serve as a dynamic platform for students to collaborate and share resources. Unishare aims to foster an environment where students can easily access and exchange a wide range of educational materials, such as lecture notes, study guides, past exam papers, and more.
</p>
<div className="mt-6 pl-5 w-full flex items-center justify-center gap-4 scale-[0.75]">
{socials.map((social, index) => {
return (
<a
key={index}
className={classNames({
"bg-gray-900 px-4 py-1 rounded-[5rem]": true,
"flex items-center justify-center gap-0": true,
"text-gray-900 transition hover:text-gray-700": true,
})}
href={social.link}
target="_blank"
rel="noreferrer"
>
<svg
className="h-12 w-12 translate-y-[0.4rem] translate-x-1"
fill="currentColor"
viewBox={social.viewBox}
aria-hidden="true"
>
<path
fillRule="evenodd"
d={social.svgPath}
clipRule="evenodd"
fill="#ffffff"
/>
</svg>
<span className="text-[#E2E8F0] font-bold -translate-x-1">{social.name}</span>
</a>
)
})}
</div>
</div>
</div>
</footer>
);
}
export default Footer;