Compare commits
6 Commits
e93cc66f5a
...
cnt-deploy
Author | SHA1 | Date | |
---|---|---|---|
2ce3f4ff51 | |||
36d5d2c976 | |||
d2cb5780bf | |||
10d06b0a10 | |||
3a64678ea0 | |||
c15948115a |
27
.drone.yml
Normal file
27
.drone.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: continuous deployment
|
||||||
|
steps:
|
||||||
|
- name: build image
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
username:
|
||||||
|
from_secret: docker_reg_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_reg_passwd
|
||||||
|
repo: decentral1se/beta.lumbung.space
|
||||||
|
tags: latest
|
||||||
|
|
||||||
|
- name: deploy stack
|
||||||
|
image: decentral1se/stack-ssh-deploy:latest
|
||||||
|
settings:
|
||||||
|
stack: beta_lumbung_space
|
||||||
|
host: lumbung.space
|
||||||
|
deploy_key:
|
||||||
|
from_secret: drone_ssh_lumbung.space
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
|
*.lock
|
||||||
.env
|
.env
|
||||||
/public/
|
.venv/
|
||||||
/content/
|
/content/
|
||||||
.venv/
|
/public/
|
||||||
|
11
Dockerfile
11
Dockerfile
@ -1,11 +0,0 @@
|
|||||||
FROM klakegg/hugo:alpine
|
|
||||||
|
|
||||||
RUN apk add --no-cache curl git
|
|
||||||
|
|
||||||
EXPOSE 1313
|
|
||||||
|
|
||||||
COPY . /src/
|
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/bash"]
|
|
||||||
|
|
||||||
CMD ["-c", "hugo server --appendPort='false' --bind 0.0.0.0 --baseUrl='https://beta.lumbung.space' --port='1313' -F"]
|
|
7
Dockerfile.hugo
Normal file
7
Dockerfile.hugo
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
FROM klakegg/hugo:alpine
|
||||||
|
|
||||||
|
RUN apk add --no-cache curl git
|
||||||
|
|
||||||
|
EXPOSE 1313
|
||||||
|
|
||||||
|
COPY . /src/
|
@ -1,5 +1,7 @@
|
|||||||
# living room
|
# living room
|
||||||
|
|
||||||
|
[](https://drone.autonomic.zone/ruangrupa/living-room)
|
||||||
|
|
||||||
> A new attempt to bring together the ideas of the "splash" page, "portal" page
|
> A new attempt to bring together the ideas of the "splash" page, "portal" page
|
||||||
> and a comfortable digital "living room" experience for lumbung[dot]space.
|
> and a comfortable digital "living room" experience for lumbung[dot]space.
|
||||||
> This is a work in progress. The end goal of this is to have a new design and
|
> This is a work in progress. The end goal of this is to have a new design and
|
||||||
|
@ -14,6 +14,14 @@ services:
|
|||||||
start_period: 15s
|
start_period: 15s
|
||||||
volumes:
|
volumes:
|
||||||
- content:/src/content
|
- content:/src/content
|
||||||
|
command: |
|
||||||
|
server
|
||||||
|
--appendPort='false'
|
||||||
|
--bind 0.0.0.0
|
||||||
|
--baseUrl='https://beta.lumbung.space'
|
||||||
|
--port='1313'
|
||||||
|
--buildFuture
|
||||||
|
--watch
|
||||||
deploy:
|
deploy:
|
||||||
update_config:
|
update_config:
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
|
6
makefile
6
makefile
@ -9,4 +9,8 @@ gen:
|
|||||||
lumbunglib-cal && \
|
lumbunglib-cal && \
|
||||||
OUTPUT_DIR=content/video lumbunglib-vid
|
OUTPUT_DIR=content/video lumbunglib-vid
|
||||||
|
|
||||||
.PHONY: serve
|
push-hugo:
|
||||||
|
@docker build -t decentral1se/beta.lumbung.space -f Dockerfile.hugo . && \
|
||||||
|
docker push decentral1se/beta.lumbung.space
|
||||||
|
|
||||||
|
.PHONY: serve gen push-hugo
|
||||||
|
@ -56,7 +56,7 @@ a {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card{
|
.card {
|
||||||
border: 2px solid var(--border-color);
|
border: 2px solid var(--border-color);
|
||||||
box-shadow:1em 1em 0 #d2d1c8;
|
box-shadow:1em 1em 0 #d2d1c8;
|
||||||
background-color: #fff09d;
|
background-color: #fff09d;
|
||||||
@ -68,7 +68,7 @@ a {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card{
|
.card {
|
||||||
background-color: peachpuff;
|
background-color: peachpuff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,24 +78,24 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.card:nth-child(even){
|
.card:nth-child(even) {
|
||||||
transform: rotate(-1deg);
|
transform: rotate(-1deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.card:nth-child(odd){
|
.card:nth-child(odd) {
|
||||||
transform: rotate(1deg);
|
transform: rotate(1deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.card:nth-child(5){
|
.card:nth-child(5) {
|
||||||
transform: rotate(2deg);
|
transform: rotate(2deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.video.box{
|
.video.box {
|
||||||
margin-top:3em;
|
margin-top:3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bar{
|
.bar {
|
||||||
border: 2px solid var(--border-color);
|
border: 2px solid var(--border-color);
|
||||||
box-shadow: 0.6em 0.6em 0 #d2d1c8;
|
box-shadow: 0.6em 0.6em 0 #d2d1c8;
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
@ -104,21 +104,21 @@ a {
|
|||||||
background-color: #fff09d;
|
background-color: #fff09d;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-feed{
|
.h-feed {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row wrap;
|
flex-flow: row wrap;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.entries{
|
.entries {
|
||||||
padding-top: 10%;
|
padding-top: 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* base header & menu */
|
/* base header & menu */
|
||||||
|
|
||||||
#top-menu{
|
#top-menu {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 5%;
|
left: 5%;
|
||||||
transform: translate(-50%);
|
transform: translate(-50%);
|
||||||
@ -155,7 +155,7 @@ a {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu ul{
|
.menu ul {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -175,7 +175,7 @@ a {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-entry header h2{
|
.h-entry header h2 {
|
||||||
padding: 0.2em;
|
padding: 0.2em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-right: 0.3em;
|
padding-right: 0.3em;
|
||||||
@ -184,7 +184,7 @@ a {
|
|||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-entry header h2:hover{
|
.h-entry header h2:hover {
|
||||||
box-shadow: inset 4px 4px 0px tomato;
|
box-shadow: inset 4px 4px 0px tomato;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
@ -195,7 +195,7 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.h-entry header .header-metadata{
|
.h-entry header .header-metadata {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: column wrap;
|
flex-flow: column wrap;
|
||||||
@ -241,7 +241,7 @@ a {
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.summary-image{
|
.summary-image {
|
||||||
border-right: 2px solid var(--border-color);
|
border-right: 2px solid var(--border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -254,6 +254,7 @@ footer.post-footer {
|
|||||||
border-top: 2px solid var(--border-color);
|
border-top: 2px solid var(--border-color);
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.read-more {
|
.read-more {
|
||||||
border-top: 2px solid var(--border-color);
|
border-top: 2px solid var(--border-color);
|
||||||
border-left: 2px solid var(--border-color);
|
border-left: 2px solid var(--border-color);
|
||||||
@ -264,8 +265,7 @@ footer.post-footer {
|
|||||||
|
|
||||||
/* network cards */
|
/* network cards */
|
||||||
|
|
||||||
.card.network{
|
.card.network {
|
||||||
|
|
||||||
border: 2px solid darkcyan;
|
border: 2px solid darkcyan;
|
||||||
box-shadow:1em 1em 0 #d2d1c8;
|
box-shadow:1em 1em 0 #d2d1c8;
|
||||||
background-color: lightgreen;
|
background-color: lightgreen;
|
||||||
@ -283,13 +283,13 @@ footer.post-footer {
|
|||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-entry.network header h2{
|
.h-entry.network header h2 {
|
||||||
padding: 0.2em 0.5em 0.2em 0.5em;
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-entry.network header h2:hover{
|
.h-entry.network header h2:hover {
|
||||||
box-shadow: inset 4px 4px 0px darkcyan;
|
box-shadow: inset 4px 4px 0px darkcyan;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
@ -343,7 +343,7 @@ footer.post-footer {
|
|||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.network-source{
|
div.network-source {
|
||||||
padding: 0.5em 1em 0.5em 1em;
|
padding: 0.5em 1em 0.5em 1em;
|
||||||
border-bottom: 2px solid darkcyan;
|
border-bottom: 2px solid darkcyan;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
@ -356,12 +356,12 @@ div.network-source{
|
|||||||
color: darkcyan;
|
color: darkcyan;
|
||||||
}
|
}
|
||||||
|
|
||||||
.network .footer-filler{
|
.network .footer-filler {
|
||||||
border-left: 2px solid darkcyan;
|
border-left: 2px solid darkcyan;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.network footer.post-footer{
|
.network footer.post-footer {
|
||||||
border-top: 2px solid darkcyan;
|
border-top: 2px solid darkcyan;
|
||||||
flex-flow: row;
|
flex-flow: row;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
@ -379,7 +379,7 @@ div.network-source{
|
|||||||
|
|
||||||
/* shouts cards */
|
/* shouts cards */
|
||||||
|
|
||||||
.card.shout{
|
.card.shout {
|
||||||
border-color: steelblue;
|
border-color: steelblue;
|
||||||
border: 2px solid;
|
border: 2px solid;
|
||||||
box-shadow:1em 1em 0 #d2d1c8;
|
box-shadow:1em 1em 0 #d2d1c8;
|
||||||
@ -420,13 +420,13 @@ div.network-source{
|
|||||||
border-bottom: 2px solid cornflowerblue;
|
border-bottom: 2px solid cornflowerblue;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-event.calendar header h2{
|
.h-event.calendar header h2 {
|
||||||
padding: 0.2em 0.5em 0.2em 0.5em;
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-event.calendar header h2:hover{
|
.h-event.calendar header h2:hover {
|
||||||
box-shadow: inset 4px 4px 0px royalblue;
|
box-shadow: inset 4px 4px 0px royalblue;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
@ -440,14 +440,14 @@ div.network-source{
|
|||||||
min-width: 10%;
|
min-width: 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-location{
|
.calendar-location {
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
min-width: 20%;
|
min-width: 20%;
|
||||||
padding: 0.5em 0.9em 0.5em 0.9em;
|
padding: 0.5em 0.9em 0.5em 0.9em;
|
||||||
border-left: 2px solid cornflowerblue;
|
border-left: 2px solid cornflowerblue;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-duration{
|
.calendar-duration {
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
border-right: 2px solid cornflowerblue;
|
border-right: 2px solid cornflowerblue;
|
||||||
padding: 0.5em 0.9em 0.5em 0.9em;
|
padding: 0.5em 0.9em 0.5em 0.9em;
|
||||||
@ -520,7 +520,7 @@ label:hover {
|
|||||||
box-shadow: inset 2px 2px 0px #95948c;
|
box-shadow: inset 2px 2px 0px #95948c;
|
||||||
}
|
}
|
||||||
|
|
||||||
.description{
|
.description {
|
||||||
padding: 0.5em 0.7em 0.7em 0.5em;
|
padding: 0.5em 0.7em 0.7em 0.5em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
flex-basis: 100%;
|
flex-basis: 100%;
|
||||||
@ -534,57 +534,56 @@ label:hover {
|
|||||||
|
|
||||||
/* Paginator */
|
/* Paginator */
|
||||||
|
|
||||||
nav.pagination{
|
nav.pagination {
|
||||||
width: 60%;
|
width: 60%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.pagination{
|
ul.pagination {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-evenly; /* align horizontal */
|
justify-content: space-evenly; /* align horizontal */
|
||||||
align-items: center; /* align vertical */
|
align-items: center; /* align vertical */
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-item{
|
.page-item {
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: middle;
|
|
||||||
font-size: 38px;
|
font-size: 38px;
|
||||||
border: 2px solid #1B4C8A;
|
border: 2px solid #1B4C8A;
|
||||||
box-shadow:0.4em 0.4em 0 #d2d1c8;
|
box-shadow:0.4em 0.4em 0 #d2d1c8;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
li.page-item{
|
li.page-item {
|
||||||
background-color: lightblue;
|
background-color: lightblue;
|
||||||
padding: 0.4em;
|
padding: 0.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
li.page-item.active{
|
li.page-item.active {
|
||||||
background-color: peachpuff;
|
background-color: peachpuff;
|
||||||
border: 2px solid tomato;
|
border: 2px solid tomato;
|
||||||
padding: 0.4em;
|
padding: 0.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
li.page-item.disabled{
|
li.page-item.disabled {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
li.page-item:nth-child(even){
|
li.page-item:nth-child(even) {
|
||||||
transform: rotate(-1deg);
|
transform: rotate(-1deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
li.page-item:nth-child(odd){
|
li.page-item:nth-child(odd) {
|
||||||
transform: rotate(1deg);
|
transform: rotate(1deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
li.page-item:nth-child(5){
|
li.page-item:nth-child(5) {
|
||||||
transform: rotate(2deg);
|
transform: rotate(2deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
li.page-item:nth-child(8){
|
li.page-item:nth-child(8) {
|
||||||
transform: rotate(-3deg);
|
transform: rotate(-3deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user