Skip to content

Commit 0b3a758

Browse files
committed
feat: #336 - Use consistent styling for all welcome banners
1 parent 1e879bc commit 0b3a758

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

frontend/src/App.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ The heading directly under the nav bar.
170170
}
171171

172172
.desc1 {
173-
@apply mx-auto mt-5 hidden max-w-[75%] text-center font-satoshi text-lg text-gray-400 sm:text-xl md:block;
173+
@apply mx-auto mt-5 text-center font-satoshi text-lg text-gray-400 sm:text-xl md:block;
174174
font-size: 100%;
175175
letter-spacing: 0.03em;
176176
}

frontend/src/pages/Help/Help.tsx

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
import { Link } from "react-router-dom";
22
import Layout from "../Layout/Layout";
3+
import Welcome from "../../components/Welcome/Welcome";
34
import HelpCard from "./HelpCard";
45
import { helpData } from "./helpData";
56

67
function Help() {
78
return (
89
<Layout>
910
<div className="mt-20 flex w-full max-w-6xl flex-col items-center justify-center px-4">
10-
<div className="flex justify-center text-center">
11-
<h1 className="mt-20 font-satoshi text-3xl text-blue-600">
12-
Help & Support
13-
</h1>
14-
</div>
15-
<div className="flex py-2 text-center">
16-
<h3 className="font-satoshi text-gray-600">
17-
Get help and support for improving your Balancer experience.
18-
</h3>
19-
</div>
11+
<Welcome
12+
subHeader="Help & Support"
13+
descriptionText="Get help and support for improving your Balancer experience."
14+
/>
2015
<div className="flex flex-col gap-4 sm:flex-row">
2116
{helpData.map((helpDataEntry, index) => {
2217
const card = (

0 commit comments

Comments
 (0)