Skip to content

Commit

Permalink
Merge pull request #871 from Edwinliby/old-dev
Browse files Browse the repository at this point in the history
changed png to webp format
  • Loading branch information
AswinAsok authored Oct 15, 2023
2 parents a01d531 + a90a0a3 commit 94378a7
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
Binary file removed public/assets/home/hero.png
Binary file not shown.
Binary file added public/assets/home/hero.webp
Binary file not shown.
Binary file removed public/assets/navbar/onepiece.png
Binary file not shown.
Binary file added public/assets/navbar/onepiece.webp
Binary file not shown.
4 changes: 2 additions & 2 deletions src/Components/Navbar/Desktop.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const Resources = ({ notificationOpen }) => {
rel="noopener noreferrer"
className="py-7 px-3 inline-block"
>
<button className="bg-mublue text-white px-6 py-2 rounded-md">
<button className="bg-muorange text-white px-6 py-2 rounded-md">
Join µLearn
</button>
</a>
Expand All @@ -47,7 +47,7 @@ export const Resources = ({ notificationOpen }) => {
rel="noopener noreferrer"
className="py-7 px-3 inline-block"
>
<button className="border-2 border-mublue text-mublue px-6 py-2 rounded-md">
<button className="border-2 border-muorange text-muorange px-6 py-2 rounded-md">
Magazine
</button>
</a>
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Navbar/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ const Logo = () => {
return (
<Link to="/">
<img
src="/assets/navbar/onepiece.png"
src="/assets/navbar/µLearn.webp"
alt="logo"
className="lg:cursor-pointer h-16 z-0 mt-[-.5rem]"
className="lg:cursor-pointer h-8 z-0 mt-[-.5rem]"
/>
</Link>
)
Expand Down
6 changes: 3 additions & 3 deletions src/Pages/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ const Home = () => {
>
<button className={styles.primary}>Join Us</button>
</a>
<a
{/* <a
target="_blank"
rel="noopener noreferrer"
href="https://themaze.mulearn.org"
>
<button className={styles.secondary}>Join The Maze</button>
</a>
</a> */}
</div>
</div>
<img
className={styles.fv_image}
src="/assets/home/hero.png"
src="/assets/home/illustration.webp"
alt="illustration"
/>
</div>
Expand Down
16 changes: 8 additions & 8 deletions src/Pages/Home/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ a {

.fv_heading span {
font-weight: 600;
/* color: #f78c40; */
color: #5C9AE5;
color: #f78c40;
/* color: #5C9AE5; */
}

.fv_tagline {
Expand All @@ -73,8 +73,8 @@ a {

.primary,
.secondary {
/* background-color: #f78c40; */
background-color: #5C9AE5;
background-color: #f78c40;
/* background-color: #5C9AE5; */
padding: 0.7rem 2.75rem;
border: none;
margin-top: 1rem;
Expand All @@ -86,11 +86,11 @@ a {

.secondary {
background-color: #ffffff;
/* color: #f78c40; */
color: #5C9AE5;
color: #f78c40;
/* color: #5C9AE5; */
padding: 0.6rem 2rem;
/* border: 2px solid #f59d5e; */
border: 2px solid #5C9AE5;
border: 2px solid #f59d5e;
/* border: 2px solid #5C9AE5; */
}

@media only screen and (min-width: 1000px) {
Expand Down

0 comments on commit 94378a7

Please sign in to comment.