Skip to content

Commit

Permalink
Added ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
5orenso committed Mar 22, 2022
1 parent 7e9559d commit 1dfa326
Showing 1 changed file with 162 additions and 0 deletions.
162 changes: 162 additions & 0 deletions preact/simple-blog-cms/src/index.ejs
@@ -0,0 +1,162 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Blog: CMS</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.10.1/css/all.css" integrity="sha384-wxqG4glGB3nlqX0bi23nmgwCSjWIW13BdLUEYC4VIMehfbcro/ATkyDsF/AbIOVe" crossorigin="anonymous">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pubsub-js/1.5.8/pubsub.min.js"></script>

<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/styles/default.min.css">

<style>
.youtube {
background-color: #000;
margin-bottom: 0px;
position: relative;
padding-top: 56.25%;
overflow: hidden;
cursor: pointer;
}
.youtube img {
width: 100%;
top: -16.84%;
left: 0;
opacity: 0.7;
}
.youtube .play-button {
width: 90px;
height: 60px;
background-color: #333;
box-shadow: 0 0 30px rgba( 0,0,0,0.6 );
z-index: 1;
opacity: 0.8;
border-radius: 6px;
}
.youtube .play-button:before {
content: "";
border-style: solid;
border-width: 15px 0 15px 26.0px;
border-color: transparent transparent transparent #fff;
}
.youtube img,
.youtube .play-button {
cursor: pointer;
}
.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before {
position: absolute;
}
.youtube .play-button,
.youtube .play-button:before {
top: 50%;
left: 50%;
transform: translate3d( -50%, -50%, 0 );
}
.youtube iframe {
height: 100%;
width: 100%;
top: 0;
left: 0;
}
.imageRounded {
width: 76px;
min-width: 76px;
height: 76px;
min-height: 76px;
background-size: cover;
background-repeat: no-repeat;
background-position: 50% 50%;
}
.imageRoundedXLarge {
width: 250px;
min-width: 250px;
height: 250px;
min-height: 250px;
}
.imageRoundedLarge {
width: 150px;
min-width: 150px;
height: 150px;
min-height: 150px;
}
.imageRoundedMedium {
width: 55px;
min-width: 55px;
height: 55px;
min-height: 55px;
}
.imageRoundedSmall {
width: 40px;
min-width: 40px;
height: 40px;
min-height: 40px;
}
.imageRoundedThumb {
width: 25px;
min-width: 25px;
height: 25px;
min-height: 25px;
}
.imageRoundedIcon {
width: 17px;
min-width: 17px;
height: 17px;
min-height: 17px;
}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
.vh-100 {
height: inherit !important;
}
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
.vh-100 {
height: inherit !important;
}
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}
</style>
</head>

<body>
<div data-widget="simpleBlogCms">
<script type="text/props">
{
"apiServer": "http://localhost:8080",
"jwtToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNvcmVuc29AZ21haWwuY29tIiwiaWF0IjoxNTUyNzQzNjY0fQ.hH6KvN2MskaUm1wukTsTBxty7ZvnAKLaCdyUV2eIG-M",
"sessionEmail": "sorenso@gmail.com",
"bgColorMenu": "#4F6980"
}
</script>
</div>

<script async src="/bundle.js"></script>
</body>

</html>

0 comments on commit 1dfa326

Please sign in to comment.