-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'logo-fix' of github.com:LitZeus/SCROLLME--ECOMMERCE-WEB…
…SITE into LitZeus-logo-fix
- Loading branch information
Showing
17 changed files
with
240 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { Email, Facebook, Instagram, LinkedIn, LocalPhone, LocationOn } from '@mui/icons-material'; | ||
import XIcon from '@mui/icons-material/X'; | ||
import { Link } from 'react-router-dom'; | ||
import styled from 'styled-components'; | ||
import Logo from '../components/Logo'; | ||
import { mobile } from '../responsive'; | ||
import { Link } from 'react-router-dom'; | ||
import XIcon from '@mui/icons-material/X'; | ||
|
||
const Container = styled.div` | ||
display: flex; | ||
|
@@ -16,10 +17,6 @@ const Left = styled.div` | |
padding: 20px; | ||
`; | ||
|
||
const Logo = styled.h1` | ||
font-size: 28px; | ||
`; | ||
|
||
const Desc = styled.p` | ||
margin: 20px 0px; | ||
line-height: 1.6; | ||
|
@@ -96,9 +93,7 @@ const Footer = () => { | |
return ( | ||
<Container> | ||
<Left> | ||
<Logo> | ||
SCROLL<span style={{ color: 'teal' }}>ME</span>. | ||
</Logo> | ||
<Logo /> {/* Using Logo component directly */} | ||
<Desc> | ||
Welcome to <span style={{ color: 'teal', fontWeight: 600 }}>ScrollMe</span> Web Store, your ultimate destination for trendy and | ||
fashionable clothing. We pride ourselves on curating a diverse collection of high-quality apparel that caters to your unique style | ||
|
@@ -140,7 +135,6 @@ const Footer = () => { | |
</Center> | ||
<Right> | ||
<Title>Contact</Title> | ||
{/* Implimented LocationOn icon wrapped with link to open Google Maps pointing to the store's location */} | ||
<ContactItem> | ||
<a | ||
href='https://www.google.com/maps?q=622 Dixie Path, South Tobinchester 98336' | ||
|
@@ -157,7 +151,6 @@ const Footer = () => { | |
622 Dixie Path, South Tobinchester 98336 | ||
</a> | ||
</ContactItem> | ||
{/* LocalPhone icon wrapped with link to open phone dialer with the phone number */} | ||
<ContactItem> | ||
<a | ||
href='tel:+12345678' | ||
|
@@ -172,7 +165,6 @@ const Footer = () => { | |
+1 234 56 78 | ||
</a> | ||
</ContactItem> | ||
{/* Email icon wrapped with mailto link to open the default email client */} | ||
<ContactItem> | ||
<Email style={{ marginRight: '10px' }} /> | ||
<a href='mailto:[email protected]' style={{ color: 'inherit', textDecoration: 'none' }}> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Link } from 'react-router-dom'; | ||
import styled from 'styled-components'; | ||
|
||
// Styled component for the Logo (optional) | ||
const LogoWrapper = styled.h1``; | ||
|
||
const Logo = () => { | ||
return ( | ||
<LogoWrapper> | ||
<Link to='/'> | ||
SCROLL<span style={{ color: 'teal' }}>ME</span> | ||
</Link> | ||
</LogoWrapper> | ||
); | ||
}; | ||
|
||
export default Logo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import { AUTH_STATUS } from "../../api/endPoints"; | ||
import { createFetchOptions } from "../../utils/apiConfig"; | ||
import { AUTH_STATUS } from '../../api/endPoints'; | ||
import { createFetchOptions } from '../../utils/apiConfig'; | ||
import axios from 'axios'; | ||
|
||
export const checkAuthStatusAPI = async () => { | ||
const config = createFetchOptions('GET', true); | ||
return await axios | ||
.get(AUTH_STATUS.AUTH_STATUS, config) | ||
.then((response) => { | ||
return Promise.resolve(response.data); | ||
}) | ||
.catch((error) => { | ||
console.error(error.message); | ||
return Promise.reject(error.data); | ||
}); | ||
}; | ||
const config = createFetchOptions('GET', true); | ||
return await axios | ||
.get(AUTH_STATUS.AUTH_STATUS, config) | ||
.then((response) => { | ||
return Promise.resolve(response.data); | ||
}) | ||
.catch((error) => { | ||
console.error(error.message); | ||
return Promise.reject(error.data); | ||
}); | ||
}; |
Oops, something went wrong.