Skip to content

Commit 2a58307

Browse files
committed
add amazon link and update core
1 parent b4073e1 commit 2a58307

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

Diff for: content/0-book/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Please use the following links to download the formatted version of the book:
66

77
* [ePub](https://github.com/CompCogNeuro/book/releases/latest/download/ccnbook_ed5.epub) --- You can download this file and email it to yourself at your [Amazon Kindle account](https://www.amazon.com/gp/sendtokindle/email) to get it on your Kindle. You can also open it in the macOS Books app.
88

9-
<!-- * [Amazon](https://www.amazon.com/dp/B007H9YWAG) --- you can pay \$2.99 (lowest price possible) to have Amazon upload the book to your kindle, or roughly \$35 for them to send you an on-demand paperback print version (in color) -->
9+
* [Amazon](https://www.amazon.com/dp/B0DFWMZYWJ) --- You can pay to get the book on your Kindle or as a paperback version in color. These options are priced as low as possible.
1010

1111
* [HTML](https://github.com/CompCogNeuro/book/releases/latest/download/ccnbook_ed5.html) --- This does not display all of the math correctly, so you should use one of the other formats above for Chapters 2 and 4.
1212

Diff for: go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/CompCogNeuro/CompCogNeuro.github.io
22

33
go 1.22
44

5-
require cogentcore.org/core v0.3.3-0.20240819012653-ef520c78b96f
5+
require cogentcore.org/core v0.3.3-0.20240902172924-b432919e181b
66

77
require (
88
github.com/Bios-Marcel/wastebasket v0.0.4-0.20240213135800-f26f1ae0a7c4 // indirect

Diff for: go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
cogentcore.org/core v0.3.3-0.20240819012653-ef520c78b96f h1:KpKEiK98QuCFBo1R5ipJ53SkOVyRpPPBlxKKJZj1tcU=
2-
cogentcore.org/core v0.3.3-0.20240819012653-ef520c78b96f/go.mod h1:dg3uRsPcd8S1ZYvRD2TztCtjopRkrB5V/lbl54xsQd4=
1+
cogentcore.org/core v0.3.3-0.20240902172924-b432919e181b h1:G7CC9jK/8FWCOYrc83VR5raE82xCkTlG3/h63txQ5Pw=
2+
cogentcore.org/core v0.3.3-0.20240902172924-b432919e181b/go.mod h1:dg3uRsPcd8S1ZYvRD2TztCtjopRkrB5V/lbl54xsQd4=
33
github.com/Bios-Marcel/wastebasket v0.0.4-0.20240213135800-f26f1ae0a7c4 h1:6lx9xzJAhdjq0LvVfbITeC3IH9Fzvo1aBahyPu2FuG8=
44
github.com/Bios-Marcel/wastebasket v0.0.4-0.20240213135800-f26f1ae0a7c4/go.mod h1:FChzXi1izqzdPb6BiNZmcZLGyTYiT61iGx9Rxx9GNeI=
55
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=

Diff for: main.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ var content embed.FS
1212

1313
func main() {
1414
b := core.NewBody("CompCogNeuro")
15-
pages.NewPage(b).SetContent(content)
15+
pg := pages.NewPage(b).SetContent(content)
16+
b.AddTopBar(func(bar *core.Frame) {
17+
core.NewToolbar(bar).Maker(pg.MakeToolbar)
18+
})
1619
b.RunMainWindow()
1720
}

0 commit comments

Comments
 (0)