Skip to content

Commit 89d3a72

Browse files
Kapil GowruKapil Gowru
authored andcommitted
fix: imported fern footer
1 parent 3f387a1 commit 89d3a72

File tree

3 files changed

+205
-206
lines changed

3 files changed

+205
-206
lines changed

footer/src/FernFooter.tsx

Lines changed: 1 addition & 199 deletions
Original file line numberDiff line numberDiff line change
@@ -9,205 +9,7 @@ import { Soc2Logo } from './images/soc2';
99

1010
export const FernFooter: React.FC = () => {
1111
return (
12-
<>
13-
<style>{`
14-
.footer {
15-
padding: 3rem 2rem;
16-
}
17-
18-
.footer-top {
19-
display: flex;
20-
justify-content: space-between;
21-
gap: 2rem;
22-
margin-bottom: 3rem;
23-
position: relative;
24-
}
25-
26-
.footer-logo {
27-
display: flex;
28-
align-items: center;
29-
gap: 0.25rem;
30-
}
31-
32-
.footer-logo svg {
33-
transition: filter 150ms ease;
34-
}
35-
36-
.footer-logo:hover svg {
37-
filter: saturate(1) opacity(1);
38-
}
39-
40-
.footer-logo-img {
41-
height: 1rem;
42-
margin: 0;
43-
filter: saturate(0) opacity(0.7);
44-
}
45-
46-
.footer-logo-frame {
47-
position: absolute;
48-
top: 50%;
49-
left: 0;
50-
transform: translate(-32px, calc(-50% - 4px));
51-
filter: saturate(0) opacity(0.7);
52-
}
53-
54-
.footer-status {
55-
display: flex;
56-
flex-direction: row;
57-
gap: 1rem;
58-
}
59-
60-
.status-text {
61-
font-size: 0.875rem;
62-
color: var(--grayscale-10);
63-
font-weight: 400;
64-
}
65-
66-
.soc2-badge {
67-
display: flex;
68-
align-items: center;
69-
gap: 0.5rem;
70-
border-radius: 9999px;
71-
padding: 0.25rem 0.75rem 0.25rem 0.25rem;
72-
align-self: flex-start;
73-
text-decoration: none;
74-
transition: background-color 150ms ease, color 150ms ease;
75-
}
76-
77-
.soc2-badge:hover {
78-
background-color: var(--grayscale-a4);
79-
}
80-
81-
.soc2-badge:hover .status-text {
82-
color: var(--grayscale-12);
83-
}
84-
85-
.soc2-badge-img {
86-
width: 1.5rem;
87-
height: 1.5rem;
88-
background-color: #62636C;
89-
border-radius: 1000px;
90-
}
91-
92-
.footer-links {
93-
display: flex;
94-
gap: 2rem;
95-
padding-top: 2rem;
96-
align-items: flex-end;
97-
justify-content: space-between;
98-
}
99-
100-
.footer-columns {
101-
display: flex;
102-
gap: 2rem;
103-
}
104-
105-
.footer-column {
106-
display: flex;
107-
flex-direction: column;
108-
gap: 1rem;
109-
width: 170px;
110-
}
111-
112-
.footer-column-title {
113-
font-size: 0.875rem;
114-
font-weight: 400;
115-
color: var(--grayscale-9);
116-
letter-spacing: -0.025em;
117-
}
118-
119-
.footer-column-links {
120-
display: flex;
121-
flex-direction: column;
122-
gap: 1rem;
123-
}
124-
125-
.footer-link {
126-
font-weight: 400;
127-
font-size: 0.875rem;
128-
color: var(--grayscale-11);
129-
text-decoration: none;
130-
transition: color 0.15s ease-in-out;
131-
}
132-
133-
.footer-link svg {
134-
display: none !important;
135-
}
136-
137-
.footer-link:hover {
138-
color: var(--grayscale-12);
139-
}
140-
141-
.footer-bottom-text {
142-
font-weight: 400;
143-
font-size: 0.875rem;
144-
color: var(--grayscale-10);
145-
text-decoration: none;
146-
transition: color 0.15s ease-in-out;
147-
}
148-
149-
/* Responsive Design - Mobile */
150-
@media (max-width: 640px) {
151-
.footer {
152-
padding: 2rem 1.5rem;
153-
}
154-
155-
.footer-top {
156-
flex-direction: column;
157-
gap: 1.5rem;
158-
margin-bottom: 2rem;
159-
}
160-
161-
.footer-logo-frame {
162-
transform: translate(-32px, calc(-50% - 68px));
163-
}
164-
165-
.footer-status {
166-
flex-direction: column;
167-
gap: 0.75rem;
168-
padding-top: 2rem;
169-
}
170-
171-
.footer-links {
172-
display: grid;
173-
grid-template-columns: 1fr;
174-
gap: 1.5rem;
175-
align-items: flex-start;
176-
padding-top: 1rem;
177-
}
178-
179-
.footer-columns {
180-
display: grid;
181-
grid-template-columns: 1fr;
182-
gap: 2rem;
183-
width: 100%;
184-
order: 1;
185-
}
186-
187-
.footer-column {
188-
width: 100%;
189-
}
190-
191-
.footer-bottom-text {
192-
order: 2;
193-
}
194-
}
195-
196-
/* Tablet breakpoint */
197-
@media (max-width: 720px) and (min-width: 481px) {
198-
.footer-columns {
199-
flex-direction: row;
200-
flex-wrap: wrap;
201-
justify-content: center;
202-
}
203-
204-
.footer-column {
205-
width: calc(50% - 1rem);
206-
min-width: 200px;
207-
}
208-
}
209-
`}</style>
210-
12+
<>
21113
<footer className="footer">
21214
<div className="footer-top">
21315
{/* Left Column - Logo and Status */}

0 commit comments

Comments
 (0)