Skip to content

Commit

Permalink
fix image paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Kruining committed Feb 19, 2024
1 parent 20c886b commit 424c282
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions solid-start/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ dist
.output
.vercel
.netlify
.vinxi
netlify

# Environment
Expand Down
2 changes: 1 addition & 1 deletion solid-start/src/components/customer/nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { JSX, ParentProps } from 'solid-js';
import Cart from './shop/cart';
import styles from './nav.module.css'
import Menu from '../auth/menu';
import logo from '../../../images/logo.svg';
import logo from '~/../public/images/logo.svg';

export default function Nav(props: JSX.HTMLAttributes<HTMLElement>) {
return <nav {...props} class={`${styles.host} ${props.class}`}>
Expand Down
3 changes: 1 addition & 2 deletions solid-start/src/entry-server.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { createHandler, StartServer } from "@solidjs/start/server";
import favicon from '../public/favicon.ico';
import favicon from '~/../public/favicon.ico';

export default createHandler(() => (
<StartServer
document={({ assets, children, scripts }) => {
return (
<html lang="en">
<head>
<base href="/portfolio" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href={favicon} />
Expand Down
2 changes: 1 addition & 1 deletion solid-start/src/routes/(admin).tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { A, RouteSectionProps } from '@solidjs/router';
import styles from './(admin).module.css';
import logo from '../../images/logo.svg';
import logo from '~/../public/images/logo.svg';

export default function Admin(props: RouteSectionProps) {
return <div class={styles.host}>
Expand Down

0 comments on commit 424c282

Please sign in to comment.