pdfequips-footer 0.1.9 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,140 +1,172 @@
1
- import {
2
- FaFacebook,
3
- FaInstagram,
4
- FaLinkedinIn,
5
- FaXTwitter,
6
- FaTiktok
7
- } from "react-icons/fa6";
8
- import FooterLinks from "./FooterLinks";
9
- import { getFooterContent } from "../src/getFooterContent";
10
- import { getFooterLinks } from "../src/getFooterLinks";
11
- export const Footer = ({
12
- includeTools = true,
13
- title,
14
- lang
15
- }: {
16
- title: string;
17
- lang: string;
18
- includeTools?: boolean
19
- }) => {
20
- const footer = getFooterContent(lang);
21
- const footerLinks = includeTools ? getFooterLinks(lang) : [];
22
- return (
23
- <footer id="footer">
24
- <div className="container">
25
- <div className="footer-wrapper">
26
- <div className="copyright-row">
27
- <p className="copyright-text col text-muted mb-0 py-0">
28
- {footer.brand} &copy; {new Date().getFullYear()} &#174; - {title}
29
- </p>
30
- <div className="socials">
31
- <a
32
- href="https://www.facebook.com/pdfequips4real"
33
- target="_blank"
34
- className="facebook"
35
- >
36
- <FaFacebook size="25" />
37
- </a>
38
- <a
39
- href="https://twitter.com/PDFEquips"
40
- target="_blank"
41
- className="twitter"
42
- >
43
- <FaXTwitter size="25" />
44
- </a>
45
- <a
46
- href="https://www.instagram.com/sanusihassan122/"
47
- target="_blank"
48
- >
49
- <svg width="0" height="0">
50
- <radialGradient id="rg" r="150%" cx="30%" cy="107%">
51
- <stop stopColor="#fdf497" offset="0"></stop>
52
- <stop stopColor="#fdf497" offset="0.05"></stop>
53
- <stop stopColor="#fd5949" offset="0.45"></stop>
54
- <stop stopColor="#d6249f" offset="0.6"></stop>
55
- <stop stopColor="#285AEB" offset="0.9"></stop>
56
- </radialGradient>
57
- </svg>
58
-
59
- <FaInstagram size="25" className="instagram" />
60
- </a>
61
- <a
62
- href="https://www.linkedin.com/in/sanusi-hassan-umar-343a6011a/"
63
- target="_blank"
64
- className="linkedin"
65
- >
66
- <FaLinkedinIn size="25" />
67
- </a>
68
- <a
69
- href="https://www.tiktok.com/@pdfequips"
70
- target="_blank"
71
- className="tiktok"
72
- >
73
- <FaTiktok size="25" />
74
- </a>
75
- </div>
76
- </div>
77
- <div className="bottom-row">
78
- {!includeTools ? null :
79
- <div>
80
- <strong>{footer.bottom_row.pdf_tools}</strong>
81
- <FooterLinks links={footerLinks} />
82
- </div>
83
- }
84
- <div>
85
- <strong>{footer.bottom_row.languages}</strong>
86
- <ul className="footer-links">
87
- <li>
88
- <a href="/" className="text-muted">English</a>
89
- </li>
90
- <li>
91
- <a href="/ar/" className="text-muted">العربية</a>
92
- </li>
93
- <li>
94
- <a href="/es/" className="text-muted">Español</a>
95
- </li>
96
- <li>
97
- <a href="/fr/" className="text-muted">Français</a>
98
- </li>
99
- <li>
100
- <a href="/hi/" className="text-muted">हिन्दी</a>
101
- </li>
102
- <li>
103
- <a href="/zh/" className="text-muted">中文</a>
104
- </li>
105
- </ul>
106
- </div>
107
- <div>
108
- <strong>{footer.bottom_row.company}</strong>
109
- <ul className="footer-links">
110
- <li>
111
- <a href="/about" className="text-muted">{footer.bottom_row.about}</a>
112
- </li>
113
- <li>
114
- <a href="/faq" className="text-muted">{footer.bottom_row.faq}</a>
115
- </li>
116
- <li>
117
- <a href="/blog" className="text-muted">{footer.bottom_row.blog}</a>
118
- </li>
119
- <li>
120
- <a href="/contact" className="text-muted">{footer.bottom_row.contact}</a>
121
- </li>
122
- </ul>
123
- </div>
124
- <div>
125
- <strong>{footer.bottom_row.legal.title}</strong>
126
- <ul className="footer-links">
127
- <li>
128
- <a href="/privacy-policy" className="text-muted">{footer.bottom_row.legal.privacy_policy}</a>
129
- </li>
130
- <li>
131
- <a href="/terms" className="text-muted">{footer.bottom_row.legal.terms}</a>
132
- </li>
133
- </ul>
134
- </div>
135
- </div>
136
- </div>
137
- </div>
138
- </footer>
139
- );
140
- };
1
+ import {
2
+ FaFacebook,
3
+ FaInstagram,
4
+ FaLinkedinIn,
5
+ FaXTwitter,
6
+ FaTiktok,
7
+ FaReddit,
8
+ } from "react-icons/fa6";
9
+ import FooterLinks from "./FooterLinks";
10
+ import { getFooterContent } from "../src/getFooterContent";
11
+ import { getFooterLinks } from "../src/getFooterLinks";
12
+ export const Footer = ({
13
+ includeTools = true,
14
+ title,
15
+ lang,
16
+ }: {
17
+ title: string;
18
+ lang: string;
19
+ includeTools?: boolean;
20
+ }) => {
21
+ const footer = getFooterContent(lang);
22
+ const footerLinks = includeTools ? getFooterLinks(lang) : [];
23
+ return (
24
+ <footer id="footer">
25
+ <div className="container">
26
+ <div className="footer-wrapper">
27
+ <div className="copyright-row">
28
+ <p className="copyright-text col text-muted mb-0 py-0">
29
+ {footer.brand} &copy; {new Date().getFullYear()} &#174; - {title}
30
+ </p>
31
+ <div className="socials">
32
+ <a
33
+ href="https://www.facebook.com/pdfequips4real"
34
+ target="_blank"
35
+ className="facebook"
36
+ >
37
+ <FaFacebook size="25" />
38
+ </a>
39
+ <a
40
+ href="https://twitter.com/PDFEquips"
41
+ target="_blank"
42
+ className="twitter"
43
+ >
44
+ <FaXTwitter size="25" />
45
+ </a>
46
+ <a
47
+ href="https://www.instagram.com/sanusihassan122/"
48
+ target="_blank"
49
+ >
50
+ <svg width="0" height="0">
51
+ <radialGradient id="rg" r="150%" cx="30%" cy="107%">
52
+ <stop stopColor="#fdf497" offset="0"></stop>
53
+ <stop stopColor="#fdf497" offset="0.05"></stop>
54
+ <stop stopColor="#fd5949" offset="0.45"></stop>
55
+ <stop stopColor="#d6249f" offset="0.6"></stop>
56
+ <stop stopColor="#285AEB" offset="0.9"></stop>
57
+ </radialGradient>
58
+ </svg>
59
+
60
+ <FaInstagram size="25" className="instagram" />
61
+ </a>
62
+ <a
63
+ href="https://www.linkedin.com/in/sanusi-hassan-umar-343a6011a/"
64
+ target="_blank"
65
+ className="linkedin"
66
+ >
67
+ <FaLinkedinIn size="25" />
68
+ </a>
69
+ <a
70
+ href="https://www.reddit.com/r/pdfequips/"
71
+ target="_blank"
72
+ className="reddit"
73
+ >
74
+ <FaReddit size="25" />
75
+ </a>
76
+ <a
77
+ href="https://www.tiktok.com/@pdfequips"
78
+ target="_blank"
79
+ className="tiktok"
80
+ >
81
+ <FaTiktok size="25" />
82
+ </a>
83
+ </div>
84
+ </div>
85
+ <div className="bottom-row">
86
+ {!includeTools ? null : (
87
+ <div>
88
+ <strong>{footer.bottom_row.pdf_tools}</strong>
89
+ <FooterLinks links={footerLinks} />
90
+ </div>
91
+ )}
92
+ <div>
93
+ <strong>{footer.bottom_row.languages}</strong>
94
+ <ul className="footer-links">
95
+ <li>
96
+ <a href="/" className="text-muted">
97
+ English
98
+ </a>
99
+ </li>
100
+ <li>
101
+ <a href="/ar/" className="text-muted">
102
+ العربية
103
+ </a>
104
+ </li>
105
+ <li>
106
+ <a href="/es/" className="text-muted">
107
+ Español
108
+ </a>
109
+ </li>
110
+ <li>
111
+ <a href="/fr/" className="text-muted">
112
+ Français
113
+ </a>
114
+ </li>
115
+ <li>
116
+ <a href="/hi/" className="text-muted">
117
+ हिन्दी
118
+ </a>
119
+ </li>
120
+ <li>
121
+ <a href="/zh/" className="text-muted">
122
+ 中文
123
+ </a>
124
+ </li>
125
+ </ul>
126
+ </div>
127
+ <div>
128
+ <strong>{footer.bottom_row.company}</strong>
129
+ <ul className="footer-links">
130
+ <li>
131
+ <a href="/about" className="text-muted">
132
+ {footer.bottom_row.about}
133
+ </a>
134
+ </li>
135
+ <li>
136
+ <a href="/faq" className="text-muted">
137
+ {footer.bottom_row.faq}
138
+ </a>
139
+ </li>
140
+ <li>
141
+ <a href="/blog/" className="text-muted">
142
+ {footer.bottom_row.blog}
143
+ </a>
144
+ </li>
145
+ <li>
146
+ <a href="/contact" className="text-muted">
147
+ {footer.bottom_row.contact}
148
+ </a>
149
+ </li>
150
+ </ul>
151
+ </div>
152
+ <div>
153
+ <strong>{footer.bottom_row.legal.title}</strong>
154
+ <ul className="footer-links">
155
+ <li>
156
+ <a href="/privacy-policy" className="text-muted">
157
+ {footer.bottom_row.legal.privacy_policy}
158
+ </a>
159
+ </li>
160
+ <li>
161
+ <a href="/terms" className="text-muted">
162
+ {footer.bottom_row.legal.terms}
163
+ </a>
164
+ </li>
165
+ </ul>
166
+ </div>
167
+ </div>
168
+ </div>
169
+ </div>
170
+ </footer>
171
+ );
172
+ };
@@ -1,19 +1,19 @@
1
- interface FooterLinkProps {
2
- links: { URL: string, text: string }[];
3
- }
4
-
5
- const FooterLinks: React.FC<FooterLinkProps> = ({ links }) => {
6
- return (
7
- <ul className="footer-links">
8
- {links.map((link, index) => (
9
- <li key={index}>
10
- <a href={`${link.URL}`} target="_blank" rel="noopener noreferrer">
11
- {link.text}
12
- </a>
13
- </li>
14
- ))}
15
- </ul>
16
- );
17
- };
18
-
1
+ interface FooterLinkProps {
2
+ links: { URL: string, text: string }[];
3
+ }
4
+
5
+ const FooterLinks: React.FC<FooterLinkProps> = ({ links }) => {
6
+ return (
7
+ <ul className="footer-links">
8
+ {links.map((link, index) => (
9
+ <li key={index}>
10
+ <a href={`${link.URL}`} target="_blank" rel="noopener noreferrer">
11
+ {link.text}
12
+ </a>
13
+ </li>
14
+ ))}
15
+ </ul>
16
+ );
17
+ };
18
+
19
19
  export default FooterLinks;
package/index.scss CHANGED
@@ -1,11 +1,11 @@
1
- // these are two packages i installed
2
- @import "~cssmolecule";
3
- @import "~custom-bs";
4
- @import "./scss/mixins";
5
- @include bootstrap;
6
-
7
- body {
8
- min-height: 2040px;
9
- }
10
-
1
+ // these are two packages i installed
2
+ @import "~cssmolecule";
3
+ @import "~custom-bs";
4
+ @import "./scss/mixins";
5
+ @include bootstrap;
6
+
7
+ body {
8
+ min-height: 2040px;
9
+ }
10
+
11
11
  @import "./scss/footer";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdfequips-footer",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "next dev",
@@ -24,4 +24,4 @@
24
24
  "sass": "^1.80.6",
25
25
  "typescript": "^5"
26
26
  }
27
- }
27
+ }