mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 13:22:24 -06:00
rename bundled to dist, caught by gitignore
This commit is contained in:
parent
f971763743
commit
e9b02b6039
12 changed files with 6 additions and 1860 deletions
|
|
@ -1,11 +0,0 @@
|
|||
|
||||
:root {
|
||||
--bg: #525c66;
|
||||
--fg: #fafaff;
|
||||
--fg_dark: #b0b0b5;
|
||||
--bg_accent: hsl(210, 10.8695652174%, 31.0784313725%);
|
||||
--acc1: #de8957;
|
||||
--acc2: #c76d33;
|
||||
--blue: #5897df
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,232 +0,0 @@
|
|||
|
||||
html, body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: var(--bg_accent);
|
||||
color: var(--fg);
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
|
||||
grid-template-rows: auto 1fr auto;
|
||||
min-height: 100vh;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
main {
|
||||
background: var(--bg);
|
||||
display: grid;
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
grid-template-columns: 1fr 50% 1fr;
|
||||
grid-template-columns: auto min(92%, 90ch) auto;
|
||||
}
|
||||
|
||||
main .left {
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
main .right {
|
||||
grid-column: 3;
|
||||
}
|
||||
|
||||
main.lightgray {
|
||||
background: var(--bg);
|
||||
}
|
||||
|
||||
main > * {
|
||||
align-self: start;
|
||||
grid-column: 2;
|
||||
}
|
||||
|
||||
header {
|
||||
background: var(--bg_accent);
|
||||
padding: 2rem 0;
|
||||
padding-bottom: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
header img {
|
||||
height: 4rem;
|
||||
padding-left: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
header div {
|
||||
height: 100%;
|
||||
margin: 0 2rem;
|
||||
margin-top: -2rem;
|
||||
flex-grow: 1;
|
||||
align-self: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
header div h1 {
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
/* color: $acc1; */
|
||||
margin: 0;
|
||||
line-height: 2.4rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--acc1);
|
||||
}
|
||||
|
||||
.button, button {
|
||||
border-radius: 0.2rem;
|
||||
background: var(--acc1);
|
||||
color: var(--fg);
|
||||
text-decoration: none;
|
||||
font-size: 1.2rem;
|
||||
font-weight: bold;
|
||||
padding: 0.5rem;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.button:hover, button:hover {
|
||||
background: var(--acc2);
|
||||
}
|
||||
|
||||
.count {
|
||||
background: var(--bg_accent);
|
||||
border-radius: 0.3rem;
|
||||
padding: 0.2rem;
|
||||
}
|
||||
|
||||
.nounderline {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.accent {
|
||||
color: var(--acc1);
|
||||
}
|
||||
|
||||
.logo {
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
height: 30vh;
|
||||
}
|
||||
|
||||
section.apps {
|
||||
align-self: start;
|
||||
}
|
||||
|
||||
section.apps .applist {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
grid-gap: 0.5rem;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
section.apps .applist .entry {
|
||||
display: grid;
|
||||
grid-template-columns: 30% 1fr;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem;
|
||||
background: var(--bg_accent);
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
section.apps .applist .entry .logo {
|
||||
align-self: center;
|
||||
width: 100%;
|
||||
-o-object-fit: contain;
|
||||
object-fit: contain;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
section.apps .applist .entry .logo.redraw {
|
||||
fill: var(--fg);
|
||||
stroke: var(--fg);
|
||||
}
|
||||
|
||||
section.apps .applist .entry div {
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
section.apps .applist .entry div h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
section.login form {
|
||||
display: inline-grid;
|
||||
grid-template-columns: auto 100%;
|
||||
grid-gap: 0.7rem;
|
||||
}
|
||||
|
||||
section.login form button {
|
||||
place-self: center;
|
||||
grid-column: 2;
|
||||
}
|
||||
|
||||
section.error {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
section.error span {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
section.error pre {
|
||||
border: 1px solid #ff000080;
|
||||
margin-left: 1em;
|
||||
padding: 0 0.7em;
|
||||
border-radius: 0.5em;
|
||||
background-color: #ff000010;
|
||||
font-size: 1.3em;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
input, select, textarea {
|
||||
border: 1px solid var(--fg);
|
||||
color: var(--fg);
|
||||
background: var(--bg);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
footer {
|
||||
align-self: end;
|
||||
|
||||
padding: 2rem;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
footer a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@media screen and (orientation: portrait) {
|
||||
main {
|
||||
grid-template-columns: 1fr 92% 1fr;
|
||||
}
|
||||
|
||||
header {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: 2rem;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
footer div {
|
||||
margin: 0.3rem 0;
|
||||
}
|
||||
|
||||
section.apps .applist {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,126 +0,0 @@
|
|||
|
||||
body {
|
||||
grid-template-rows: auto 1fr;
|
||||
}
|
||||
|
||||
.capitalize {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
section {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
input, select, textarea {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
section.info form {
|
||||
grid-template-columns: auto 1fr;
|
||||
width: calc(100% - 0.35rem);
|
||||
}
|
||||
|
||||
section.info form input {
|
||||
width: 100%;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
section.info form label, section.info form input {
|
||||
padding: 0.2rem 0.5rem;
|
||||
}
|
||||
|
||||
section.info form input[type=checkbox] {
|
||||
justify-self: start;
|
||||
width: initial;
|
||||
}
|
||||
|
||||
section.info form input:-moz-read-only {
|
||||
border: none;
|
||||
}
|
||||
|
||||
section.info form input:read-only {
|
||||
border: none;
|
||||
}
|
||||
|
||||
section.info form input:invalid {
|
||||
border-color: red;
|
||||
}
|
||||
|
||||
section.info textarea {
|
||||
width: 100%;
|
||||
height: 8rem;
|
||||
}
|
||||
|
||||
section.info h1 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
section.blocks .overflow {
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
section.blocks .blocklist {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr auto;
|
||||
grid-gap: 0.35rem 0;
|
||||
}
|
||||
|
||||
section.blocks .blocklist div {
|
||||
background: rgb(70, 79, 88);
|
||||
padding: 0.2rem 0.4rem;
|
||||
}
|
||||
|
||||
section.blocks .addblock {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto auto;
|
||||
grid-gap: 0.35rem;
|
||||
}
|
||||
|
||||
section.blocks .addblock input, section.blocks .addblock select {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
section.blocks .addblock input, section.blocks .addblock select, section.blocks .addblock textarea {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
section.blocks .addblock div {
|
||||
grid-column: 1/4;
|
||||
}
|
||||
|
||||
section.blocks .addblock div.single input {
|
||||
width: initial;
|
||||
}
|
||||
|
||||
section.blocks h3 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
section.blocks .controls {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.error {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.notImplemented {
|
||||
border: 2px solid rgb(70, 79, 88);
|
||||
background: repeating-linear-gradient(
|
||||
-45deg,
|
||||
#525c66,
|
||||
#525c66 10px,
|
||||
rgb(70, 79, 88) 10px,
|
||||
rgb(70, 79, 88) 20px
|
||||
) !important;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1,114 +0,0 @@
|
|||
|
||||
main {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.headerimage img {
|
||||
width: 100%;
|
||||
height: 15em;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.profile {
|
||||
position: relative;
|
||||
background: color(var(--bg) lightness(-3%));
|
||||
padding: 2rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-around;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
.profile .basic {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1 1 25em;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.profile .basic a {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.profile .basic .avatar-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 25em;
|
||||
}
|
||||
|
||||
.profile .basic .avatar-container .avatar {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.profile .basic .avatar-container .avatar img {
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
border-radius: 10px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.profile .basic .avatar-container:before {
|
||||
content: "";
|
||||
float: left;
|
||||
padding-top: 100%;
|
||||
}
|
||||
|
||||
.profile .basic .displayname {
|
||||
font-weight: bold;
|
||||
font-size: 1.6rem;
|
||||
align-self: start;
|
||||
}
|
||||
|
||||
.profile .detailed {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1 1 25em;
|
||||
}
|
||||
|
||||
.profile .detailed h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.profile .detailed .bio {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.profile .detailed .bio a {
|
||||
color: var(--acc1);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.accountstats {
|
||||
position: relative;
|
||||
background: color(var(--bg) lightness(-3%));
|
||||
padding: 0.5rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-evenly;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
.accountstats .entry {
|
||||
background: color(var(--bg) lightness(+3%));
|
||||
padding: 0.5rem;
|
||||
flex-grow: 1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
footer + div {
|
||||
/* something weird from the devstack.. */
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
@ -1,238 +0,0 @@
|
|||
|
||||
main {
|
||||
background: transparent;
|
||||
grid-auto-rows: auto;
|
||||
}
|
||||
|
||||
.thread {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.toot {
|
||||
position: relative;
|
||||
background: color(var(--bg) lightness(-3%));
|
||||
padding: 2rem;
|
||||
/* padding-bottom: 0; */
|
||||
display: grid;
|
||||
grid-template-columns: 3.2rem auto 1fr;
|
||||
-moz-column-gap: 0.5rem;
|
||||
column-gap: 0.5rem;
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
.toot a {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.toot .avatar {
|
||||
grid-row: span 2;
|
||||
}
|
||||
|
||||
.toot .avatar img {
|
||||
height: 3.2rem;
|
||||
width: 3.2rem;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.toot .displayname {
|
||||
font-weight: bold;
|
||||
font-size: 1.2rem;
|
||||
align-self: start;
|
||||
}
|
||||
|
||||
.toot .username {
|
||||
color: var(--fg_dark);
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.toot input.spoiler:checked ~ .content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.toot .spoiler label {
|
||||
background: var(--acc1);
|
||||
border-radius: 0.3rem;
|
||||
padding: 0.3rem;
|
||||
margin-left: 0.4rem;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.toot .text {
|
||||
margin: 0;
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.toot .text a {
|
||||
color: var(--acc1);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.toot .media {
|
||||
margin-top: 0.6rem;
|
||||
border-radius: 0.2rem;
|
||||
grid-column: span 3;
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
grid-auto-rows: 10rem;
|
||||
overflow: hidden;
|
||||
gap: 0.3rem;
|
||||
}
|
||||
|
||||
.toot .media a {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.toot .media .no-image-desc {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
bottom: 0.1rem;
|
||||
right: 0.4rem;
|
||||
color: white;
|
||||
background: var(--blue);
|
||||
padding: 0.2rem 0.4rem;
|
||||
border-radius: 100%;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.toot .media .no-image-desc i.fa {
|
||||
display: block;
|
||||
line-height: 1.3rem;
|
||||
}
|
||||
|
||||
.toot .media .no-image-desc span {
|
||||
margin-left: 0.3rem;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.toot .media .no-image-desc:hover span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.toot .media .no-image-desc:hover {
|
||||
border-radius: 0.2rem;
|
||||
}
|
||||
|
||||
.toot .media img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.toot .media.single a {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.toot .media.odd a:first-child, .toot .media.double a {
|
||||
grid-row: span 2;
|
||||
}
|
||||
|
||||
.toot .info {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.toot .info div {
|
||||
position: relative;
|
||||
padding-right: 1.3rem;
|
||||
}
|
||||
|
||||
.toot .info .stats {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.toot .info {
|
||||
|
||||
color: #b0b0b5;
|
||||
grid-column: span 3;
|
||||
margin-top: 0.5rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.toot .info div.stats::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.toot .info div::after {
|
||||
--size: 0.25rem;
|
||||
display: block;
|
||||
background: var(--fg_dark);
|
||||
height: var(--size);
|
||||
width: var(--size);
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: calc((1.5rem - var(--size)) / 2);
|
||||
right: 0.55rem;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
.toot .info div:last-child::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.toot .info div:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.toot .toot-link {
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
text-indent: 100%;
|
||||
white-space: nowrap;
|
||||
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.toot {
|
||||
|
||||
--border-radius: 0.3rem;
|
||||
}
|
||||
|
||||
.toot:first-child {
|
||||
/* top left, top right */
|
||||
border-radius: var(--border)-radius var(--border)-radius 0 0;
|
||||
}
|
||||
|
||||
.toot:last-child {
|
||||
/* bottom left, bottom right */
|
||||
border-radius: 0 0 var(--border)-radius var(--border)-radius;
|
||||
padding-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.toot.expanded {
|
||||
background: var(--bg);
|
||||
padding-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.toot.expanded .displayname {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.toot.expanded .text {
|
||||
grid-column: span 3;
|
||||
grid-row: span 1;
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
|
||||
.toot.expanded .info {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.toot.expanded .media {
|
||||
grid-auto-rows: 1fr;
|
||||
max-height: 120rem;
|
||||
}
|
||||
|
||||
footer + div { /* something weird from the devstack.. */
|
||||
display: none;
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({30:[function(require,module,exports){
|
||||
"use strict";
|
||||
|
||||
var Promise = require("bluebird");
|
||||
|
||||
var React = require("react");
|
||||
|
||||
var ReactDom = require("react-dom"); // require("./style.css");
|
||||
|
||||
|
||||
function App() {
|
||||
return "hello world - user panel";
|
||||
}
|
||||
|
||||
ReactDom.render( /*#__PURE__*/React.createElement(App, null), document.getElementById("root"));
|
||||
|
||||
},{"bluebird":15,"react":23,"react-dom":20}]},{},[30])
|
||||
//# sourceMappingURL=data:application/json;charset:utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9mYWN0b3ItYnVuZGxlL25vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJwYW5lbHMvdXNlci9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQ0FBOztBQUVBLElBQU0sT0FBTyxHQUFHLE9BQU8sQ0FBQyxVQUFELENBQXZCOztBQUNBLElBQU0sS0FBSyxHQUFHLE9BQU8sQ0FBQyxPQUFELENBQXJCOztBQUNBLElBQU0sUUFBUSxHQUFHLE9BQU8sQ0FBQyxXQUFELENBQXhCLEMsQ0FFQTs7O0FBRUEsU0FBUyxHQUFULEdBQWU7QUFDZCxTQUFPLDBCQUFQO0FBQ0E7O0FBRUQsUUFBUSxDQUFDLE1BQVQsZUFBZ0Isb0JBQUMsR0FBRCxPQUFoQixFQUF3QixRQUFRLENBQUMsY0FBVCxDQUF3QixNQUF4QixDQUF4QiIsImZpbGUiOiJnZW5lcmF0ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlc0NvbnRlbnQiOlsiKGZ1bmN0aW9uIGUodCxuLHIpe2Z1bmN0aW9uIHMobyx1KXtpZighbltvXSl7aWYoIXRbb10pe3ZhciBhPXR5cGVvZiByZXF1aXJlPT1cImZ1bmN0aW9uXCImJnJlcXVpcmU7aWYoIXUmJmEpcmV0dXJuIGEobywhMCk7aWYoaSlyZXR1cm4gaShvLCEwKTt2YXIgZj1uZXcgRXJyb3IoXCJDYW5ub3QgZmluZCBtb2R1bGUgJ1wiK28rXCInXCIpO3Rocm93IGYuY29kZT1cIk1PRFVMRV9OT1RfRk9VTkRcIixmfXZhciBsPW5bb109e2V4cG9ydHM6e319O3Rbb11bMF0uY2FsbChsLmV4cG9ydHMsZnVuY3Rpb24oZSl7dmFyIG49dFtvXVsxXVtlXTtyZXR1cm4gcyhuP246ZSl9LGwsbC5leHBvcnRzLGUsdCxuLHIpfXJldHVybiBuW29dLmV4cG9ydHN9dmFyIGk9dHlwZW9mIHJlcXVpcmU9PVwiZnVuY3Rpb25cIiYmcmVxdWlyZTtmb3IodmFyIG89MDtvPHIubGVuZ3RoO28rKylzKHJbb10pO3JldHVybiBzfSkiLCJcInVzZSBzdHJpY3RcIjtcblxuY29uc3QgUHJvbWlzZSA9IHJlcXVpcmUoXCJibHVlYmlyZFwiKTtcbmNvbnN0IFJlYWN0ID0gcmVxdWlyZShcInJlYWN0XCIpO1xuY29uc3QgUmVhY3REb20gPSByZXF1aXJlKFwicmVhY3QtZG9tXCIpO1xuXG4vLyByZXF1aXJlKFwiLi9zdHlsZS5jc3NcIik7XG5cbmZ1bmN0aW9uIEFwcCgpIHtcblx0cmV0dXJuIFwiaGVsbG8gd29ybGQgLSB1c2VyIHBhbmVsXCI7XG59XG5cblJlYWN0RG9tLnJlbmRlcig8QXBwLz4sIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKFwicm9vdFwiKSk7Il19
|
||||
|
|
@ -49,7 +49,7 @@ app.use("/assets", express.static("../assets/"));
|
|||
|
||||
if (process.env.NODE_ENV != "development") {
|
||||
console.log("adding static asset route");
|
||||
app.use(express.static("../assets/bundled"));
|
||||
app.use(express.static("../assets/dist"));
|
||||
}
|
||||
|
||||
module.exports = app;
|
||||
|
|
@ -13,7 +13,7 @@ const fs = require("fs");
|
|||
const {Writable} = require("stream");
|
||||
|
||||
function out(name = "") {
|
||||
return path.join(__dirname, "../assets/bundled/", name);
|
||||
return path.join(__dirname, "../assets/dist/", name);
|
||||
}
|
||||
|
||||
const postcssPlugins = [
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
<meta name="og:title" content="GoToSocial Testing Instance">
|
||||
<meta name="og:description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/assets/bundled/_colors.css">
|
||||
<link rel="stylesheet" href="/assets/bundled/base.css">
|
||||
<link rel="stylesheet" href="/assets/dist/_colors.css">
|
||||
<link rel="stylesheet" href="/assets/dist/base.css">
|
||||
{{range .stylesheets}}<link rel="stylesheet" href="{{.}}">
|
||||
{{end}}
|
||||
<link rel="shortcut icon" href="/assets/logo.png" type="image/png">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue