Skip to content

Commit

Permalink
♻️ refactor: added styled component for letter g in logotext
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayngie committed Jan 22, 2024
1 parent 343b62f commit 7624ad3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/layout/header/PageLogo.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Link } from "react-router-dom";
import logoImg from "/G-logo.png";
import { LogoTextContainer, LogoWrapper, StyledLogoContainer, StyledLogoImg, StyledLogoText } from "../../styles/layout/header/StyledLogo";
import { LogoTextContainer, LogoWrapper, StyledLogoContainer, StyledLogoImg, StyledLogoText, LetterG } from "../../styles/layout/header/StyledLogo";

export const PageLogo = () => {

Expand All @@ -11,7 +11,7 @@ export const PageLogo = () => {
<StyledLogoImg alt="G-logotype" src={logoImg}></StyledLogoImg>
<LogoTextContainer>
<StyledLogoText>raviditetsdiabetes</StyledLogoText>
<StyledLogoText>uiden</StyledLogoText>
<StyledLogoText><LetterG>g</LetterG>uiden</StyledLogoText>
</LogoTextContainer>
</StyledLogoContainer>
</Link>
Expand Down
4 changes: 4 additions & 0 deletions src/components/styles/layout/header/StyledLogo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ export const StyledLogoText = styled.span `
}
`;

export const LetterG = styled.span `
//make responsive the letter g
`;

export const LogoWrapper = styled.div `
padding-top: 4%;
width: 60%;
Expand Down

0 comments on commit 7624ad3

Please sign in to comment.