Skip to content

Commit

Permalink
added frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
arshit09 committed Sep 10, 2019
1 parent e53d312 commit d21a52e
Show file tree
Hide file tree
Showing 17 changed files with 4,623 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/AI-Photo-Editor
Submodule AI-Photo-Editor added at 1297cd
35 changes: 35 additions & 0 deletions frontend/blrtohd.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./css/reset.min.css">
<link href='https://fonts.googleapis.com/css?family=Julius Sans One' rel='stylesheet'>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Megrim' rel='stylesheet'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AI Editor | Homepage</title>
<link rel="icon" href="image/o-letter.png" type="image/png" sizes="16x16">
</head>
<body>

<nav class="black">
<div class="nav-wrapper">
<a href="index.html" class="brand-logo">AI Ph<img style="height:17px ;width:17px;"
src="image/o-letter.png">to Editor</a>
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li><a href="index.html">Home</a></li>
<li><a href="#">Downloads</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
</nav>
<div style="text-align: center;color: white;" class="fontst">Convert To High Resolution Photo</div>
<div class="desc">From Low Resolution</div>



</body>
</html>
3 changes: 3 additions & 0 deletions frontend/cool-button/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
A Pen created at CodePen.io. You can find this one at https://codepen.io/canvasplay/pen/WXWobd.

just a cool shiny button
154 changes: 154 additions & 0 deletions frontend/cool-button/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
@import url("https://fonts.googleapis.com/css?family=Work+Sans:400,700,900");
body {
font-family: 'Work Sans', sans-serif;
background: #111;
text-align: center;
}

.wrapper {
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.button {
touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
display: inline-block;
border: .2em solid;
position: relative;
cursor: pointer;
overflow: hidden;
opacity: 0.6;
color: #FFF;
}
.button__text {
display: block;
padding: 1em 2em;
text-transform: uppercase;
font-weight: bold;
}
.button__text:before {
content: attr(title);
}
.button__text--bis {
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
-webkit-transform: translateX(-1em);
transform: translateX(-1em);
opacity: 0;
}
.button__mask {
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: white;
-webkit-transform: translateX(-100%) rotate(45deg);
transform: translateX(-100%) rotate(45deg);
transition: all 0.3s;
}

.button:hover {
opacity: 1;
}
.button:hover .button__text {
-webkit-animation: fx-text .3s ease-out;
animation: fx-text .3s ease-out;
}
.button:hover .button__text--bis {
-webkit-animation: fx-text-bis .3s ease-out;
animation: fx-text-bis .3s ease-out;
}
.button:hover .button__mask {
-webkit-animation: fx-mask .3s ease-out;
animation: fx-mask .3s ease-out;
}

.button:active {
opacity: 1;
background: white;
color: inherit;
}

@-webkit-keyframes fx-mask {
0% {
-webkit-transform: translateX(-100%) rotate(45deg);
transform: translateX(-100%) rotate(45deg);
}
100% {
-webkit-transform: translateX(100%) rotate(45deg);
transform: translateX(100%) rotate(45deg);
}
}

@keyframes fx-mask {
0% {
-webkit-transform: translateX(-100%) rotate(45deg);
transform: translateX(-100%) rotate(45deg);
}
100% {
-webkit-transform: translateX(100%) rotate(45deg);
transform: translateX(100%) rotate(45deg);
}
}
@-webkit-keyframes fx-text {
0% {
-webkit-transform: translateX(0);
transform: translateX(0);
opacity: 1;
}
100% {
-webkit-transform: translateX(1em);
transform: translateX(1em);
opacity: 0;
}
}
@keyframes fx-text {
0% {
-webkit-transform: translateX(0);
transform: translateX(0);
opacity: 1;
}
100% {
-webkit-transform: translateX(1em);
transform: translateX(1em);
opacity: 0;
}
}
@-webkit-keyframes fx-text-bis {
0% {
-webkit-transform: translateX(-1em);
transform: translateX(-1em);
opacity: 0;
}
100% {
-webkit-transform: translateX(0);
transform: translateX(0);
opacity: 1;
}
}
@keyframes fx-text-bis {
0% {
-webkit-transform: translateX(-1em);
transform: translateX(-1em);
opacity: 0;
}
100% {
-webkit-transform: translateX(0);
transform: translateX(0);
opacity: 1;
}
}
12 changes: 12 additions & 0 deletions frontend/cool-button/license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@


<!--
Copyright (c) 2018 by canvasplay (https://codepen.io/canvasplay/pen/WXWobd)


Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-->
103 changes: 103 additions & 0 deletions frontend/cool-button/scss/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
@import url('https://fonts.googleapis.com/css?family=Work+Sans:400,700,900');

$anim-text-offset: 1em;

body{
font-family: 'Work Sans', sans-serif;
background: #111;
text-align: center;
}
.wrapper{
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.button{
touch-callout: none;
user-select: none;
display: inline-block;
border: .2em solid;
position: relative;
cursor: pointer;
overflow: hidden;
opacity: 0.6;
color: #FFF;
&__text{
display: block;
padding:1em 2em;
text-transform: uppercase;
font-weight: bold;
&:before{
content: attr(title);
}
&--bis{
display: block;
position: absolute;
top: 0; left:0; right: 0; bottom: 0;
transform: translateX(-1 * $anim-text-offset);
opacity: 0;
}
}
&__mask{
display: block;
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: white;
transform: translateX(-100%) rotate(45deg);
transition: all 0.3s;
}
}

.button:hover{
opacity: 1;
.button__text{
animation: fx-text .3s ease-out;
&--bis{
animation: fx-text-bis .3s ease-out;
}
}
.button__mask{
animation: fx-mask .3s ease-out;
}
}

.button:active{
opacity: 1;
background: white;
color: inherit;
}



@keyframes fx-mask {
0%{
transform: translateX(-100%) rotate(45deg);
}
100%{
transform: translateX(100%) rotate(45deg);
}
}

@keyframes fx-text {
0%{
transform: translateX(0);
opacity: 1;
}
100%{
transform: translateX($anim-text-offset);
opacity: 0;
}
}
@keyframes fx-text-bis {
0%{
transform: translateX(-1 * $anim-text-offset);
opacity: 0;
}
100%{
transform: translateX(0);
opacity: 1;
}
}
Loading

0 comments on commit d21a52e

Please sign in to comment.