Luca Bonavita
1ad29d2a02
Site: set initial-scale=1.0 on the viewport
...
fixes #2551
5 years ago
Rich Harris
2fdf7d4e91
Merge pull request #2554 from thollander/fix/mobile-docs-sidebar
...
Fix unusable docs sidebar in mobile
5 years ago
Rich Harris
de8d1a3bc2
Merge pull request #2529 from sveltejs/examples-loader-and-cache-2527
...
Site examples: add a cache and show a loading icon
5 years ago
Rich Harris
050de82b29
Merge branch 'master' into site/polka
5 years ago
Rich Harris
5b453ed569
Merge pull request #2524 from sveltejs/gh-2447
...
Move embedded REPL contents into examples
5 years ago
Rich Harris
fa3b7b0c65
Merge pull request #2526 from sidx1024/add-myorganisation-logo
...
Add Razorpay to WhosUsingSvelte
5 years ago
thollander
6941d63d7b
Fix unusable docs sidebar in mobile
...
- Puts the text color in mobile to var(--second)
- Fixes the scroll shadow on scrollbar
- Better size handling
5 years ago
thollander
93f7ecca1d
Don't show/hide nav when clicking in docs sidebar
...
- Listens to hashchange event
- Changes only the navbar visibilty when scroll not triggered by hashchange
Resolves #2456
5 years ago
thollander
adcd13f6dd
Fix the shadow in scrollbar of docs sidebar
5 years ago
Luca Bonavita
ce5399a1de
Site examples: add a cache and show a loading icon
...
Add a loading icon I made in SVG: it uses SMIL animation so it might not be well supported on IE/Edge but I think Edge will be powered by Chromium pretty soon.
Also set the REPL orientation based on the width as discussed in #2466
Closes #2527
5 years ago
sidgo
c3905be8d8
Add Razorpay to WhosUsingSvelte
5 years ago
Conduitry
8fa676bfb0
site: in examples.json don't return sections with no title
5 years ago
Gregor Aisch
2435c57f47
fix link to CSS in JS blog post
5 years ago
Luke Edwards
ae081af54c
Merge branch 'master' into site/polka
5 years ago
Luca Bonavita
2a76b8d383
site: API docs, transform section titles with the same processor used for content headers
5 years ago
Richard Harris
de153eff0f
surely this will fix it
5 years ago
Richard Harris
8c26471d00
fix gist icon in REPL
5 years ago
Richard Harris
bed7511bff
Merge branch 'master' of github.com:sveltejs/svelte
5 years ago
Richard Harris
0e6b002573
work around transition bug
5 years ago
Achim Vedam
210ac8aa57
closes #2482
...
• fix missing :hover-state in TopNav
5 years ago
Rich Harris
263add1d61
Merge pull request #2469 from sveltejs/better-site-errors
...
better error pages
5 years ago
Richard Harris
813f4870bb
remove some unused code
5 years ago
Richard Harris
9dc554203d
fix opacity on examples TOC
5 years ago
Richard Harris
b3a913a19a
merge
5 years ago
Rich Harris
74a5ef2811
Merge branch 'master' into site/deps
5 years ago
Rich Harris
aa0abb13cc
Merge pull request #2476 from sveltejs/site/caching
...
Site: Default Cache-Control value
5 years ago
Luke Edwards
4c3499f578
fix(site): remove "dotenv" from runtime
5 years ago
Luke Edwards
85481a446a
fix: serve -> sirv typo
5 years ago
Luke Edwards
18c2e6b675
site: remove “compression” lib;
...
- handled better by Cloudflare
5 years ago
Luke Edwards
5928378664
fix: remove unused arg
5 years ago
Luke Edwards
030d3c9b0d
site: install & use polka
5 years ago
Luke Edwards
5830cf346e
chore: linter fixes
5 years ago
Luke Edwards
999b1f4cdb
refactor: let `send` build output
5 years ago
Luke Edwards
ece8224085
chore: bump & attach `sirv` dep
5 years ago
Luke Edwards
02f89bcbd9
fix: set default Cache-Control value when unset
5 years ago
Richard Harris
04a6b9ad8b
add a preloading indicator - fixes #2449
5 years ago
Richard Harris
17c5cb75b1
makes links a bit more obvious, per #2445 . also tweaks some /blog css
5 years ago
Richard Harris
1e9ef58a90
better error pages
5 years ago
Richard Harris
2359a9f595
redo thumbnails as jpgs
5 years ago
Rich Harris
3f10f3542d
Merge pull request #2466 from sveltejs/examples-nav-2460
...
Add examples navigation
5 years ago
Richard Harris
5de3c390bb
fix some markup
5 years ago
Luca Bonavita
64d397844f
remove ref to prevent_sidebar_scroll and unused vars
5 years ago
Luca Bonavita
159ea061d0
fix svelteUrl (beta -> v3)
5 years ago
Luca Bonavita
39c172ef83
Add examples navigation
...
- move tutorial's ScreenToggle.svelte to src/components and makes it generic (it now accept a list of labels)
- add a navigation util to export getFragment()
- move mapbox_setup, svelteUrl, rollupUrl in a config
- docs/index.svelte: removes an unused import, use getFragment, use onscroll in the second setTimeout
- global.css: add a couple of vars and set width/height on the page
Closes #2460
5 years ago
Rich Harris
bb888f69d2
Merge pull request #2459 from sveltejs/v2-repl-redirect
...
redirect to old REPL where necessary
5 years ago
Richard Harris
0ff6f5b0b0
update links
5 years ago
Richard Harris
428e220e3e
redirect to old REPL where necessary
5 years ago
Rich Harris
129064b4b4
Merge pull request #2457 from sveltejs/meta-tags
...
add regular <meta> tags
5 years ago
Brave Cow
acaee3392d
target="_blank"
5 years ago
Richard Harris
9cf20505e8
add regular <meta> tags
5 years ago
Rich Harris
787700571e
Merge pull request #2404 from mindrones/2344-fix-translated-slugs
...
Support slug translations in the API docs
5 years ago
Conduitry
85d3f769c7
site: hide draft posts in blog rss feed
5 years ago
Rich Harris
0536de5bb8
Merge pull request #2453 from sveltejs/gh-2450
...
update references to svelte.technology
5 years ago
Richard Harris
75769a2b53
fix copypasta fail
5 years ago
Richard Harris
9a600b79a9
add twitter metadata - fixes #2448
5 years ago
Richard Harris
115d10bd18
update references to svelte.technology - fixes #2450
5 years ago
Conduitry
b7b6a0958f
site: update REPL from svelte@beta to svelte@3
5 years ago
Richard Harris
d0ab5b61fa
fix layout
5 years ago
Richard Harris
906ccb6d84
draft announcement blog post
5 years ago
Richard Harris
63f2187a89
merge
6 years ago
Richard Harris
7b40c23e0e
Merge branch 'design-tweaks' of github.com:sveltejs/svelte into design-tweaks
6 years ago
Richard Harris
948f5bf63d
oops
6 years ago
Rich Harris
0b51718736
Merge branch 'master' into design-tweaks
6 years ago
Richard Harris
6b25d4b407
make menu easier to interact with
6 years ago
Richard Harris
58ca195139
link to blog posts from blurb boxes on homepage
6 years ago
Richard Harris
099e3d7eed
add draft write-less-code blog post
6 years ago
Rich Harris
11885e4d83
Merge pull request #2426 from sveltejs/svelte-for-new-developers
...
placeholder for svelte-for-new-developers blog post
6 years ago
Richard Harris
759db36e30
add mechanism for draft blog posts
6 years ago
Conduitry
76505051a4
site: fix handling of non-existent blog posts ( #2439 )
6 years ago
Richard Harris
ccc25f525a
fix positioning of logo outline
6 years ago
Richard Harris
67670a60b5
more tweaks
6 years ago
Richard Harris
9e5d558a68
more tweaks
6 years ago
Richard Harris
a3b0c02978
tweaks
6 years ago
Richard Harris
9a046312f2
fix demo repl layout
6 years ago
Richard Harris
850dc2fbd3
fix wacky margins on mobile
6 years ago
Richard Harris
8320a225f8
small tweaks
6 years ago
Richard Harris
e228ffb2f5
make borders consistent at bottom of homepage
6 years ago
Richard Harris
6bf64ca092
make type easier to read, revert copy changes
6 years ago
Achim Vedam
3c8560542b
tutorial changes
6 years ago
Achim Vedam
0b517eafda
examples changes
6 years ago
Achim Vedam
3f8fa18443
docs changes
6 years ago
Achim Vedam
3360176d7e
blog changes
6 years ago
Achim Vedam
802fe40128
homepage changes
6 years ago
Achim Vedam
83f57046fa
just formatting stuff
6 years ago
Achim Vedam
9a05af7a7f
add assets, remove unused
6 years ago
Rich Harris
c7c8e19ec1
fix theme-color
6 years ago
Luca Bonavita
c8b2941d81
Support slug translations in the API docs
...
- implement a unicode-preserver processor and a latinizer processor via limax.
The latinizer will maintain the case and the dollar sign so that we get anchors like:
- #$set
- #afterUpdate
- #createEventDispatcher
- config.js:
- use SLUG_PRESERVE_UNICODE to true to build the site so that anchors in /docs preserve unicode chars (for languages like cyrillic)
(see test/utils/slug.js)
- use SLUG_SEPARATOR to easily update slugs in /docs
- use SLUG_LANG to set up the language to translate unicode symbols in anchors:
- de: 'Ich ♥ Deutsch' -> 'ich-liebe-deutsch'
- en: 'Ich ♥ Deutsch' -> 'ich-love-deutsch'
Fixes #2344
6 years ago
Richard Harris
df75e0c6d9
update to new svelte-repl API - fixes #2378
6 years ago
Richard Harris
ad9bdff268
oops
6 years ago
Richard Harris
77aa5fc5a1
fix docs TOC on mobile
6 years ago
Richard Harris
187403ce1b
fix blog post layout on mobile - closes #2413
6 years ago
Richard Harris
1c6f627bbb
reinstate /repl/embed - fixes #2375
6 years ago
Richard Harris
3a4b44e371
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Richard Harris
9acd89e912
filter out .DS_Store and mp3s
6 years ago
Emil Tholin
cd85dc7657
Fix broken "your company?" link
6 years ago
AlexxNB
ab7a9e7da7
add link_renderer to handle external links
6 years ago
Richard Harris
079a1ba276
bump up h5 size slightly
6 years ago
Luca Bonavita
9a503f21b1
Add anchor to h5 and h6 too but don't show 'em in the sidebar.
6 years ago
Luca Bonavita
010a784b4e
Site: sidebar level-4 headings.
...
Fixes #2389
6 years ago
Rich Harris
d4860ee444
Merge pull request #2392 from sveltejs/gh-2391
...
repl: use absolute svelteUrl to fix version=local
6 years ago
Rich Harris
961364fbc1
Merge pull request #2388 from mindrones/site-code-blocks-formatting
...
Site: code blocks formatting
6 years ago
Rich Harris
b04cada2dd
Merge pull request #2383 from sveltejs/update-repl
...
Update REPL
6 years ago
Richard Harris
ab7a1a757a
fix remaining tutorial layout bugs
6 years ago
Conduitry
eba815e74c
repl: use absolute svelteUrl to fix version=local
6 years ago
Luca Bonavita
2778956612
Code blocks formatting. Fixes #2387
6 years ago
Rich Harris
4cb08f3253
fix padding
6 years ago
Richard Harris
2e2abe635d
fix
6 years ago
Richard Harris
b96715f812
make tutorial mobile-friendly
6 years ago
Richard Harris
648bd176c5
add input-output toggle back to /repl
6 years ago
Richard Harris
8a85955fae
move responsive REPL behaviour into ReplWidget
6 years ago
Richard Harris
eadb083346
more tweaking
6 years ago
Richard Harris
cae0dc93c5
tweak layout of homepage info boxes
6 years ago
Richard Harris
b9aa8912e6
add menu icon to tutorial dropdown
6 years ago
Richard Harris
22a71b9aeb
make dropdown clickable in Safari
6 years ago
Rich Harris
1dc787493a
Merge pull request #2371 from mindrones/site-fix-2365
...
Don't update the active section for headings above level 3
6 years ago
Luca Bonavita
4b40882f45
use `data-scrollignore` rather than being level specific
6 years ago
Luca Bonavita
888e16367c
Don't update the active section for headings below level 3
...
Fixes #2365
6 years ago
Luca Bonavita
f8214049d4
Site: sections anchors fix
...
Fixes #2369
6 years ago
Richard Harris
3f02d999cd
use spritesheet for contributors - fixes #2329
6 years ago
Richard Harris
411d1118b6
mobile styles
6 years ago
Richard Harris
bf04c0528d
add instructions
6 years ago
Richard Harris
342d1a0166
add a few organisations using Svelte
6 years ago
Richard Harris
6e32ffd990
tweak working - fixes #2350
6 years ago
Rich Harris
a07eac432a
update API reference docs ( #2206 )
6 years ago
Richard Harris
6836f64312
fix broken link
6 years ago
Richard Harris
a72d7a72f5
pass through mapbox setup code
6 years ago
Richard Harris
c3b4e6c792
use external repl package everywhere
6 years ago
Richard Harris
c7f9f514be
use external repl package
6 years ago
Rich Harris
70c8d3e24a
Merge pull request #2311 from sveltejs/gh-2306
...
Fix zen mode REPL nav CSS
6 years ago
Conduitry
63771522d3
site: tidy repl example loading and fix race condition ( #2313 )
6 years ago
Richard Harris
cb60f6cfad
begun, the z-index wars have
6 years ago
Conduitry
2eba76a1a1
site: remove unused /repl/embed route
6 years ago
Conduitry
a0e6638a96
site: make main REPL use relaxed sandbox when loading from example
6 years ago
Conduitry
665c3eac79
site: run tutorial and widget REPLs in relaxed sandbox ( #2147 )
6 years ago
Rich Harris
29b4615d9d
Merge pull request #2272 from sveltejs/gh-2216
...
[WIP] Don't use iframes for homepage REPLs
6 years ago
Richard Harris
fba4308036
dry out /repl/embed
6 years ago
Rich Harris
e8b7cd7889
stagger creation of REPL widgets on home page
6 years ago
Richard Harris
795ca0c291
share workers, prevent REPL crosstalk
6 years ago
Mikhail Korepanov
39eece990e
Change input of a component when click on an error message
6 years ago
Rich Harris
9f0630c3fb
start moving REPL widgets out of iframes ( #2216 )
6 years ago
Rich Harris
ad2924acb3
a few tweaks
6 years ago
Rich Harris
fce96dcd75
remove old style tags when updating components - fixes #2220
6 years ago
Conduitry
149c33b69e
site: serve static assets with allow origin '*' ( #2221 )
6 years ago
Rich Harris
21d56c9ee3
Tidy up ( #2252 )
6 years ago
Richard Harris
a859d5cb90
recompile when options change
6 years ago
Richard Harris
52dac8f2a7
rebundle when files are created/renamed
6 years ago
Conduitry
66e2905066
repl: deal with named module exports from main App
6 years ago
Richard Harris
0e6bf65aeb
style tweaks, additional thumbnails
6 years ago
Richard Harris
2edb5df09c
transfer over all the old examples worth keeping
6 years ago
Richard Harris
b870e65511
add thumbnails to examples page
6 years ago