Skip to content

Commit 9999863

Browse files
committed
Fix bug in Terms of Service
1 parent 47283ab commit 9999863

File tree

1 file changed

+133
-135
lines changed

1 file changed

+133
-135
lines changed

src/theme/Footer/index.js

+133-135
Original file line numberDiff line numberDiff line change
@@ -3,143 +3,141 @@ import React from "react";
33

44
// Create your custom Footer component by extending the original Footer
55
function CustomFooter(props) {
6-
// You can add your custom JSX or styles here
7-
return (
8-
<footer>
9-
<OriginalFooter {...props} /> {/* Include original Footer props */}
10-
{/* Add your custom content here */}
11-
<div className="items-stretch bg-black flex flex-col px-20 py-10 max-md:px-5">
12-
<div className="justify-between items-stretch flex w-full gap-5 max-md:max-w-full max-md:flex-wrap">
13-
<div className="flex flex-col items-start">
14-
<div className="flex gap-1 pr-2 py-px items-start">
15-
<img
16-
loading="lazy"
17-
src="https://cdn.builder.io/api/v1/image/assets/TEMP/c2b003ad3b20290b59f3b08f614c5151ce5af2538be8ff145c1aae4ecfa170f8?"
18-
className="aspect-[1.17] object-contain object-center w-7 fill-white overflow-hidden shrink-0 max-w-full"
19-
/>
20-
<div className="text-center text-xl font-extrabold leading-7 tracking-tighter self-stretch grow whitespace-nowrap text-customWhite">
21-
CodeRabbit
22-
</div>
23-
</div>
24-
<div className="flex items-stretch max-w-md text-xs font-medium mt-10 max-md:mt-10 font-satoshi leading-5 text-customGray">
25-
CodeRabbit is an innovative, AI-driven platform that
26-
transforms the way code reviews are done. Its
27-
automated reviews elevate the code quality while
28-
significantly reducing the time and effort tied to
29-
extensive manual code reviews.
30-
<br />
31-
<br />
32-
The platform offers insightful, line-by-line
33-
feedback on code changes, suggesting improvements
34-
and corrections that can enhance the efficiency and
35-
robustness of the code.
36-
</div>
37-
</div>
38-
<div className="items-stretch flex justify-between gap-5 self-start">
39-
<div className="justify-center items-stretch flex flex-col gap-3 pr-16">
40-
<a
41-
href="https://docs.coderabbit.ai/"
42-
className="justify-center text-white text-base font-medium whitespace-nowrap"
43-
>
44-
Docs
45-
</a>
46-
<a
47-
href="https://blog.coderabbit.ai/blog"
48-
className="justify-center text-white text-base font-medium whitespace-nowrap mt-1"
49-
>
50-
Blog
51-
</a>
52-
<a
53-
href="https://coderabbit.ai/#pricing"
54-
className="justify-center text-white text-base font-medium whitespace-nowrap mt-1"
55-
>
56-
Pricing
57-
</a>
58-
<a
59-
href="https://coderabbit.ai/changelog"
60-
className="justify-center text-white text-base font-medium whitespace-nowrap mt-1"
61-
>
62-
Changelog
63-
</a>
64-
</div>
65-
<div className="justify-center items-stretch flex flex-col gap-3 pl-16">
66-
<a
67-
href="https://coderabbit.ai/compliance"
68-
className="justify-center text-white text-base font-medium whitespace-nowrap"
69-
>
70-
Compliance{" "}
71-
</a>
72-
<a
73-
href="https://calendly.com/coderabbitai/30min"
74-
className="justify-center text-white text-base font-medium whitespace-nowrap mt-1"
75-
>
76-
Schedule a Demo
77-
</a>
78-
<a
79-
href="https://coderabbit.ai/terms-and-conditions"
80-
className="justify-center text-white text-base font-medium whitespace-nowrap mt-1"
81-
>
82-
Terms & Conditions
83-
</a>
84-
<a
85-
href="https://coderabbit.ai/privacy-policy"
86-
className="justify-center text-white text-base font-medium whitespace-nowrap mt-1"
87-
>
88-
Privacy Policy
89-
</a>
90-
</div>
91-
</div>
92-
</div>
93-
<div className="bg-neutral-700 shrink-0 h-px mt-6 max-md:max-w-full" />
94-
<div className="justify-between flex w-full gap-5 mt-7 items-start max-md:max-w-full max-md:flex-wrap">
95-
<div className="text-sm font-medium font-satoshi text-customWhite">
96-
CodeRabbit © 2023.
97-
</div>
98-
<div className="justify-end items-stretch self-stretch flex gap-4 pl-20 max-md:max-w-full max-md:flex-wrap max-md:pl-5">
99-
<a
100-
href="https://twitter.com/coderabbitai"
101-
target="_blank"
102-
rel="noopener noreferrer"
103-
>
104-
<img
105-
loading="lazy"
106-
src="https://cdn.builder.io/api/v1/image/assets/TEMP/0f1b48f4977dc728d0cea441017f89664834046c1ce8f3916564bb9a1538f58a?"
107-
className="aspect-square object-contain object-center w-5 overflow-hidden shrink-0 max-w-full"
108-
/>
109-
</a>
110-
<a
111-
href="https://www.linkedin.com/company/coderabbitai/"
112-
target="_blank"
113-
rel="noopener noreferrer"
114-
>
115-
<img
116-
loading="lazy"
117-
src="https://cdn.builder.io/api/v1/image/assets/TEMP/9ef98483828bc1c5e3349eb7c8da5c661ce0e7958e4dfe0e9c67db18e2019c65?"
118-
className="aspect-square object-contain object-center w-5 overflow-hidden shrink-0 max-w-full"
119-
/>
120-
</a>
121-
<a
122-
href="https://discord.gg/CVtemB5c"
123-
target="_blank"
124-
rel="noopener noreferrer"
125-
>
126-
<img
127-
loading="lazy"
128-
src="https://cdn.builder.io/api/v1/image/assets/TEMP/54cf490c6e905acb0ac1e2d5b9946ca1adae440948393edc7a12ec1a68b7b95c?"
129-
className="aspect-square object-contain object-center w-5 overflow-hidden shrink-0 max-w-full"
130-
/>
131-
</a>
132-
</div>
133-
</div>
6+
// You can add your custom JSX or styles here
7+
return (
8+
<footer>
9+
<OriginalFooter {...props} /> {/* Include original Footer props */}
10+
{/* Add your custom content here */}
11+
<div className="items-stretch bg-black flex flex-col px-20 py-10 max-md:px-5">
12+
<div className="justify-between items-stretch flex w-full gap-5 max-md:max-w-full max-md:flex-wrap">
13+
<div className="flex flex-col items-start">
14+
<div className="flex gap-1 pr-2 py-px items-start">
15+
<img
16+
loading="lazy"
17+
src="https://cdn.builder.io/api/v1/image/assets/TEMP/c2b003ad3b20290b59f3b08f614c5151ce5af2538be8ff145c1aae4ecfa170f8?"
18+
className="aspect-[1.17] object-contain object-center w-7 fill-white overflow-hidden shrink-0 max-w-full"
19+
/>
20+
<div className="text-center text-xl font-extrabold leading-7 tracking-tighter self-stretch grow whitespace-nowrap text-customWhite">
21+
CodeRabbit
22+
</div>
13423
</div>
135-
</footer>
136-
);
24+
<div className="flex items-stretch max-w-md text-xs font-medium mt-10 max-md:mt-10 font-satoshi leading-5 text-customGray">
25+
CodeRabbit is an innovative, AI-driven platform that transforms
26+
the way code reviews are done. Its automated reviews elevate the
27+
code quality while significantly reducing the time and effort tied
28+
to extensive manual code reviews.
29+
<br />
30+
<br />
31+
The platform offers insightful, line-by-line feedback on code
32+
changes, suggesting improvements and corrections that can enhance
33+
the efficiency and robustness of the code.
34+
</div>
35+
</div>
36+
<div className="items-stretch flex justify-between gap-5 self-start">
37+
<div className="justify-center items-stretch flex flex-col gap-3 pr-16">
38+
<a
39+
href="https://docs.coderabbit.ai/"
40+
className="justify-center text-white text-base font-medium whitespace-nowrap"
41+
>
42+
Docs
43+
</a>
44+
<a
45+
href="https://blog.coderabbit.ai/blog"
46+
className="justify-center text-white text-base font-medium whitespace-nowrap mt-1"
47+
>
48+
Blog
49+
</a>
50+
<a
51+
href="https://coderabbit.ai/#pricing"
52+
className="justify-center text-white text-base font-medium whitespace-nowrap mt-1"
53+
>
54+
Pricing
55+
</a>
56+
<a
57+
href="https://coderabbit.ai/changelog"
58+
className="justify-center text-white text-base font-medium whitespace-nowrap mt-1"
59+
>
60+
Changelog
61+
</a>
62+
</div>
63+
<div className="justify-center items-stretch flex flex-col gap-3 pl-16">
64+
<a
65+
href="https://coderabbit.ai/compliance"
66+
className="justify-center text-white text-base font-medium whitespace-nowrap"
67+
>
68+
Compliance{" "}
69+
</a>
70+
<a
71+
href="https://calendly.com/coderabbitai/30min"
72+
className="justify-center text-white text-base font-medium whitespace-nowrap mt-1"
73+
>
74+
Schedule a Demo
75+
</a>
76+
<a
77+
href="https://coderabbit.ai/terms-of-service"
78+
className="justify-center text-white text-base font-medium whitespace-nowrap mt-1"
79+
>
80+
Terms of Service
81+
</a>
82+
<a
83+
href="https://coderabbit.ai/privacy-policy"
84+
className="justify-center text-white text-base font-medium whitespace-nowrap mt-1"
85+
>
86+
Privacy Policy
87+
</a>
88+
</div>
89+
</div>
90+
</div>
91+
<div className="bg-neutral-700 shrink-0 h-px mt-6 max-md:max-w-full" />
92+
<div className="justify-between flex w-full gap-5 mt-7 items-start max-md:max-w-full max-md:flex-wrap">
93+
<div className="text-sm font-medium font-satoshi text-customWhite">
94+
CodeRabbit © 2023.
95+
</div>
96+
<div className="justify-end items-stretch self-stretch flex gap-4 pl-20 max-md:max-w-full max-md:flex-wrap max-md:pl-5">
97+
<a
98+
href="https://twitter.com/coderabbitai"
99+
target="_blank"
100+
rel="noopener noreferrer"
101+
>
102+
<img
103+
loading="lazy"
104+
src="https://cdn.builder.io/api/v1/image/assets/TEMP/0f1b48f4977dc728d0cea441017f89664834046c1ce8f3916564bb9a1538f58a?"
105+
className="aspect-square object-contain object-center w-5 overflow-hidden shrink-0 max-w-full"
106+
/>
107+
</a>
108+
<a
109+
href="https://www.linkedin.com/company/coderabbitai/"
110+
target="_blank"
111+
rel="noopener noreferrer"
112+
>
113+
<img
114+
loading="lazy"
115+
src="https://cdn.builder.io/api/v1/image/assets/TEMP/9ef98483828bc1c5e3349eb7c8da5c661ce0e7958e4dfe0e9c67db18e2019c65?"
116+
className="aspect-square object-contain object-center w-5 overflow-hidden shrink-0 max-w-full"
117+
/>
118+
</a>
119+
<a
120+
href="https://discord.gg/CVtemB5c"
121+
target="_blank"
122+
rel="noopener noreferrer"
123+
>
124+
<img
125+
loading="lazy"
126+
src="https://cdn.builder.io/api/v1/image/assets/TEMP/54cf490c6e905acb0ac1e2d5b9946ca1adae440948393edc7a12ec1a68b7b95c?"
127+
className="aspect-square object-contain object-center w-5 overflow-hidden shrink-0 max-w-full"
128+
/>
129+
</a>
130+
</div>
131+
</div>
132+
</div>
133+
</footer>
134+
);
137135
}
138136

139137
export default function CustomFooterWrapper(props) {
140-
return (
141-
<React.Fragment>
142-
<CustomFooter {...props} />
143-
</React.Fragment>
144-
);
138+
return (
139+
<React.Fragment>
140+
<CustomFooter {...props} />
141+
</React.Fragment>
142+
);
145143
}

0 commit comments

Comments
 (0)