added directories

This commit is contained in:
plebbitor
2023-02-16 14:05:48 +01:00
parent 212a0c10e8
commit 298c84b62a
30 changed files with 14 additions and 15 deletions

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 93 KiB

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 109 KiB

Before

Width:  |  Height:  |  Size: 228 KiB

After

Width:  |  Height:  |  Size: 228 KiB

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Before

Width:  |  Height:  |  Size: 130 B

After

Width:  |  Height:  |  Size: 130 B

Before

Width:  |  Height:  |  Size: 145 B

After

Width:  |  Height:  |  Size: 145 B

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before

Width:  |  Height:  |  Size: 392 KiB

After

Width:  |  Height:  |  Size: 392 KiB

Before

Width:  |  Height:  |  Size: 953 KiB

After

Width:  |  Height:  |  Size: 953 KiB

+4 -5
View File
@@ -20,7 +20,7 @@ const GlobalStyle = createGlobalStyle`
export default function App() { export default function App() {
const [bodyStyle, setBodyStyle] = useState({ const [bodyStyle, setBodyStyle] = useState({
background: "#ffe url(/fade.png) top repeat-x", background: "#ffe url(/assets/fade.png) top repeat-x",
color: "maroon", color: "maroon",
fontFamily: "Helvetica, Arial, sans-serif" fontFamily: "Helvetica, Arial, sans-serif"
}); });
@@ -32,11 +32,10 @@ export default function App() {
return ( return (
<div> <div>
<Helmet> <Helmet>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" sizes="180x180" href="/assets/logo/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" /> <link rel="icon" type="image/png" sizes="32x32" href="/assets/logo/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" /> <link rel="icon" type="image/png" sizes="16x16" href="/assets/logo/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" /> <link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#fee9cd" />
<meta name="msapplication-TileColor" content="#fee9cd" /> <meta name="msapplication-TileColor" content="#fee9cd" />
<meta name="theme-color" content="#ffffff" /> <meta name="theme-color" content="#ffffff" />
</Helmet> </Helmet>
+3 -3
View File
@@ -142,7 +142,7 @@ const Board = ({ setBodyStyle }) => {
switch (event.target.value) { switch (event.target.value) {
case "Yotsuba": case "Yotsuba":
setBodyStyle({ setBodyStyle({
background: "#ffe url(/fade.png) top repeat-x", background: "#ffe url(/assets/fade.png) top repeat-x",
color: "maroon", color: "maroon",
fontFamily: "Arial, Helvetica, sans-serif" fontFamily: "Arial, Helvetica, sans-serif"
}); });
@@ -151,7 +151,7 @@ const Board = ({ setBodyStyle }) => {
case "Yotsuba B": case "Yotsuba B":
setBodyStyle({ setBodyStyle({
background: "#eef2ff url(/fade-blue.png) top center repeat-x", background: "#eef2ff url(/assets/fade-blue.png) top center repeat-x",
color: "#000", color: "#000",
fontFamily: "Arial, Helvetica, sans-serif" fontFamily: "Arial, Helvetica, sans-serif"
}); });
@@ -196,7 +196,7 @@ const Board = ({ setBodyStyle }) => {
default: default:
setBodyStyle({ setBodyStyle({
background: "#ffe url(/fade.png) top repeat-x", background: "#ffe url(/assets/fade.png) top repeat-x",
color: "maroon", color: "maroon",
fontFamily: "Arial, Helvetica, sans-serif" fontFamily: "Arial, Helvetica, sans-serif"
}); });
+3 -3
View File
@@ -9,7 +9,7 @@ const Home = ({ setBodyStyle }) => {
useEffect(() => { useEffect(() => {
setBodyStyle({ setBodyStyle({
background: "#ffe url(/fade.png) top repeat-x", background: "#ffe url(/assets/fade.png) top repeat-x",
color: "maroon", color: "maroon",
fontFamily: "Helvetica, Arial, sans-serif" fontFamily: "Helvetica, Arial, sans-serif"
}); });
@@ -43,7 +43,7 @@ const Home = ({ setBodyStyle }) => {
<Header> <Header>
<Logo> <Logo>
<Link to="/"> <Link to="/">
<img alt="plebchan" src="/logo-transparent.png" /> <img alt="plebchan" src="/assets/logo/logo-transparent.png" />
</Link> </Link>
</Logo> </Logo>
</Header> </Header>
@@ -77,7 +77,7 @@ const Home = ({ setBodyStyle }) => {
<Link to="/board" onClick={() => { <Link to="/board" onClick={() => {
handleClick(subplebbit.title, subplebbit.address); handleClick(subplebbit.title, subplebbit.address);
}} > }} >
<img alt="board logo" src="/plebchan.png" /> <img alt="board logo" src="/assets/plebchan.png" />
</Link> </Link>
<div className="board-text"> <div className="board-text">
<b>{subplebbit.address}</b> <b>{subplebbit.address}</b>
+1 -1
View File
@@ -8,7 +8,7 @@ const ImageBanner = () => {
}, []); }, []);
return ( return (
<img id="banner-img" src={`banner-${currentImage}.jpg`} alt="banner" /> <img id="banner-img" src={`/assets/banners/banner-${currentImage}.jpg`} alt="banner" />
); );
}; };
+3 -3
View File
@@ -51,7 +51,7 @@ const Thread = ({ setBodyStyle }) => {
switch (event.target.value) { switch (event.target.value) {
case "Yotsuba": case "Yotsuba":
setBodyStyle({ setBodyStyle({
background: "#ffe url(/fade.png) top repeat-x", background: "#ffe url(/assets/fade.png) top repeat-x",
color: "maroon", color: "maroon",
fontFamily: "Arial, Helvetica, sans-serif" fontFamily: "Arial, Helvetica, sans-serif"
}); });
@@ -60,7 +60,7 @@ const Thread = ({ setBodyStyle }) => {
case "Yotsuba B": case "Yotsuba B":
setBodyStyle({ setBodyStyle({
background: "#eef2ff url(/fade-blue.png) top center repeat-x", background: "#eef2ff url(/assets/fade-blue.png) top center repeat-x",
color: "#000", color: "#000",
fontFamily: "Arial, Helvetica, sans-serif" fontFamily: "Arial, Helvetica, sans-serif"
}); });
@@ -105,7 +105,7 @@ const Thread = ({ setBodyStyle }) => {
default: default:
setBodyStyle({ setBodyStyle({
background: "#ffe url(/fade.png) top repeat-x", background: "#ffe url(/assets/fade.png) top repeat-x",
color: "maroon", color: "maroon",
fontFamily: "Arial, Helvetica, sans-serif" fontFamily: "Arial, Helvetica, sans-serif"
}); });