Skip to content

Commit

Permalink
chore: reformat code and fix markdown formatting
Browse files Browse the repository at this point in the history
Reformatted various files for consistency and readability.
  • Loading branch information
gentlementlegen committed Nov 17, 2024
1 parent 76c689a commit 230ae79
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 24 deletions.
2 changes: 1 addition & 1 deletion src/web/.ubiquity-os.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ incentives:
permitGeneration: {}
githubComment:
post: false
debug: false
debug: false
36 changes: 20 additions & 16 deletions src/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,36 @@ You can run the following scripts using `bun run <script>`:
## How to Get Started

1. **Install dependencies**: Make sure you have [Bun](https://bun.sh/) installed, then run:
```sh
bun install
```

```sh
bun install
```

2. **Start the server**:
```sh
bun run server
```

```sh
bun run server
```

3. **Develop the UI**:
```sh
bun run ui:dev
```

```sh
bun run ui:dev
```

4. **Build the UI for production**:
```sh
bun run ui:build
```

```sh
bun run ui:build
```

5. **Preview the built UI**:
```sh
bun run ui:preview
```
```sh
bun run ui:preview
```

> [!WARNING]
> To see the changes you made on the UI when using the `server`, you need first to run `ui:build` as files are
> To see the changes you made on the UI when using the `server`, you need first to run `ui:build` as files are
> statically served.
### For Development
Expand Down
8 changes: 6 additions & 2 deletions src/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ubiquity-os/text-conversation-rewards</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.conditional.min.css" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.conditional.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.7.0/github-markdown.min.css" integrity="sha512-RXrQNShK831yZVcMWsLosdpsHddeG5xP7zMmlDu/OLQdfx24Z9pO1KiFZ1eZrMqY8P9hYgknwU/O6GxR2Fc0Gw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.7.0/github-markdown.min.css"
integrity="sha512-RXrQNShK831yZVcMWsLosdpsHddeG5xP7zMmlDu/OLQdfx24Z9pO1KiFZ1eZrMqY8P9hYgknwU/O6GxR2Fc0Gw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
</head>

<body>
Expand Down
8 changes: 3 additions & 5 deletions src/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
"moduleResolution": "Bundler",
"strict": true,
"skipLibCheck": true,
"types": [
"node"
],
"types": ["node"],
"jsx": "react-jsx",
"jsxImportSource": "hono/jsx",
"jsxImportSource": "hono/jsx"
}
}
}

0 comments on commit 230ae79

Please sign in to comment.