Commit Graph

694 Commits

Author SHA1 Message Date
Richard Feldman
c98270ed7c
Update /fast based on most recent developments 2023-11-15 19:28:06 -05:00
Luke Boswell
278c10dd23
styles for tutorial table of contents 2023-11-16 10:55:50 +11:00
Luke Boswell
d9a9199071
add tutorial TOC 2023-11-16 10:38:51 +11:00
Richard Feldman
6fcf77392f
Add separators between example sections 2023-11-15 15:37:24 -05:00
Richard Feldman
4485097f0c
Simplify colors on homepage 2023-11-15 15:14:06 -05:00
Richard Feldman
c18820d93e
A bit less margin-top on <h2>s 2023-11-15 13:41:13 -05:00
Richard Feldman
eebe3c3eb5
Don't rely on fixed width for homepage box
This is necessary to prevent scrollbars on Windows
2023-11-15 13:40:01 -05:00
Richard Feldman
dcd1b18f5d
Update some homepage copy 2023-11-15 11:10:15 -05:00
Richard Feldman
6f3cf80fb6
Add the word Roc next to the bird in the nav bar 2023-11-15 11:10:15 -05:00
Richard Feldman
75591c1275
Update some copy and styles 2023-11-15 11:10:15 -05:00
Richard Feldman
0e4b2c66ed
Update www/wip_new_website/content/fast.md
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2023-11-14 12:38:21 -05:00
Richard Feldman
88bfc80626
Update www/wip_new_website/content/fast.md
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2023-11-14 12:38:09 -05:00
Richard Feldman
35440102e5
Update /fast 2023-11-13 22:21:43 -05:00
Richard Feldman
1946fb7789
Actually remove home link from DOM on homepage 2023-11-10 23:23:33 -05:00
Richard Feldman
569279b324
Make interactive example mobile-friendly 2023-11-10 21:58:50 -05:00
Richard Feldman
8e0e5e7ea5
Move CSP to just /packages/ 2023-11-10 20:18:13 -05:00
Richard Feldman
a476c1af4d
Add tutorial js stuff to wip/site.js 2023-11-09 22:44:21 -05:00
Richard Feldman
9c704b13b8
Rename repl.js to site.js 2023-11-09 22:40:42 -05:00
Richard Feldman
729f4367f2
Give up and use unsafe-inline in CSP 2023-11-09 22:23:23 -05:00
Richard Feldman
365c16880c
Fix padding on Start Tutorial buttons 2023-11-09 20:53:44 -05:00
Richard Feldman
ea4766e74c
Add James Birtles to new homepage 2023-11-09 20:53:36 -05:00
Richard Feldman
a4a93e687c
Remove "get started" buttons from homepage 2023-11-08 22:18:19 -05:00
Richard Feldman
525dddee21
Move larger example to right after Examples 2023-11-08 21:18:11 -05:00
Richard Feldman
bb27c836e2
Combine Use Cases and Examples homepage sections 2023-11-08 20:55:45 -05:00
Richard Feldman
c75f031560
Inline sponsor logo SVGs
The GitHub URLs were making cookies. Also this means fewer
network requests and nicer dark mode support.
2023-11-07 21:30:03 -05:00
Richard Feldman
710ef0ab89
Fix styling for Firefox on Android 2023-11-06 22:15:05 -05:00
Richard Feldman
c1daed8b06
Minor copy adjustment on homepage 2023-11-06 22:14:55 -05:00
Richard Feldman
c2af6b5622
Add sponsors to homepage and final tutorial link 2023-11-06 21:51:37 -05:00
Richard Feldman
fe293abb01
Make a little repl mini-tutorial 2023-11-06 21:51:28 -05:00
Richard Feldman
cd59b3f594
Add mini-tutorial to homepage repl 2023-11-06 21:51:18 -05:00
Richard Feldman
732e85bb11
Upse npm's http-server; it's much faster 2023-11-06 21:51:01 -05:00
Richard Feldman
f30e0ad8d3
Further tweaks for mobile Chrome 2023-11-05 21:21:33 -05:00
Richard Feldman
1267e0bf1f
Scoot mobile logo a bit 2023-11-05 21:00:33 -05:00
Richard Feldman
f86aa5f8b4
Use a svg arrow for the repl 2023-11-05 19:55:55 -05:00
Richard Feldman
e763f1429e
Fix placeholder wrapping issue on mobile 2023-11-05 16:40:58 -05:00
Richard Feldman
874e753cd0
Don't focus the repl on mobile 2023-11-04 22:19:52 -04:00
Richard Feldman
65ba4250c5
Merge remote-tracking branch 'origin/main' into improve-wip-website 2023-11-04 22:18:02 -04:00
Richard Feldman
96eef11e31
4-space indent on repl.css 2023-11-04 22:13:25 -04:00
Richard Feldman
91cec7666d
Fix styling inconsistency between Chrome and FF 2023-11-04 22:07:22 -04:00
Richard Feldman
3d8a08c7dd
Remove some missing padding 2023-11-04 20:59:16 -04:00
Richard Feldman
3e051dad10
Improve web repl 2023-11-03 21:40:34 -04:00
Richard Feldman
ac4b59a718
Merge pull request #5950 from roc-lang/fix-csp
Fix content-security policy sha256 hash
2023-11-03 09:04:32 -04:00
Richard Feldman
affcf313f0
Fix content-security policy sha 2023-11-03 08:27:11 -04:00
Luke Boswell
de0385ad07
add examples to WIP site 2023-11-03 16:37:52 +11:00
Luke Boswell
15c705f677
Merge branch 'wip-updates' into more-wip-updates 2023-11-03 15:51:51 +11:00
Luke Boswell
a59d295b1b
fix tutorial meta and link calls 2023-11-03 15:48:50 +11:00
Richard Feldman
5c02e5275a
Space out homepage headings a bit more 2023-11-02 23:57:12 -04:00
Richard Feldman
e66bb8b41c
Make the first code sample bigger 2023-11-02 23:44:51 -04:00
Richard Feldman
a1c2416e8e
Fix some more font stuff 2023-11-02 23:35:36 -04:00
Richard Feldman
8b78d99696
Add --cors to simple-http-server
(...although it doesn't actually seem to set
the CORS response headers?)
2023-11-02 23:17:20 -04:00
Richard Feldman
bd2a63510e
Move the repl arrow hiding logic 2023-11-02 23:03:24 -04:00
Richard Feldman
c592417b7a
Configure access control for fonts 2023-11-02 23:00:24 -04:00
Richard Feldman
3f94d85664
Drop Merriweather and Permanent Marker 2023-11-02 22:54:37 -04:00
Richard Feldman
44b12ca9b2
Miscellaneous homepage fixes 2023-11-02 22:33:13 -04:00
Richard Feldman
b73ddd8323
Fix font preloading 2023-11-02 22:22:59 -04:00
Richard Feldman
466218a22d
Hardcode repl help text on homepage 2023-11-02 21:29:21 -04:00
Richard Feldman
565b2ff1b5
Fix some HTML validation errors 2023-11-02 21:17:16 -04:00
Richard Feldman
9681994b09
Fix some HTML validation problems and a CSP issue 2023-11-02 21:07:43 -04:00
Richard Feldman
bf85f878e9
Fix font-size on first code sample 2023-11-02 20:32:11 -04:00
Luke Boswell
6ea34a7b51
fix styling for pre>code 2023-11-03 11:28:43 +11:00
Luke Boswell
3a1867f64f
format CSS/JS files using Prettier 2023-11-03 11:27:55 +11:00
Luke Boswell
a3aa5f1e26
fix broken links to FFF pages 2023-11-03 11:27:15 +11:00
Richard Feldman
411754f5fb
Preload the fonts so we don't have to wait for CSS 2023-11-02 20:24:26 -04:00
Richard Feldman
241fa7741b
Fix heading hierarchy on homepage 2023-11-02 20:12:26 -04:00
Richard Feldman
0d934cc86d
Add an aria-label to home goals 2023-11-02 20:07:09 -04:00
Richard Feldman
d77c78f320
Update .gitignore for new website 2023-11-02 19:56:19 -04:00
Richard Feldman
cdc5c1f30d
Improve some font stuff 2023-11-02 19:56:00 -04:00
Richard Feldman
5613670656
Fix pageData for homepage 2023-11-02 19:52:23 -04:00
Luke Boswell
254f68c2c4
fix aria-label html attr 2023-11-03 09:16:12 +11:00
Richard Feldman
5e65e2a7d3
Merge remote-tracking branch 'origin/main' into wip-updates 2023-11-02 06:30:02 -04:00
Richard Feldman
cb35e495da
Fix some font sizes on mobile 2023-11-01 21:57:43 -04:00
Richard Feldman
5c0d4248d4
Drop box shadows 2023-11-01 19:50:54 -04:00
Anton-4
ace59a3cce
use comment with ellipsis 2023-11-01 14:26:23 +01:00
Luke Boswell
0abf74232c
update tutorial CSS for new site style 2023-11-01 20:56:28 +11:00
Luke Boswell
ff29b06834
include complete tutorial 2023-11-01 20:54:19 +11:00
Luke Boswell
bf56e517cc
restore site.js 2023-11-01 20:54:00 +11:00
Luke Boswell
998e2ae3f7
fix highlighting, remove breaking unicode char 2023-11-01 20:25:04 +11:00
Luke Boswell
ee3e5c16ba
fix FFF links for wip site 2023-11-01 20:17:43 +11:00
Richard Feldman
6624abf930
Improve homepage example docsdiagnostics 2023-11-01 01:59:54 -04:00
Richard Feldman
554ebaf2f0
Finish explanations in longer example 2023-10-31 23:09:04 -04:00
Richard Feldman
3515ae2280
Bump font size in header links 2023-10-31 22:55:28 -04:00
Richard Feldman
258ed94ce3
Use <header> instead of <div> for header 2023-10-31 22:54:15 -04:00
Richard Feldman
a4faaf7646
Add aria-label="primary" to main <nav> 2023-10-31 22:36:03 -04:00
Richard Feldman
925a682a2d
Fix a link color 2023-10-31 22:31:08 -04:00
Richard Feldman
5001e059f0
Fix homepage repl styling on mobile 2023-10-31 22:19:43 -04:00
Richard Feldman
7bc28a09f4
Linkify homepage headings 2023-10-31 22:10:27 -04:00
Richard Feldman
4f5476c270
Hide the repl if JS is disabled 2023-10-31 22:05:54 -04:00
Richard Feldman
c37bab6448
Make the cards on the homepage entirely links 2023-10-31 21:51:01 -04:00
Richard Feldman
56bd921d5b
Make logo lighter in dark mode 2023-10-31 20:27:36 -04:00
Richard Feldman
b852930a46
Revise cards on homepage 2023-10-30 21:14:15 -04:00
Richard Feldman
093ca89688
Reduce saturation in light-cyan 2023-10-30 20:57:38 -04:00
Richard Feldman
c3d6732dec
Going extra light on the light cyan 2023-10-30 20:46:21 -04:00
Richard Feldman
a22cb4b29a
Tweak light-cyan a bit for text contrast 2023-10-30 20:37:33 -04:00
Richard Feldman
37303fb160
Finish styling code example 2023-10-30 20:29:35 -04:00
Richard Feldman
2acb9f5626
Improve repl auto-scroll on homepage 2023-10-29 22:14:54 -04:00
Richard Feldman
d3d4978d3b
Update wip repl 2023-10-29 21:56:29 -04:00
Richard Feldman
fddca7501a
Make a bunch of improvements to homepage and repl 2023-10-29 21:56:29 -04:00
Richard Feldman
0ec3f799dd
Update interactive example 2023-10-29 21:56:29 -04:00
Richard Feldman
67fa06f1b2
Update homepage content 2023-10-29 21:56:29 -04:00
Richard Feldman
519eb8f0eb
Use fancy quote apostrophes 2023-10-29 21:56:29 -04:00
Richard Feldman
fed75cee67
Revise homepage color scheme and content 2023-10-29 21:56:28 -04:00
Richard Feldman
257b397fd1
Add backpassing heading to tutorial 2023-10-29 21:56:28 -04:00
Richard Feldman
05c7fc0dac
Finish content on homepage example 2023-10-29 21:56:28 -04:00
Richard Feldman
627c64db67
Repro again - inline tokenToStr to fix this. 2023-10-29 21:56:28 -04:00
Richard Feldman
4b93884456
Reproduce a different (or same?) mono bug 2023-10-29 21:56:28 -04:00
Richard Feldman
34ef8436b5
Reproduce roc check bug
To repro: run `roc check` in www/wip_new_website/
2023-10-29 21:56:27 -04:00
Richard Feldman
563713b4b8
Make bash script work when called in other dirs 2023-10-29 21:56:27 -04:00
Brian Carroll
c50925240d
Merge pull request #5921 from roc-lang/wasm-repl-crash
report roc_panic to the user in the web repl
2023-10-25 19:22:10 +01:00
Brendan Hansknecht
077672b058
update llvm and zig version in all locations 2023-10-23 13:50:32 -07:00
Anton-4
ec1c22108f
Merge pull request #5926 from roc-lang/wip-website-updates
Updates to WIP website
2023-10-23 20:42:42 +02:00
Anton-4
23d09aa7cf
small corrections 2023-10-23 19:45:28 +02:00
Folkert
f1cdbb4279
fix JS bitwise math 2023-10-23 19:08:57 +02:00
Richard Feldman
9573cf827c
Make the favicon real 2023-10-22 15:17:21 -04:00
Richard Feldman
fee7a6d6ae
Drop unnecessary autofocus on source input 2023-10-22 15:17:21 -04:00
Richard Feldman
bfc0f5bc1f
Revise community page and add bdfn.md 2023-10-22 11:26:54 -04:00
Richard Feldman
3e01fe76d3
Fix typo 2023-10-22 10:46:11 -04:00
Richard Feldman
20670c2490
Drop an extraneous newline 2023-10-22 10:10:55 -04:00
Richard Feldman
3da9e2da35
Don't modify www/public/repl.js for WIP website 2023-10-22 10:02:18 -04:00
Richard Feldman
0cca00cee0
Fix homepage CSS on iPhone SE and similar 2023-10-22 09:56:57 -04:00
Richard Feldman
2a6b74e28a
Fix logo positioning 2023-10-21 23:25:05 -04:00
Richard Feldman
8aacd3358e
Revise info boxes etc 2023-10-21 22:32:20 -04:00
Richard Feldman
420d514695
Don't render the nav logo at on homepage 2023-10-21 20:59:18 -04:00
Richard Feldman
779d887618
Inline Roc logo svg into homepage 2023-10-21 20:46:28 -04:00
Richard Feldman
d2f5b272d8
Big bird 2023-10-21 18:34:43 -04:00
Richard Feldman
4019188240
Revise homepage logo position a bit 2023-10-21 14:10:13 -04:00
Richard Feldman
9e7ae2aa74
Incorporate bird logo into homepage 2023-10-21 14:05:30 -04:00
Richard Feldman
49274476fd
Improve homepage CSS a bunch 2023-10-21 11:01:57 -04:00
Richard Feldman
a94b1d84f4
Move over friendly.md and functional.md 2023-10-21 10:10:40 -04:00
Richard Feldman
4c06d0357a
Improve build-dev-local.sh 2023-10-21 10:10:39 -04:00
Richard Feldman
12f77d94a0
Add favicon 2023-10-21 10:09:07 -04:00
Richard Feldman
8232a06c86
Merge remote-tracking branch 'origin/main' into wip-website-updates 2023-10-21 08:59:48 -04:00
Folkert
eb61d352f5
changes after review 2023-10-20 18:04:07 +02:00
Folkert
793ab8ec16
report a roc_panic to the user in the web repl 2023-10-20 14:47:42 +02:00
Richard Feldman
cd7a031d09
Merge pull request #5918 from ABuffSeagull/main
Add optimize.sh script for website
2023-10-19 23:06:53 -04:00
Luke Boswell
4c9f31aa99
restore WIP css and improve styling 2023-10-19 17:11:45 +11:00
Luke Boswell
b90167db47
fix README 2023-10-19 16:23:01 +11:00
Luke Boswell
f55258cd58
remove duplicate static files 2023-10-19 16:21:07 +11:00
Luke Boswell
eb3e97fd95
Update scripts to WIP site for REPL
workaround for copy static files

add REPL to WIP home page

WIP site download REPL nightly

scripts build WIP Netlify and dev
2023-10-19 16:11:23 +11:00
ABuffSeagull
fa3d3fdd20 Add optimize.sh script for website 2023-10-18 23:28:01 -04:00
Brian Carroll
7646eef387
Fix a confusing initial value in the web REPL JS 2023-10-01 21:17:44 +02:00
Richard Feldman
8eb1d78138
Apply web repl mobile styles to larger smartphones 2023-09-28 14:44:12 -04:00
Brian Carroll
1d95ecf021
Delete mock WASI, we're not using it 2023-09-28 09:30:31 +01:00
Brian Carroll
ed81414c5d
Reduce height of web REPL loading message, to match loaded state 2023-09-28 09:27:52 +01:00
Brian Carroll
53406942c7
Make web REPL JS a bit clearer 2023-09-28 09:11:39 +01:00
Richard Feldman
0974d5709d
Give web repl some mobile-friendly styling 2023-09-27 22:09:54 -04:00
Anton-4
5020b4d1d9
Merge pull request #5858 from lukewilliamboswell/fix-wip-script
Fix wip-site roc build script
2023-09-27 10:39:01 +02:00
Luke Boswell
938ccbb8b3
update wip build script 2023-09-27 16:35:57 +10:00
Richard Feldman
e2a8c1955d
wip trying things 2023-09-25 09:17:52 -04:00
Anton-4
c310be2b11
no need to link to Bool anymore 2023-09-23 15:02:11 +02:00
Brian Carroll
2ab241dbd6
Remove styles from repl.css that duplicated/conflicted with site.css 2023-09-19 08:37:07 +01:00