Skip to content

Commit

Permalink
simplify styles
Browse files Browse the repository at this point in the history
- change global bg color
- add new lines svg
- remove unused styles
  • Loading branch information
Diogomartf committed Mar 1, 2024
1 parent eca3f60 commit d43d904
Show file tree
Hide file tree
Showing 19 changed files with 130 additions and 2,040 deletions.
3 changes: 0 additions & 3 deletions src/assets/images/arrow-down-hero.svg

This file was deleted.

Binary file removed src/assets/images/hero-graphic-desktop.png
Binary file not shown.
Binary file removed src/assets/images/hero-graphic-left.png
Binary file not shown.
102 changes: 102 additions & 0 deletions src/assets/images/lines.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import styled from 'styled-components'

import { scrollTo } from '../../../utils/helperFunctions'
import { breakpoints } from '../../../utils/theme'
import { FooterContent } from '../../../utils/uiConstants'

import SwaprLogo from './../../../assets/images/swapr-logo.svg'
import NavigationButton from './../../../assets/images/timeline-assets/navigation-button.png'
import Layout from './Layout'
import SwaprLogo from '../../assets/images/swapr-logo.svg'
import { breakpoints } from '../../utils/theme'
import { FooterContent } from '../../utils/uiConstants'
import Layout from '../LandingPageComponents/layout/Layout'

const Footer = () => {
return (
Expand All @@ -31,38 +28,26 @@ const Footer = () => {
</li>
))}
</ul>
<div className="cta-container">
<div
onClick={() => {
scrollTo('app-wrapper')
}}
className="timeline-navigation-button up"
/>
</div>
</div>
</StyledFooter>
)
}

const StyledFooter = styled(Layout)`
background: #0c0b11;
border-radius: 24px;
&#footer {
display: flex;
flex-direction: column;
/* margin-bottom: 80px; */
margin-top: 1rem;
margin-top: 8rem;
position: relative;
.footer-top {
margin-bottom: 42px;
position: absolute;
top: -12px;
img {
width: 113px;
}
}
.footer-content {
display: flex;
position: relative;
padding-bottom: 42px;
.footer-column-list {
display: flex;
margin-left: auto;
Expand Down Expand Up @@ -92,24 +77,6 @@ const StyledFooter = styled(Layout)`
display: flex;
align-items: center;
height: 32px;
.timeline-navigation-button {
width: 56px;
height: 56px;
background-image: url('${NavigationButton}');
background-position: center;
background-repeat: no-repeat;
background-size: contain;
cursor: pointer;
transition: ease-in-out 0.1s all;
transform: rotate(90deg);
&[disabled] {
opacity: 0;
pointer-events: none;
}
&:active {
transform: rotate(90deg) scale(0.9);
}
}
}
&:after {
content: '';
Expand Down
111 changes: 0 additions & 111 deletions src/components/LandingPageComponents/BlogNavigation.tsx

This file was deleted.

Loading

0 comments on commit d43d904

Please sign in to comment.