0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 22:02:46 +00:00

initial commit

This commit is contained in:
Víctor Losada Hernández
2025-01-31 23:20:35 +01:00
parent 66bfc8f27b
commit 3ce9bb1310
5 changed files with 44 additions and 35 deletions

View File

@@ -14,7 +14,8 @@ const Stats = createClass({
getInitialState(){
return {
stats : {
totalBrews : 0
totalBrews : 0,
totalPublishedBrews : 0
},
fetching : false
};
@@ -34,6 +35,8 @@ const Stats = createClass({
<dl>
<dt>Total Brew Count</dt>
<dd>{this.state.stats.totalBrews}</dd>
<dt>Total Brews Published</dt>
<dd>{this.state.stats.totalPublishedBrews}</dd>
</dl>
{this.state.fetching

View File

@@ -4,10 +4,13 @@
.pending {
position : absolute;
top : 0px;
left : 0px;
top : 0.5em;
left : 100px;
width : 100%;
height : 100%;
background-color : rgba(238,238,238, 0.5);
}
&:has(.pending) {
opacity:0.5;
}
}