Skip to content

Commit

Permalink
Merge pull request #22 from polywrap/site-styling
Browse files Browse the repository at this point in the history
chore: update styling
  • Loading branch information
dOrgJelli authored Aug 19, 2023
2 parents 9db45c6 + c554e9e commit 310e501
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 24 deletions.
3 changes: 3 additions & 0 deletions site/public/discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions site/public/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions site/public/twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified site/public/wallpaper.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 39 additions & 20 deletions site/src/App.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.App {
text-align: center;
color: #FF572E;
background-color: #000000b8;
color: #FFFFFF;
background-color: #00000078;
}

.App-logo {
Expand All @@ -18,21 +18,40 @@
.App-header {
min-height: 100vh;
display: flex;
flex-direction: column;
flex-direction: row;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: #FF572E;
color: #FFFFFF;
}

.Header-Links {
position: absolute;
display: flex;
top: 0;
right: 0;
height: 60px;
margin-right: 50px;
}

.Header-Links a {
margin: 10px;
margin-top: 20px;
display: inherit;
}

.Header-Links a:hover {
filter: contrast(0.5)
}

.App-link {
color: #FF572E;
color: #FFFFFF;
}

.App button {
padding: 10px 20px;
font-size: 1em;
color: #FF572E;
color: #FFFFFF;
background-color: #181818b8;
border: none;
border-radius: 5px;
Expand All @@ -50,14 +69,14 @@
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #000000b8;
background-color: #00000098;
}

.Features {
display: flex;
justify-content: space-between;
padding: 20px;
color: #FF572E;
color: #FFFFFF;
align-items: stretch;
justify-content: center;
max-width: 75vw;
Expand Down Expand Up @@ -99,8 +118,8 @@
display: flex;
justify-content: space-between;
padding: 20px;
background-color: #00000000b8;
color: #FF572E;
background-color: #00000000;
color: #FFFFFF;
align-items: stretch;
justify-content: center;
max-width: 75vw;
Expand Down Expand Up @@ -133,51 +152,51 @@
@import url(https://fonts.googleapis.com/css?family=Exo:100);
@-webkit-keyframes bg-scrolling-reverse {
100% {
background-position: 0 500px;
background-position: 0 250px;
}
}
@-moz-keyframes bg-scrolling-reverse {
100% {
background-position: 0 500px;
background-position: 0 250px;
}
}
@-o-keyframes bg-scrolling-reverse {
100% {
background-position: 0 500px;
background-position: 0 250px;
}
}
@keyframes bg-scrolling-reverse {
100% {
background-position: 0 500px;
background-position: 0 250px;
}
}
@-webkit-keyframes bg-scrolling {
0% {
background-position: 0 500px;
background-position: 0 250px;
}
}
@-moz-keyframes bg-scrolling {
0% {
background-position: 0 500px;
background-position: 0 250px;
}
}
@-o-keyframes bg-scrolling {
0% {
background-position: 0 500px;
background-position: 0 250px;
}
}
@keyframes bg-scrolling {
0% {
background-position: 0 500px;
background-position: 0 250px;
}
}

body {
color: #999;
font: 400 16px/1.5 exo, ubuntu, "segoe ui", helvetica, arial, sans-serif;
text-align: center;
/* img size is 50x50 */
background: url("/public/wallpaper-bw.png") repeat 0 0;
/* img size is 25x25 */
background: url("/public/wallpaper.png") repeat 0 0 / 461px 250px;
-webkit-animation: bg-scrolling-reverse 5s infinite;
/* Safari 4+ */
-moz-animation: bg-scrolling-reverse 5s infinite;
Expand Down
21 changes: 17 additions & 4 deletions site/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,23 @@ function App() {
return (
<div className="App">
<header className="App-header">
<h1>evo.ninja</h1>
<img src="avatar.png" alt="Evo" width={200} />
<h2>An AI that never stops learning.</h2>
<button onClick={scrollToFeatures}>Learn More</button>
<section className="Header-Links">
<a href="https://discord.polywrap.io" target="_blank" rel="noopener noreferrer">
<img src="discord.svg" alt="Discord" />
</a>
<a href="https://twitter.com/evo_ninja_ai" target="_blank" rel="noopener noreferrer">
<img src="twitter.svg" alt="Twitter" />
</a>
<a href="https://github.com/polywrap/evo.ninja" target="_blank" rel="noopener noreferrer">
<img src="github.svg" alt="Github" />
</a>
</section>
<section className="Hero">
<h1>evo.ninja</h1>
<img src="avatar.png" alt="Evo" width={200} />
<h2>The AI that evolves in real-time</h2>
<button onClick={scrollToFeatures}>Learn More</button>
</section>
</header>
<section className="FeaturesSection">
<h1>Under The Hood</h1>
Expand Down

0 comments on commit 310e501

Please sign in to comment.