Frontend lol

This commit is contained in:
Flummi
2019-05-07 20:23:19 +00:00
parent bb0638bf30
commit c3291fd930
4 changed files with 304 additions and 63 deletions

29
public/js/rt.js Normal file
View File

@@ -0,0 +1,29 @@
export default {
layout: {
margin: 6,
min_cols: 3,
min_rows: 4,
itemsize: 130
},
st: {
behavior: "smooth",
block: "center"
},
url: "//f0ck.me",
tmp: {
scroll: false,
resize: null
},
container: {
wrapper: document.querySelector("div#wrapper"),
itemview: document.querySelector("div#itemview"),
posts: document.querySelectorAll("div.posts")
},
items: {
first: null,
last: null,
newest: null,
oldest: null,
eps: 0
}
};