Skip to content

Commit

Permalink
added some styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat2Jain committed Dec 12, 2023
1 parent bf940ce commit b376fdc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
3 changes: 0 additions & 3 deletions client/src/App.css
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
8 changes: 4 additions & 4 deletions client/src/componetnts/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ const Navbar = () => {
{token ? (
<>
<div className="flex justify-center items-center">
<h2 className="text-white font-mono ">
<h2 className="text-white font-roboto">
Please Don't Refresh the Page!!
</h2>
</div>
</>
) : (
<>
<div className="text-center">
<a href="https://glideride.online/">
<a href="https://glideride.online">
<button
className="hover:bg-blue-500"
className="hover:bg-blue-500 font-roboto"
style={{ ...buttonStyle }}
onMouseEnter={(e) => {
e.target.style.backgroundColor =
Expand All @@ -63,7 +63,7 @@ const Navbar = () => {
</a>
<a href="https://www.instagram.com/glideride.online/">
<button
className="hover:bg-blue-500"
className="hover:bg-blue-500 font-roboto"
style={{ ...buttonStyle }}
onMouseEnter={(e) => {
e.target.style.backgroundColor =
Expand Down
4 changes: 3 additions & 1 deletion client/src/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500&display=swap");

@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind utilities;
7 changes: 4 additions & 3 deletions client/src/pages/Booking.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ const Booking = ({ showUi }) => {
>
<div className=" bg-opacity-10 min-h-screen flex items-center justify-center">
<div className="text-center" style={textStyle}>
<h1 className="text-4xl font-bold mb-4">
<h1 className="text-4xl font-roboto mb-4">
Book your ride within 2 mins
</h1>
<p className="text-lg">
<p className="text-lg font-roboto">
Explore our affordable bike rental service
</p>

Expand All @@ -80,7 +80,8 @@ const Booking = ({ showUi }) => {
onMouseEnter={() => setIsHovered(true)}
onMouseLeave={() => setIsHovered(false)}
>
<i className="fab fa-google mr-2"></i> Proceed with Google
<i className="font-robot fab fa-google mr-2"></i> Proceed
with Google
</button>
</div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion client/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ module.exports = {
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {},
extend: {
fontFamily: {
roboto: ['Roboto Slab', 'serif'],
}
},
},
plugins: [],
}

0 comments on commit b376fdc

Please sign in to comment.