Skip to content

Commit 11bc94d

Browse files
committed
starting to change out logos
1 parent f992f2e commit 11bc94d

4 files changed

Lines changed: 36 additions & 31 deletions

File tree

app/components/Splash.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ const Splash: React.FC<SplashProps> = ({ setFirstVisit }) => {
1313

1414
return (
1515
<div id="splash">
16-
<img src={'../assets/icon.png'} alt="Chronos Logo" />
17-
<span>CHRONOS</span>
16+
<img src={'../assets/logo.svg'} alt="Chronos" />
1817
</div>
1918
);
2019
};

app/containers/SidebarContainer.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ import '../stylesheets/SidebarContainer.css';
1010
const SidebarContainer: React.FC = (): JSX.Element => (
1111
<div className="sidebar-container" id="mySidebar">
1212
<div className="sidebar">
13-
<img alt="Chronos Logo" id="serviceDashLogo" src={'../assets/icon.png'} />
14-
<img alt="Chronos Logo Mini" id="miniLogo" src={'../assets/icon.png'} />
13+
<img alt="Chronos Logo Mini" id="miniLogo" src={'../assets/C.svg'} />
1514
<Link className="sidebar-link" to="/" id="home">
1615
<HomeSharpIcon style={{ boxShadow: 'none', width: '40px', height: '40px' }} />
1716
&emsp;Home

app/stylesheets/Splash.css

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -11,40 +11,46 @@
1111
width: 100%;
1212
height: 100%;
1313
opacity: 1;
14-
animation-name: fadeInOpacity;
15-
animation-iteration-count: 1;
16-
animation-timing-function: ease-out;
17-
animation-duration: 3s;
14+
animation: fadeOut ease 6s;
15+
-webkit-animation: fadeOut ease 6s;
16+
-moz-animation: fadeOut ease 6s;
17+
-o-animation: fadeOut ease 6s;
18+
-ms-animation: fadeOut ease 6s;
1819
background-color: #161b2d;
1920
}
2021

21-
@keyframes fadeInOpacity {
22-
0% {
23-
opacity: 1;
24-
}
25-
66% {
26-
opacity: 0.66;
27-
}
28-
100% {
29-
opacity: 0;
30-
}
22+
@keyframes fadeOut {
23+
0% {opacity:1;}
24+
70% {opacity:0.5;}
25+
95% {opacity:0.25;}
26+
100% {opacity:0;}
27+
}
28+
29+
@-moz-keyframes fadeOut {
30+
0% {opacity:1;}
31+
100% {opacity:0;}
32+
}
33+
34+
@-webkit-keyframes fadeOut {
35+
0% {opacity:1;}
36+
100% {opacity:0;}
37+
}
38+
39+
@-o-keyframes fadeOut {
40+
0% {opacity:1;}
41+
100% {opacity:0;}
42+
}
43+
44+
@-ms-keyframes fadeOut {
45+
0% {opacity:1;}
46+
100% {opacity:0;}
3147
}
3248

3349
#splash img {
34-
height: 300px;
50+
width: 60%;
3551
margin-bottom: 0px;
3652
margin-top: -100px;
37-
animation: twirl 20s infinite linear;
38-
opacity: 0.8;
53+
opacity: 0.9;
3954
}
4055

41-
#splash span {
42-
color: #5490c8;
43-
font-size: 9vw;
44-
letter-spacing: 100px;
45-
margin-right: -100px;
46-
/* font-family: 'Inter', sans-serif; */
47-
font-family: 'Lexend Peta', sans-serif;
48-
/* font-weight: lighter; */
49-
}
5056

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"package-mac": "electron-packager . --overwrite --platform=darwin --arch=x64 --icon=assets/icons/mac/icon.icns --prune=true --out=release-builds",
1919
"create-installer-mac": "electron-installer-dmg ./release-builds/chronos-darwin-x64/chronos.app/ Chronos",
2020
"delete": "rm -r dist & rm -r build",
21-
"reinstall": "rm -r node_modules && npm install"
21+
"reinstall": "rm -r node_modules && npm install",
22+
"prepare": "tsc -v && tsc -p . && npm run build"
2223
},
2324
"babel": {
2425
"presets": [

0 commit comments

Comments
 (0)