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

Commit ce2bccd

Browse files
author
ije
committed
chore(example): restore hello example
1 parent 281000c commit ce2bccd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/hello-world/pages/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
import { Import, useDeno } from 'https://deno.land/x/aleph/mod.ts'
22
import React, { useState } from 'https://esm.sh/react'
33
import Logo from '../components/logo.tsx'
4-
import { style } from 'https://esm.sh/typestyle'
54

65
export default function Home() {
76
const [count, setCount] = useState(0)
87
const version = useDeno(() => {
98
return Deno.version
109
})
1110

12-
const red = style({ backgroundColor: 'red' })
13-
1411
return (
1512
<div className="page">
1613
<Import from="../style/index.less" />
1714
<p className="logo"><Logo /></p>
18-
<h1 className={red}>Welcome to use <strong>Aleph.js</strong>!</h1>
15+
<h1>Welcome to use <strong>Aleph.js</strong>!</h1>
1916
<p className="links">
2017
<a href="https://alephjs.org" target="_blank">Website</a>
2118
<span>&middot;</span>

0 commit comments

Comments
 (0)