Skip to content

Commit 3cd91c2

Browse files
committed
more doc and build attempt
1 parent 6d7ca96 commit 3cd91c2

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ Based on [nextjs-github-pages](https://github.com/gregrickaby/nextjs-github-page
77
## Links
88
- [repo](https://github.com/seeReadCode/bookmarks)
99
- [prod](https://seereadcode.github.io/bookmarks/)
10-
- [codespace dev](https://shiny-lamp-wpjpj5q7vj3ggw9.github.dev/)
10+
- [codespace editor](https://shiny-lamp-wpjpj5q7vj3ggw9.github.dev/)
1111
- [codespace browser](https://shiny-lamp-wpjpj5q7vj3ggw9-4205.app.github.dev/)
12-
- [codespace admin](https://github.com/codespaces?repository_id=1036822786)
1312

13+
see also
14+
- [codespace admin](https://github.com/codespaces?repository_id=1036822786)
15+
- [gh codespace docs](https://docs.github.com/en/codespaces/troubleshooting/github-codespaces-logs)
1416

1517
## Docs
1618

@@ -29,14 +31,18 @@ Based on [nextjs-github-pages](https://github.com/gregrickaby/nextjs-github-page
2931

3032
---
3133
## TODO
32-
fi-
33-
- locate server log to debug 404
34-
- decide deploy.yml (from cloned repo) v. alt from github.com
35-
- ... and fix build
36-
> ⚠️ Heads up! GitHub Pages _does not_ support serverless or edge functions. This means dynamic functionality will be disabled. See all the [unsupported features](https://nextjs.org/docs/app/building-your-application/deploying/static-exports#unsupported-features).
34+
- TODO fix build
35+
- TODO locate server log to debug 404
36+
- TODO notify of github action
37+
- TODO sync dotfiles https://docs.github.com/en/codespaces/troubleshooting/troubleshooting-personalization-for-codespaces
38+
- TODO implement serverless function
39+
> ⚠️ Heads up! GitHub Pages _does not_ support serverless or edge functions. This means dynamic functionality will be disabled. See all the [unsupported features](https://nextjs.org/docs/app/building-your-application/deploying/static-exports#unsupported-features).
40+
- TODO sync via something like firebase
3741

3842

3943
## Changelog
44+
- Still can't find nextjs server log and getting 404 on codespace browser
45+
- Using in browser hotkeys
4046
- Tested VSCode Client
4147
- Enabled Github Pages on github.com via suggested Next.js config
4248
- Replaced `next-js-github-pages`

app/page.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
import Image from "next/image";
2-
const response = fetch('https://api.raindrop.io/rest/v1/collections', {
3-
headers: {
4-
'Accept': 'application/json',
5-
'Authorization': `Bearer ${process.env.RAINDROP_SECRET}`,
6-
}
7-
})
8-
.then(response => response.text())
9-
.then(text => console.log(text))
102

113
export default function Home() {
124
return (
135
<div className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]">
146
<main className="flex flex-col gap-8 row-start-2 items-center sm:items-start">
15-
{response}
167
<Image
178
className="dark:invert"
189
src="/bookmarks/next.svg"

0 commit comments

Comments
 (0)