Skip to content
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
63 changes: 0 additions & 63 deletions src/domains/misc/components/Layout/AnimatingBackground.tsx

This file was deleted.

43 changes: 14 additions & 29 deletions src/domains/misc/components/Layout/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import styled from 'styled-components';

import Button from 'src/domains/misc/components/Button';
import {
BREAKPOINTS,
CHANGELOG_LINK,
Expand All @@ -27,30 +26,20 @@ const Footer = () => (
</Link>
<Link href={LANDING_PAGE_LINK} target="_blank" rel="noopener noreferrer">blanksquare.io</Link>
</InnerContainer>
<CopyrightContainer data-chromatic="ignore">
<InnerContainer>
<Copyright>
Copyright © {new Date().getFullYear()} Blanksquare, ver. {import.meta.env.APP_VERSION}
</Copyright>
<Link href={TERMS_OF_SERVICE_LINK} target="_blank" rel="noopener noreferrer">
Terms of service
</Link>
<Link href={PRIVACY_POLICY_LINK} target="_blank" rel="noopener noreferrer">
Privacy policy
</Link>
<Link href={FRAUD_PROTECTION_LINK} target="_blank" rel="noopener noreferrer">
Fraud Protection Policy
</Link>
</InnerContainer>
<Button
variant="outline"
size="extra-small"
rightIcon="Open"
onClick={() => window.open('https://dex.common.fi/', '_blank', 'noopener')}
>
DEX and Bridge (WASM)
</Button>
</CopyrightContainer>
<InnerContainer data-chromatic="ignore">
<Copyright>
Copyright © {new Date().getFullYear()} Blanksquare, ver. {import.meta.env.APP_VERSION}
</Copyright>
<Link href={TERMS_OF_SERVICE_LINK} target="_blank" rel="noopener noreferrer">
Terms of service
</Link>
<Link href={PRIVACY_POLICY_LINK} target="_blank" rel="noopener noreferrer">
Privacy policy
</Link>
<Link href={FRAUD_PROTECTION_LINK} target="_blank" rel="noopener noreferrer">
Fraud Protection Policy
</Link>
</InnerContainer>
</Container>
);

Expand Down Expand Up @@ -79,10 +68,6 @@ const InnerContainer = styled.div`
flex-wrap: wrap;
`;

const CopyrightContainer = styled(InnerContainer)`
justify-content: space-between;
`;

const Copyright = styled.div`
width: 100%;
color: ${vars('--color-neutral-foreground-4-rest')};
Expand Down
2 changes: 0 additions & 2 deletions src/domains/misc/components/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import styled from 'styled-components';
import { BREAKPOINTS, BOTTOM_NAVIGATION_HEIGHT, BOTTOM_MENU_BREAKPOINT } from 'src/domains/misc/consts/consts';
import vars from 'src/domains/styling/utils/vars';

import AnimatingBackground from './AnimatingBackground';
import Footer from './Footer';
import Navigation from './Navigation';
import TopBar from './TopBar';
Expand Down Expand Up @@ -38,7 +37,6 @@ const Layout = ({ children }: Props) => {
<BottomNavigationContent position="ceiling" />
</BottomNavigationContainer>
)}
<AnimatingBackground />
</Wrapper>
);
};
Expand Down
36 changes: 0 additions & 36 deletions src/domains/misc/components/Layout/bgAnimation.svg

This file was deleted.