Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added some styling #16

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: [],
}