mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 22:14:26 +01:00
fix: usage of resolveAsset
This commit is contained in:
@@ -71,7 +71,7 @@ const SideBar: Component = () => {
|
||||
<button class="pt-2" onClick={() => showAbout()}>
|
||||
<img
|
||||
class="h-8 w-8"
|
||||
src={resolveAsset('/images/rabbit_app_256.png')}
|
||||
src={resolveAsset('images/rabbit_app_256.png')}
|
||||
alt="About rabbit"
|
||||
/>
|
||||
</button>
|
||||
|
||||
@@ -5,6 +5,7 @@ import NotificationColumn from '@/components/column/NotificationColumn';
|
||||
import PostsColumn from '@/components/column/PostsColumn';
|
||||
import ReactionsColumn from '@/components/column/ReactionsColumn';
|
||||
import RelaysColumn from '@/components/column/RelaysColumn';
|
||||
import SearchColumn from '@/components/column/SearchColumn';
|
||||
import useConfig from '@/core/useConfig';
|
||||
|
||||
const Columns = () => {
|
||||
@@ -63,6 +64,15 @@ const Columns = () => {
|
||||
/>
|
||||
)}
|
||||
</Match>
|
||||
<Match when={column.columnType === 'Search' && column} keyed>
|
||||
{(reactionsColumn) => (
|
||||
<SearchColumn
|
||||
column={reactionsColumn}
|
||||
columnIndex={columnIndex()}
|
||||
lastColumn={lastColumn()}
|
||||
/>
|
||||
)}
|
||||
</Match>
|
||||
</Switch>
|
||||
);
|
||||
}}
|
||||
|
||||
@@ -39,7 +39,7 @@ const About: Component<AboutProps> = (props) => {
|
||||
<BasicModal onClose={props.onClose}>
|
||||
<div class="p-8">
|
||||
<div class="flex flex-col items-center pt-8">
|
||||
<img src={resolveAsset('/images/rabbit_app_256.png')} alt="Logo" width="64" height="64" />
|
||||
<img src={resolveAsset('images/rabbit_app_256.png')} alt="Logo" width="64" height="64" />
|
||||
|
||||
<h1 class="my-4">
|
||||
Rabbit <span id="app-version">v{packageInfo()?.self?.version}</span>
|
||||
|
||||
@@ -49,7 +49,7 @@ const Hello: Component = () => {
|
||||
return (
|
||||
<div class="mx-auto flex max-w-[640px] flex-col items-center p-4 text-stone-600">
|
||||
<div class="flex flex-col items-center gap-4 rounded bg-white p-4">
|
||||
<img src={resolveAsset('/images/rabbit_256.png')} width="96" alt="logo" height="96" />
|
||||
<img src={resolveAsset('images/rabbit_256.png')} width="96" alt="logo" height="96" />
|
||||
<h1 class="text-5xl font-black text-rose-300">Rabbit</h1>
|
||||
<div>Rabbit is a Web client for Nostr.</div>
|
||||
<p class="text-center">
|
||||
|
||||
Reference in New Issue
Block a user