Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 0968ce1

Browse files
author
Je
committed
chore: update examples
1 parent 1905acc commit 0968ce1

File tree

11 files changed

+49
-12
lines changed

11 files changed

+49
-12
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'https://esm.sh/react'
22

3-
export default function Logo({ height = 100 }: { height?: number }) {
3+
export default function Logo({ width = 75 }: { width?: number }) {
44
return (
5-
<img src="/logo.png" height={height} title="Aleph.js" />
5+
<img src="/logo.svg" width={width} title="Aleph.js" />
66
)
77
}
0 Bytes
Binary file not shown.

examples/hello-world/public/logo.png

-432 KB
Binary file not shown.

examples/hello-world/public/logo.svg

Lines changed: 15 additions & 0 deletions
Loading

examples/hello-world/style/index.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ main {
5656
}
5757
a {
5858
margin: 0 9px;
59-
color: #766;
59+
color: #777;
6060
text-decoration: none;
61-
border-bottom: 1px dashed #cbb;
61+
border-bottom: 1px dashed #ccc;
6262

6363
&:hover {
64-
color: #533;
64+
color: #333;
6565
border-bottom-color: transparent;
6666
}
6767
}

examples/hi/aleph.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export default () => ({
2+
ssr: {
3+
staticPaths: ['/hi/alice', '/hi/bob', 'hi/carol']
4+
}
5+
})

examples/hi/components/logo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'https://esm.sh/react'
22

3-
export default function Logo({ height = 100 }: { height?: number }) {
3+
export default function Logo({ width = 75 }: { width?: number }) {
44
return (
5-
<img src="/logo.png" height={height} title="Aleph.js" />
5+
<img src="/logo.svg" width={width} title="Aleph.js" />
66
)
77
}

examples/hi/public/favicon.ico

0 Bytes
Binary file not shown.

examples/hi/public/logo.png

-432 KB
Binary file not shown.

examples/hi/public/logo.svg

Lines changed: 15 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)