Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Threadlet</title>
<script type="module" src="/src/main.ts"></script>
<link rel="manifest" href="/threadlet.webmanifest">
<link rel="icon" href="/assets/threadlet/256.ico">
<link rel="icon" href="/assets/threadlet/128.ico">
<link rel="icon" href="/assets/threadlet/64.ico">
<link rel="icon" href="/assets/threadlet/48.ico">
</head>
<body>
<div id="loadingScreen">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions client/public/assets/screenshots/threadlet-narrow-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions client/public/assets/screenshots/threadlet-narrow-mono.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions client/public/assets/screenshots/threadlet-wide-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions client/public/assets/screenshots/threadlet-wide-mono.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/assets/threadlet/128.ico
Binary file not shown.
Binary file added client/public/assets/threadlet/128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/assets/threadlet/256.ico
Binary file not shown.
Binary file added client/public/assets/threadlet/256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/assets/threadlet/32.ico
Binary file not shown.
Binary file added client/public/assets/threadlet/32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/assets/threadlet/48.ico
Binary file not shown.
Binary file added client/public/assets/threadlet/48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/assets/threadlet/512-mono.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/assets/threadlet/512.ico
Binary file not shown.
Binary file added client/public/assets/threadlet/512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/public/assets/threadlet/64.ico
Binary file not shown.
Binary file added client/public/assets/threadlet/64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions client/public/assets/threadlet/threadlet-color-maskable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions client/public/assets/threadlet/threadlet-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions client/public/assets/threadlet/threadlet-mono-maskable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions client/public/assets/threadlet/threadlet-mono.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
91 changes: 91 additions & 0 deletions client/public/threadlet.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"name": "Threadlet",
"description": "Next-gen Matrix client",
"start_url": "/",
"display": "standalone",
"id": "threadlet",
"theme_color": "#1fc873",
"background_color": "#242424",
"lang": "en",
"categories": ["social", "social networking", "matrix"],
"icons": [{
"src": "/assets/threadlet/512.png",
"type": "image/png",
"sizes": "512x512"
}, {
"src": "/assets/threadlet/256.png",
"type": "image/png",
"sizes": "256x256"
}, {
"src": "/assets/threadlet/128.png",
"type": "image/png",
"sizes": "128x128"
}, {
"src": "/assets/threadlet/64.png",
"type": "image/png",
"sizes": "64x64"
}, {
"src": "/assets/threadlet/48.png",
"type": "image/png",
"sizes": "48x48"
}, {
"src": "/assets/threadlet/32.png",
"type": "image/png",
"sizes": "32x32"
}, {
"src": "/assets/threadlet/512-mono.png",
"type": "image/png",
"sizes": "any",
"purpose": "monochrome"
}, {
"src": "/assets/threadlet/512-color-maskable.png",
"type": "image/png",
"sizes": "any",
"purpose": "maskable"
}, {
"src": "/assets/threadlet/512-mono-maskable.png",
"type": "image/png",
"sizes": "any",
"purpose": "monochrome maskable"
}, {
"src": "/assets/threadlet/threadlet-color.svg",
"type": "image/svg+xml",
"sizes": "any"
}, {
"src": "/assets/threadlet/threadlet-mono.svg",
"type": "image/svg+xml",
"sizes": "any",
"purpose": "monochrome"
}, {
"src": "/assets/threadlet/threadlet-color-maskable.svg",
"type": "image/svg+xml",
"sizes": "any",
"purpose": "maskable"
}, {
"src": "/assets/threadlet/threadlet-mono-maskable.svg",
"type": "image/svg+xml",
"sizes": "any",
"purpose": "monochrome maskable"
}],
"screenshots": [{
"src": "/assets/screenshots/threadlet-wide-mono.png",
"type": "image/png",
"sizes": "1920x1080",
"form_factor": "wide"
}, {
"src": "/assets/screenshots/threadlet-narrow-mono.png",
"type": "image/png",
"sizes": "1080x1920",
"form_factor": "narrow"
}, {
"src": "/assets/screenshots/threadlet-wide-color.png",
"type": "image/png",
"sizes": "1920x1080",
"form_factor": "wide"
}, {
"src": "/assets/screenshots/threadlet-narrow-color.png",
"type": "image/png",
"sizes": "1080x1920",
"form_factor": "narrow"
}]
}
16 changes: 13 additions & 3 deletions client/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

--theme-color: #1fc873;
--hover-bg: rgba(255 255 255 / 0.08);
--background-primary: #242424;
--background-secondary: #202020;
Expand Down Expand Up @@ -44,15 +45,24 @@ body {
#loadingScreen {
display: flex;
text-align: center;
align-items: center;
align-items: end;
justify-content: center;
font-size: 24px;
font-size: 4vh;
font-weight: bold;
width: 100vw;
height: 100vh;
background-image: url("/assets/threadlet/threadlet-color.svg");
background-size: contain;
background-position: center;
background-repeat: no-repeat;
background-size: max(30vh, 20vw);
background-color: var(--theme-color);
user-select: none;
}

#loadingText {
color: black;
margin-bottom: 12vh;
}

#app {
Expand Down Expand Up @@ -604,4 +614,4 @@ body {
border-radius: 20px;
font-size: 10px;
font-family: monospace;
}
}
2 changes: 1 addition & 1 deletion client/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default defineConfig({
},
},
hmr: {
protocol: "wss",
protocol: "ws",
// path: "/.proxy/"
},
allowedHosts: [dev_config.vite?.host].filter(Boolean),
Expand Down
Loading