Skip to content

Commit 919618f

Browse files
committed
Changes as per the request
Signed-off-by: Dakshgupta177 <[email protected]>
1 parent 46231e8 commit 919618f

File tree

1 file changed

+136
-81
lines changed

1 file changed

+136
-81
lines changed

components/footer.tsx

Lines changed: 136 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,47 @@
11
import Link from "next/link";
2-
import Logo from "./logo";
2+
import sideBySideSvg from "../public/images/sidebyside-transparent.svg";
3+
import Image from "next/image";
4+
import CNCF from "../public/images/cncf-landscape.png";
5+
import GSA from "../public/images/gsa.png";
36

47
export default function Footer() {
58
const sections = [
69
{
710
title: "Solutions",
811
links: [
912
{ text: "API Testing", url: "https://keploy.io/api-testing/" },
10-
{ text: "Integration Testing", url: "https://keploy.io/integration-testing/" },
13+
{
14+
text: "Integration Testing",
15+
url: "https://keploy.io/integration-testing/",
16+
},
1117
{ text: "Unit Testing", url: "https://keploy.io/unit-test-generator/" },
12-
{ text: "VS Code Extension", url: "https://marketplace.visualstudio.com/items?itemName=Keploy.keployio/" },
18+
{
19+
text: "VS Code Extension",
20+
url: "https://marketplace.visualstudio.com/items?itemName=Keploy.keployio/",
21+
},
1322
],
1423
},
1524
{
1625
title: "Developers",
1726
links: [
1827
{ text: "Documentation", url: "https://keploy.io/docs/" },
19-
{ text: "CLI Reference", url: "https://keploy.io/docs/running-keploy/cli-commands/" },
28+
{
29+
text: "CLI Reference",
30+
url: "https://keploy.io/docs/running-keploy/cli-commands/",
31+
},
2032
{ text: "Github", url: "https://github.com/keploy/" },
21-
{ text: "Getting Started", url: "https://keploy.io/docs/server/installation/" },
33+
{
34+
text: "Getting Started",
35+
url: "https://keploy.io/docs/server/installation/",
36+
},
2237
],
2338
},
2439
{
2540
title: "Resources",
2641
links: [
2742
{ text: "Integrations", url: "https://keploy.io/docs/ci-cd/github/" },
28-
{ text: "Blog", url: "https://keploy.io/blog/technology/" },
43+
{ text: "Tech Blog", url: "https://keploy.io/blog/technology/" },
44+
{ text: "Community Blog", url: "https://keploy.io/blog/community/" },
2945
],
3046
},
3147
{
@@ -41,20 +57,28 @@ export default function Footer() {
4157
},
4258
];
4359
return (
44-
<footer className="border-t border-gray-200 bg-white">
45-
<div className="mx-auto max-w-[1200px] px-4 sm:px-6 lg:px-8 my-20">
46-
<div className="flex flex-col lg:flex-row gap-4 ">
47-
<div className="lg:mr-10 max-lg:pl-10">
48-
<Logo />
49-
<div className="flex space-x-6 my-4">
50-
<Link
51-
target="_blank"
52-
rel="noopener noreferrer"
53-
className="text-gray-500 hover:text-gray-500 transition-colors"
54-
href="https://twitter.com/keploy"
55-
>
56-
<span className="sr-only">Twitter</span>
57-
<svg
60+
<footer className="border-t border-gray-200 bg-white">
61+
<div className="mx-auto max-w-[1200px] px-4 sm:px-6 lg:px-8 my-20">
62+
<div className="flex flex-col lg:flex-row gap-4 ">
63+
<div className="max-lg:ml-10">
64+
<div className="mr-4 shrink-0 w-52">
65+
<Link href="https://keploy.io/">
66+
<Image
67+
src={sideBySideSvg}
68+
alt="Keploy Logo"
69+
className="h-[50px] w-[100px] mb-2"
70+
/>
71+
</Link>
72+
</div>
73+
<div className="flex space-x-6 my-4">
74+
<Link
75+
target="_blank"
76+
rel="noopener noreferrer"
77+
className="text-gray-500 hover:text-gray-500 transition-colors"
78+
href="https://twitter.com/keploy"
79+
>
80+
<span className="sr-only">Twitter</span>
81+
<svg
5882
className="w-4 h-4 fill-current"
5983
viewBox="0 0 20 20"
6084
xmlns="http://www.w3.org/2000/svg"
@@ -64,96 +88,127 @@ export default function Footer() {
6488
transform="scale(0.8)"
6589
/>
6690
</svg>
67-
</Link>
68-
<Link
69-
target="_blank"
70-
rel="noopener noreferrer"
71-
className="text-gray-500 hover:text-gray-500 transition-colors"
72-
href="https://github.com/keploy"
73-
>
74-
<span className="sr-only">GitHub</span>
75-
<svg
91+
</Link>
92+
<Link
93+
target="_blank"
94+
rel="noopener noreferrer"
95+
className="text-gray-500 hover:text-gray-500 transition-colors"
96+
href="https://github.com/keploy"
97+
>
98+
<span className="sr-only">GitHub</span>
99+
<svg
76100
className="w-4 h-4 fill-current"
77101
viewBox="0 0 24 24"
78102
xmlns="http://www.w3.org/2000/svg"
79103
>
80104
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" />
81105
</svg>
82-
</Link>
83-
<Link
84-
target="_blank"
85-
rel="noopener noreferrer"
86-
className="text-gray-500 hover:text-gray-500 transition-colors"
87-
href="https://linkedin.com/company/keploy"
88-
>
89-
<span className="sr-only">LinkedIn</span>
90-
<svg
106+
</Link>
107+
<Link
108+
target="_blank"
109+
rel="noopener noreferrer"
110+
className="text-gray-500 hover:text-gray-500 transition-colors"
111+
href="https://linkedin.com/company/keploy"
112+
>
113+
<span className="sr-only">LinkedIn</span>
114+
<svg
91115
className="w-4 h-4 fill-current"
92116
viewBox="0 0 24 24"
93117
xmlns="http://www.w3.org/2000/svg"
94118
>
95119
<path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" />
96120
</svg>
97-
</Link>
98-
<Link
99-
target="_blank"
100-
rel="noopener noreferrer"
101-
className="text-gray-500 hover:text-gray-500 transition-colors"
102-
href="https://youtube.com/@keploy"
103-
>
104-
<span className="sr-only">YouTube</span>
105-
<svg
121+
</Link>
122+
<Link
123+
target="_blank"
124+
rel="noopener noreferrer"
125+
className="text-gray-500 hover:text-gray-500 transition-colors"
126+
href="https://youtube.com/@keploy"
127+
>
128+
<span className="sr-only">YouTube</span>
129+
<svg
106130
className="w-4 h-4 fill-current"
107131
viewBox="0 0 24 24"
108132
xmlns="http://www.w3.org/2000/svg"
109133
>
110134
<path d="M23.498 6.186a2.997 2.997 0 0 0-2.11-2.123C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.388.518A2.997 2.997 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a2.997 2.997 0 0 0 2.11 2.123c1.883.518 9.388.518 9.388.518s7.505 0 9.388-.518a2.997 2.997 0 0 0 2.11-2.123C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" />
111135
</svg>
112-
</Link>
113-
<Link
114-
target="_blank"
115-
rel="noopener noreferrer"
116-
className="text-gray-500 hover:text-gray-500 transition-colors"
117-
href="https://www.instagram.com/keploy.io/"
118-
>
119-
<span className="sr-only">Instagram</span>
120-
<svg
136+
</Link>
137+
<Link
138+
target="_blank"
139+
rel="noopener noreferrer"
140+
className="text-gray-500 hover:text-gray-500 transition-colors"
141+
href="https://www.instagram.com/keploy.io/"
142+
>
143+
<span className="sr-only">Instagram</span>
144+
<svg
121145
className="w-4 h-4 fill-current"
122146
viewBox="0 0 24 24"
123147
xmlns="http://www.w3.org/2000/svg"
124148
>
125149
<path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z" />
126150
</svg>
127-
</Link>
128-
</div>
151+
</Link>
129152
</div>
130-
<div className="grid grid-cols-2 sm:grid-cols-3 gap-8 lg:grid-cols-4 w-full ">
131-
{sections.map((section, index) => (
132-
<div key={index} className="lg:mt-4 max-lg:pl-10">
153+
</div>
154+
<div className="grid grid-cols-2 sm:grid-cols-3 lg:gap-8 gap-y-10 max-lg:mt-10 lg:grid-cols-4 w-full ">
155+
{sections.map((section, index) => (
156+
<div key={index} className="lg:mt-4 max-lg:ml-10">
157+
<h3 className="font-medium text-gray-600">
158+
{section?.title}
159+
</h3>
133160
<ul className="mt-4 space-y-3">
134-
<h3 className="text-base font-semi text-gray-900">{section?.title}</h3>
135-
{section?.links?.map((link, linkIndex) => (
136-
<li key={linkIndex}>
137-
<Link
138-
className="text-sm text-gray-500 hover:text-gray-900 transition-colors"
139-
target="_blank"
140-
href={link.url}
141-
>
142-
{link.text}
143-
</Link>
144-
</li>
145-
))}
146-
</ul>
147-
</div>
148-
))}
161+
{section?.links?.map((link, linkIndex) => (
162+
<li key={linkIndex}>
163+
<Link
164+
className="text-sm text-gray-500 hover:text-gray-900 transition-colors"
165+
target="_blank"
166+
href={link.url}
167+
>
168+
{link.text}
169+
</Link>
170+
</li>
171+
))}
172+
</ul>
173+
</div>
174+
))}
149175
</div>
176+
<div className="w-52 max-lg:mt-10 mt-4 max-lg:ml-10 shrink-0">
177+
<h6 className="text-primary-300 font-medium mb-2">
178+
Find us on CNCF Landscape
179+
</h6>
180+
<Link
181+
href="https://landscape.cncf.io/?item=app-definition-and-development--continuous-integration-delivery--keploy"
182+
target="_blank"
183+
>
184+
<Image
185+
width={200}
186+
height={100}
187+
src={CNCF}
188+
alt="CNCF Landscape"
189+
className="w-52"
190+
/>
191+
</Link>
192+
<Link
193+
href="https://blog.google/intl/en-in/introducing-the-eighth-cohort-of-google-for-startups-accelerator-india/"
194+
target="_blank"
195+
>
196+
<Image
197+
width={200}
198+
height={100}
199+
src={GSA}
200+
alt="Google for Startups"
201+
className="w-52 py-2"
202+
/>
203+
</Link>
150204
</div>
151-
<div className="my-12 pt-8 border-t border-gray-200">
152-
<div className="flex flex-col-reverse md:flex-row md:items-center md:justify-between">
153-
<p className="mt-8 text-sm text-gray-500 md:mt-0">© Keploy Inc</p>
154-
</div>
205+
</div>
206+
<div className="my-12 pt-8 border-t border-gray-200">
207+
<div className="flex flex-col-reverse md:flex-row md:items-center md:justify-between max-lg:ml-10">
208+
<p className="mt-8 text-sm text-gray-500 md:mt-0">© Keploy Inc</p>
155209
</div>
156210
</div>
157-
</footer>
211+
</div>
212+
</footer>
158213
);
159214
}

0 commit comments

Comments
 (0)