Skip to content

Commit 4b39280

Browse files
committed
docs: update home page banner font
1 parent 48188dd commit 4b39280

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

docs/src/pages/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const IndexPage = ({ data }) => {
3939
<ParticlesBg />
4040
<div className="container lg:flex mx-auto min-h-screen relative z-10">
4141
<div className="w-full lg:w-8/12 flex items-center py-12 lg:py-0">
42-
<div className="px-4 lg:px-24 text-center">
42+
<div className="px-4 lg:px-24">
4343
<div className="lg:absolute top-0 flex justify-center">
4444
<img
4545
src="/images/lesy-head.png"
@@ -48,20 +48,20 @@ const IndexPage = ({ data }) => {
4848
/>
4949
</div>
5050

51-
<h1 className="text-center text-heading text-4xl lg:text-5xl font-extrabold tracking-tight font-heading leading-none">
51+
<h1 className="text-heading text-4xl lg:text-6xl font-extrabold tracking-tighter font-banner leading-none">
5252
Build modern command line apps with{" "}
5353
<span className="text-primary">Lesy js</span>
5454
</h1>
55-
<p className="mb-8 text-center lg:px-10">
55+
<p className="mb-8 text-xl">
5656
Lesy is a super flexible and lightweight CLI framework to build
5757
damn good command line apps without too much boilerplate.
5858
</p>
59-
<section className="text-sm text-subtext mb-8 lg:px-10">
59+
<section className="text-sm text-subtext mb-8">
6060
{features.map((f) => (
6161
<span key={f}>{f} &middot; </span>
6262
))}
6363
</section>
64-
<div className="text-center">
64+
<div>
6565
<Link
6666
className="bg-secondary text-white py-2 px-4 rounded-md font-medium inline-flex text-sm items-center mr-3 hover:bg-secondary"
6767
to="/docs/get-started/overview"

docs/src/styles/main.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
@import url(https://cdn.rawgit.com/mfd/09b70eb47474836f25a21660282ce0fd/raw/e06a670afcb2b861ed2ac4a1ef752d062ef6b46b/Gilroy.css);
2-
@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap);
3-
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap);
1+
@import url("https://cdn.rawgit.com/mfd/09b70eb47474836f25a21660282ce0fd/raw/e06a670afcb2b861ed2ac4a1ef752d062ef6b46b/Gilroy.css");
2+
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");
3+
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap");
4+
@import url("https://fonts.googleapis.com/css2?family=Miriam+Libre:wght@700&display=swap");
45

56
@import "./dark-syntax";
67
@import "./light-syntax";

docs/tailwind.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ module.exports = {
4141
fontFamily: {
4242
heading: ["Gilroy"],
4343
icon: ["remixicon"],
44+
banner: ["Miriam Libre"],
4445
},
4546
},
4647
},

0 commit comments

Comments
 (0)