Skip to content

Commit

Permalink
jekyll build from Action e57aac5
Browse files Browse the repository at this point in the history
  • Loading branch information
ujibang committed Jan 14, 2024
0 parents commit 704dcdc
Show file tree
Hide file tree
Showing 460 changed files with 187,342 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
51 changes: 51 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<script>
// in the past the documentation structure was flat
// then we moved pages in several subdirectories
// this scripts tries to redirect requests for old pages
// /docs/etag -> /docs/mongodb-rest/etag

// remove first slash char
var path = window.location.pathname.substr(1);

if (path[path.length-1] == "/") {
path = path.substr(0, path.length - 1);
}

path = path.substr(path.indexOf("/"));

// prepend to path
const pathMongoREST = '/docs/mongodb-rest/' + path;
const pathMongoWebsocket = '/docs/mongodb-websocket/' + path;
const pathMongoGraphQL = '/docs/mongodb-graphql/' + path;
path = '/docs' + path;

var URL = window.location.origin + path

const URLMongoREST = window.location.origin + pathMongoREST;
const URLMongoWebsocket = window.location.origin + pathMongoWebsocket;
const URLMongoGraphQL = window.location.origin + pathMongoGraphQL;

//console.log(URL);
//console.log(URLV3);
var requestedPageExists = function(resourceUrl){
var http = new XMLHttpRequest();

http.open('GET', resourceUrl, false);
http.send();

return http.status != 404;
}

if(requestedPageExists(URL)) {
window.location.replace(URL);
} else if (requestedPageExists(URLMongoREST)) {
window.location.replace(URLMongoREST);
} else if (requestedPageExists(URLMongoWebsocket)) {
window.location.replace(URLMongoWebsocket);
} else if (requestedPageExists(URLMongoGraphQL)) {
window.location.replace(URLMongoGraphQL);
} else {
window.location.replace(window.location.origin + '/not-found');
};
</script>

1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
restheart.org
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
restheart-website
=================

[restheart.org](https://restheart.org) Web site.

## RESTHeart - Ready to use backend for the modern Web.

### Automatic REST, GraphQL and WebSocket APIs for MongoDB and any compatible database.

fork it on [GitHub](https://github.com/SoftInstigate/restheart)
<hr></hr>

_Made with :heart: by [SoftInstigate](https://www.softinstigate.com/)_
Binary file added assets/Brochure - RESTHeart 6.pdf
Binary file not shown.
Binary file added assets/RESTHeart 6 - Overview.pdf
Binary file not shown.
216 changes: 216 additions & 0 deletions assets/animated-headline/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
/* --------------------------------
Primary style
-------------------------------- */

*, *::after, *::before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

.animated-container {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 62.5%;
}

.cd-title {
position: relative;
height: 160px;
line-height: 230px;
text-align: center;
}
.cd-title h1 {
font-size: 2.4rem;
font-weight: 700;
}
@media only screen and (min-width: 768px) {
.cd-title {
line-height: 250px;
}
}

@media only screen and (min-width: 1170px) {
.cd-title {
height: 200px;
line-height: 300px;
}
.cd-title h1 {
font-size: 3rem;
}
}

.cd-intro {
max-width: 100vw;
text-align: center;
}

.cd-intro {
margin: 4em auto;
}
@media only screen and (min-width: 768px) {
.cd-intro {
margin: 5em auto;
}
}
@media only screen and (min-width: 1170px) {
.cd-intro {
margin: 6em auto;
}
}

.cd-headline {
font-size: 1.5rem;
line-height: 1.2;
}

.cd-headline i {
font-style: normal!important
}

@media only screen and (min-width: 768px) {
.cd-headline {
font-size: 1.4rrem;
font-weight: 200;
}
}
@media only screen and (min-width: 1170px) {
.cd-headline {
font-size: 1.6rem;
}
}

.cd-words-wrapper {
display: inline-block;
position: relative;
min-height: 90px;
}

.cd-words-wrapper b {
display: inline-block;
position: absolute;
left: 0;
top: 0;
}
.cd-words-wrapper b.is-visible {
position: relative;
}
.no-js .cd-words-wrapper b {
opacity: 0;
}
.no-js .cd-words-wrapper b.is-visible {
opacity: 1;
}

/* --------------------------------
xtype
-------------------------------- */
.cd-headline.type .cd-words-wrapper {
vertical-align: top;
overflow: hidden;
/* min-height: 76px; */
min-width: 90%;
}
.cd-headline.type .cd-words-wrapper::after {
/* vertical bar */
content: '';
position: absolute;
right: 0;
top: 50%;
bottom: auto;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
height: 90%;
width: 1px;
background-color: #aebcb9;
}
.cd-headline.type .cd-words-wrapper.waiting::after {
-webkit-animation: cd-pulse 1s infinite;
-moz-animation: cd-pulse 1s infinite;
animation: cd-pulse 1s infinite;
}
/* .cd-headline.type .cd-words-wrapper.selected {
background-color: lightgray;
} */
.cd-headline.type .cd-words-wrapper.selected::after {
visibility: hidden;
}
.cd-headline.type .cd-words-wrapper.selected b {
color: #e59728;
}
.cd-headline.type b {
visibility: hidden;
}
.cd-headline.type b.is-visible {
visibility: visible;
}
.cd-headline.type i {
position: absolute;
visibility: hidden;
}
.cd-headline.type i.in {
position: relative;
visibility: visible;
}

@-webkit-keyframes cd-pulse {
0% {
-webkit-transform: translateY(-50%) scale(1);
opacity: 1;
}
40% {
-webkit-transform: translateY(-50%) scale(0.9);
opacity: 0;
}
100% {
-webkit-transform: translateY(-50%) scale(0);
opacity: 0;
}
}
@-moz-keyframes cd-pulse {
0% {
-moz-transform: translateY(-50%) scale(1);
opacity: 1;
}
40% {
-moz-transform: translateY(-50%) scale(0.9);
opacity: 0;
}
100% {
-moz-transform: translateY(-50%) scale(0);
opacity: 0;
}
}
@keyframes cd-pulse {
0% {
-webkit-transform: translateY(-50%) scale(1);
-moz-transform: translateY(-50%) scale(1);
-ms-transform: translateY(-50%) scale(1);
-o-transform: translateY(-50%) scale(1);
transform: translateY(-50%) scale(1);
opacity: 1;
}
40% {
-webkit-transform: translateY(-50%) scale(0.9);
-moz-transform: translateY(-50%) scale(0.9);
-ms-transform: translateY(-50%) scale(0.9);
-o-transform: translateY(-50%) scale(0.9);
transform: translateY(-50%) scale(0.9);
opacity: 0;
}
100% {
-webkit-transform: translateY(-50%) scale(0);
-moz-transform: translateY(-50%) scale(0);
-ms-transform: translateY(-50%) scale(0);
-o-transform: translateY(-50%) scale(0);
transform: translateY(-50%) scale(0);
opacity: 0;
}
}
Loading

0 comments on commit 704dcdc

Please sign in to comment.