aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Watermark.js
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2021-03-05 22:17:18 -0800
committerjackyzha0 <[email protected]>2021-03-05 22:17:18 -0800
commit3e8500d466b641ef34c24f8b0de8163a44ba7a9e (patch)
treeebb3411d636912b12f9fee14ecd494601cd796fc /frontend/src/components/Watermark.js
parentremove extra langs (diff)
downloadctrl-v-3e8500d466b641ef34c24f8b0de8163a44ba7a9e.tar.xz
ctrl-v-3e8500d466b641ef34c24f8b0de8163a44ba7a9e.zip
refactoring css
Diffstat (limited to 'frontend/src/components/Watermark.js')
-rw-r--r--frontend/src/components/Watermark.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/frontend/src/components/Watermark.js b/frontend/src/components/Watermark.js
new file mode 100644
index 0000000..027aeb6
--- /dev/null
+++ b/frontend/src/components/Watermark.js
@@ -0,0 +1,26 @@
+import styled from "styled-components";
+import React from "react";
+
+const Logo = styled.h1`
+ position: absolute;
+ bottom: 0.75em;
+ left: 1em;
+ opacity: 0.3;
+ font-size: 50px;
+ margin: 0 0;
+ transition: opacity 0.5s cubic-bezier(.25,.8,.25,1);
+
+ & > a {
+ text-decoration: none;
+ position: relative;
+ color: ${p => p.theme.colors.text};
+
+ }
+
+ &:hover {
+ opacity: 1;
+ }
+`
+export const Watermark = () => <Logo>
+ <a href="https://github.com/jackyzha0/ctrl-v">ctrl-v</a>
+</Logo> \ No newline at end of file