aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Watermark.js
blob: 60c0407105d9d5a936fe4336f3eeb0a7f2439639 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import styled from "styled-components";
import React from "react";
import Footer from "./Footer";

const Logo = styled.div`
  position: fixed;
  bottom: 1em;
  left: 2em;
  opacity: 0.3;
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);

  &:hover {
    opacity: 1;
  }

  & > h1 {
    font-size: 50px;
    margin: 0 0;

    & > a {
      text-decoration: none;
      position: relative;
      color: ${(p) => p.theme.colors.text};
    }
  }

  @media (max-width: 960px) {
    position: relative;
    display: grid;
    left: -6em;
    font-size: 10px;
  }
`;
export const Watermark = () => (
  <Logo>
    <h1>
      <a href="https://github.com/jackyzha0/ctrl-v">ctrl-v</a>
    </h1>
    <Footer />
  </Logo>
);