|
1 |
| -import React from 'react'; |
2 |
| -import Image from 'next/image'; |
| 1 | +import React from "react"; |
| 2 | +import Image from "next/image"; |
| 3 | +import Link from "next/link"; |
3 | 4 |
|
4 | 5 | const ExternalLink = ({ href, children }) => (
|
5 |
| - <a href={href} target="_blank" rel="noopener noreferrer" className="external-link"> |
6 |
| - <span className="external-link-text">{children}</span> |
7 |
| - <Image src="/docs/external-link.svg" alt="External Link" width={16} height={17} /> |
8 |
| - </a> |
| 6 | + <Link |
| 7 | + href={href} |
| 8 | + target="_blank" |
| 9 | + rel="noopener noreferrer" |
| 10 | + className="external-link" |
| 11 | + > |
| 12 | + <span className="external-link-text">{children}</span> |
| 13 | + <Image |
| 14 | + src="/docs/external-link.svg" |
| 15 | + alt="External Link" |
| 16 | + width={16} |
| 17 | + height={17} |
| 18 | + /> |
| 19 | + </Link> |
9 | 20 | );
|
10 | 21 |
|
11 | 22 | const Footer = () => (
|
12 |
| - <footer className="footer-container"> |
13 |
| - <div className="footer-logo"> |
14 |
| - <img src="/docs/memgraph-logo-footer.svg" alt="Memgraph Logo" width="162" height="55" /> |
15 |
| - </div> |
16 |
| - <div className="footer-column"> |
17 |
| - <ul className="column-text"> |
18 |
| - <li><span className="column-title">Documentation</span ></li> |
19 |
| - <li><a href="/docs/getting-started">Get started</a></li> |
20 |
| - <li><a href="/docs/data-migration">Migrate data</a></li> |
21 |
| - <li><a href="/docs/querying">Query data</a></li> |
22 |
| - <li><a href="/docs/custom-query-modules">Create an app</a></li> |
23 |
| - <li><a href="/docs/data-visualization">Visualize data</a></li> |
24 |
| - <li><a href="/docs/advanced-algorithms">Use advanced algorithms</a></li> |
25 |
| - </ul> |
26 |
| - </div> |
27 |
| - <div className="footer-column"> |
28 |
| - <ul className="column-text"> |
29 |
| - <li><span className="column-title">Community</span ></li> |
30 |
| - <li><ExternalLink href="https://discord.gg/memgraph">Discord</ExternalLink></li> |
31 |
| - <li><ExternalLink href="https://stackoverflow.com/questions/tagged/memgraphdb">Stack Overflow</ExternalLink></li> |
32 |
| - <li><ExternalLink href="https://twitter.com/memgraphdb">Twitter</ExternalLink></li> |
33 |
| - </ul> |
34 |
| - </div> |
35 |
| - <div className="footer-column"> |
36 |
| - <ul className="column-text"> |
37 |
| - <li><span className="column-title">More</span ></li> |
38 |
| - <li><ExternalLink href="https://cloud.memgraph.com/login">Memgraph Cloud</ExternalLink></li> |
39 |
| - <li><ExternalLink href="https://playground.memgraph.com">Memgraph Playground</ExternalLink></li> |
40 |
| - <li><ExternalLink href="https://github.com/memgraph/memgraph">GitHub</ExternalLink></li> |
41 |
| - <li><ExternalLink href="https://www.youtube.com/channel/UCZ3HOJvHGxtQ_JHxOselBYg">YouTube</ExternalLink></li> |
42 |
| - </ul> |
43 |
| - </div> |
44 |
| - </footer> |
| 23 | + <footer className="flex flex-col pt-[56px] lg:pt-[107px] px-[40px] lg:px-[156px] h-full lg:h-[511px] bg-[#F9F9F9]"> |
| 24 | + <div className="flex flex-col lg:flex-row gap-[40px] lg:gap-[80px] mb-[45px]"> |
| 25 | + <div className="flex flex-col mr-[140px] w-[162px] h-[56px]"> |
| 26 | + <Image |
| 27 | + src="/docs/memgraph-logo-footer.svg" |
| 28 | + alt="Memgraph Logo" |
| 29 | + width="162" |
| 30 | + height="56" |
| 31 | + /> |
| 32 | + </div> |
| 33 | + <div className="flex flex-col gap-[12px]"> |
| 34 | + <div className="mb-[3px] text-[#231F20] text-[18px] leading-[31px] font-medium"> |
| 35 | + Documentation |
| 36 | + </div> |
| 37 | + <div className="text-[#231F20] text-[16px] leading-[31px] font-normal"> |
| 38 | + <Link href="/getting-started">Get started</Link> |
| 39 | + </div> |
| 40 | + <div className="text-[#231F20] text-[16px] leading-[31px] font-normal"> |
| 41 | + <Link href="/data-migration">Migrate data</Link> |
| 42 | + </div> |
| 43 | + <div className="text-[#231F20] text-[16px] leading-[31px] font-normal"> |
| 44 | + <Link href="/querying">Query data</Link> |
| 45 | + </div> |
| 46 | + <div className="text-[#231F20] text-[16px] leading-[31px] font-normal"> |
| 47 | + <Link href="/custom-query-modules">Create an app</Link> |
| 48 | + </div> |
| 49 | + <div className="text-[#231F20] text-[16px] leading-[31px] font-normal"> |
| 50 | + <Link href="/data-visualization">Visualize data</Link> |
| 51 | + </div> |
| 52 | + <div className="text-[#231F20] text-[16px] leading-[31px] font-normal"> |
| 53 | + <Link href="/advanced-algorithms">Use advanced algorithms</Link> |
| 54 | + </div> |
| 55 | + </div> |
| 56 | + <div className="flex flex-col gap-[12px]"> |
| 57 | + <div className="mb-[3px] text-[#231F20] text-[18px] leading-[31px] font-medium"> |
| 58 | + Community |
| 59 | + </div> |
| 60 | + <div className="text-[#231F20] text-[16px] leading-[31px] font-normal"> |
| 61 | + <ExternalLink href="https://discord.gg/memgraph"> |
| 62 | + Discord |
| 63 | + </ExternalLink> |
| 64 | + </div> |
| 65 | + <div className="text-[#231F20] text-[16px] leading-[31px] font-normal"> |
| 66 | + <ExternalLink href="https://stackoverflow.com/questions/tagged/memgraphdb"> |
| 67 | + Stack Overflow |
| 68 | + </ExternalLink> |
| 69 | + </div> |
| 70 | + <div className="text-[#231F20] text-[16px] leading-[31px] font-normal"> |
| 71 | + <ExternalLink href="https://twitter.com/memgraphdb"> |
| 72 | + Twitter |
| 73 | + </ExternalLink> |
| 74 | + </div> |
| 75 | + </div> |
| 76 | + <div className="flex flex-col gap-[12px]"> |
| 77 | + <div className="mb-[3px] text-[#231F20] text-[18px] leading-[31px] font-medium"> |
| 78 | + More |
| 79 | + </div> |
| 80 | + <div className="text-[#231F20] text-[16px] leading-[31px] font-normal"> |
| 81 | + <ExternalLink href="https://cloud.memgraph.com/login"> |
| 82 | + Memgraph Cloud |
| 83 | + </ExternalLink> |
| 84 | + </div> |
| 85 | + <div className="text-[#231F20] text-[16px] leading-[31px] font-normal"> |
| 86 | + <ExternalLink href="https://playground.memgraph.com"> |
| 87 | + Memgraph Playground |
| 88 | + </ExternalLink> |
| 89 | + </div> |
| 90 | + <div className="text-[#231F20] text-[16px] leading-[31px] font-normal"> |
| 91 | + <ExternalLink href="https://github.com/memgraph/memgraph"> |
| 92 | + GitHub |
| 93 | + </ExternalLink> |
| 94 | + </div> |
| 95 | + <div className="text-[#231F20] text-[16px] leading-[31px] font-normal"> |
| 96 | + <ExternalLink href="https://www.youtube.com/channel/UCZ3HOJvHGxtQ_JHxOselBYg"> |
| 97 | + YouTube |
| 98 | + </ExternalLink> |
| 99 | + </div> |
| 100 | + </div> |
| 101 | + </div> |
| 102 | + <div className="flex flex-row text-[11px] text-[#646265] font-normal"> |
| 103 | + Copyright © 2023 Memgraph |
| 104 | + </div> |
| 105 | + </footer> |
45 | 106 | );
|
46 | 107 |
|
47 | 108 | export default Footer;
|
0 commit comments