Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adriandelgg committed Nov 5, 2021
1 parent 2859381 commit 13714f5
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 18 deletions.
65 changes: 59 additions & 6 deletions frontend/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

body {
font-family: 'Roboto', sans-serif;
/* height: 100%; */
@apply bg-gray-50 dark:bg-gray-800 dark:text-indigo-50;
}

Expand All @@ -22,6 +23,46 @@ ol {
@apply list-decimal;
}

ul {
@apply list-disc;
}

header {
animation: fadeInDown 1.5s;
}

main {
animation: fadeInUp 1.5s;
}

footer {
animation: fadeInUp 1.5s;
}

.fade-in {
animation: fadeIn 0.5s;
}

@keyframes fadeIn {
0% {
opacity: 0;
}
}

@keyframes fadeInDown {
0% {
opacity: 0;
transform: translateY(-30px);
}
}

@keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(30px);
}
}

.link {
@apply underline text-blue-600 hover:text-blue-800
dark:hover:text-blue-300 dark:text-blue-400;
Expand All @@ -32,12 +73,12 @@ ol {
}

.nav-item {
@apply text-green-bp1 hover:text-green-800 px-2
@apply text-green-bp1 hover:text-green-800 px-2 list-none
font-medium text-lg dark:text-green-bp2 dark:hover:text-yellow-400;
}

.active-nav {
@apply border-b-2 border-green-300 text-green-bp1
@apply border-b-2 border-green-300 text-green-bp1 list-none
hover:text-green-800 hover:border-green-800 px-2
font-medium text-lg dark:text-green-bp2 dark:hover:text-yellow-400
dark:border-green-300 dark:hover:border-yellow-400;
Expand All @@ -53,19 +94,30 @@ ol {

.input-field {
@apply shadow appearance-none border rounded py-2 px-3
text-gray-700 leading-tight focus:outline-none
dark:bg-gray-700 dark:text-gray-100 dark:border-gray-300 dark:shadow-2xl;
text-gray-700 leading-tight focus:outline-none focus:border-green-500
dark:bg-gray-700 dark:text-gray-100 dark:border-gray-300 dark:shadow-2xl
dark:focus:border-green-500;
}

.input-label {
@apply px-1 pt-3 pb-1;
@apply px-1 pt-3 pb-1 font-medium text-lg;
}

.action-card {
@apply flex flex-col p-5 border w-min bg-blueGray-50
rounded-lg shadow dark:shadow-2xl dark:bg-coolGray-800;
}

.prediction-form {
@apply flex flex-col p-7 border w-max bg-blueGray-50
rounded-lg shadow dark:shadow-2xl dark:bg-coolGray-800;
}

.repeated-attendance {
@apply flex flex-col p-5 border w-max bg-blueGray-50
rounded-lg shadow dark:shadow-2xl dark:bg-coolGray-800;
}

.game-card {
@apply flex flex-col p-5 my-2 border
rounded-lg shadow dark:shadow-2xl;
Expand Down Expand Up @@ -95,5 +147,6 @@ ol {

.nft-card {
@apply m-10 max-w-xs rounded-2xl overflow-hidden
shadow-xl dark:shadow-2xl dark:bg-gray-700;
shadow-xl dark:shadow-2xl dark:bg-gray-700
bg-coolGray-100;
}
24 changes: 12 additions & 12 deletions hardhat/contracts/Greeter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ pragma solidity ^0.8.0;
import "hardhat/console.sol";

contract Greeter {
string private greeting;
string private greeting;

constructor(string memory _greeting) {
console.log("Deploying a Greeter with greeting:", _greeting);
greeting = _greeting;
}
constructor(string memory _greeting) {
console.log("Deploying a Greeter with greeting:", _greeting);
greeting = _greeting;
}

function greet() public view returns (string memory) {
return greeting;
}
function greet() public view returns (string memory) {
return greeting;
}

function setGreeting(string memory _greeting) public {
console.log("Changing greeting from '%s' to '%s'", greeting, _greeting);
greeting = _greeting;
}
function setGreeting(string memory _greeting) public {
console.log("Changing greeting from '%s' to '%s'", greeting, _greeting);
greeting = _greeting;
}
}

0 comments on commit 13714f5

Please sign in to comment.