pngwn
764f71c30d
Site: Document createEventDispatcher. ( #2583 )
6 years ago
Luca Bonavita
5813248e5a
Site: add anchors to blog posts
...
Closes #2609
6 years ago
Luca Bonavita
211d86b4f8
Update the message in the popup we get when we login in the REPL
6 years ago
Luca Bonavita
8839951185
Site: REPL, use the gist or example title in the page title
...
Closes #2592
6 years ago
Luca Bonavita
55efa0e0b1
Site: REPL temp fix for the output pane does not receiving touch events on mobile & tablet
...
Applying this fix to make the site accessible on mobile again,
will remove when https://github.com/sveltejs/svelte-repl/issues/8 gets fixed and published
Fixes #2499 #2550
6 years ago
Luca Bonavita
788519b1c4
Site: use pure javascript slugification library
...
This library doesn't support languages but it has only 2 dependencies being free from native dependencies
Closes #2508
6 years ago
Andrei Eftimie
e0bebb56a9
Site: Fix slot typo in docs
6 years ago
Vidar Tysse
1ba42435ac
Typo
6 years ago
Emil Tholin
eab763c386
Document how to remove a component.$on listener
...
This PR documents how `component.$on` returns a function that removes the event listener when called.
6 years ago
Luca Bonavita
cc4e5b3e31
Use comma as the separatore in the viewport content value.
...
It seems that semicolon is not supported by Android phones.
Problem is, we'll have to re-open #2551 as iOS doesn't support the comma... (eyeroll)
6 years ago
Emil Tholin
5ab4a6c2f8
Fix typo in 10-transitions/07-local-transitions/text.md
6 years ago
Kevin McGee
2d5b27b643
For want of a word...
...
_as_ you like it...
6 years ago
Rich Harris
bf51befb54
Merge pull request #2558 from enstyled/patch-1
...
Update tutorial video chapter assets URLs with HTTPS
6 years ago
Rich Harris
4ee6284514
Merge pull request #2564 from sveltejs/ios-fix-2551
...
Site: set initial-scale=1.0 on the viewport
6 years ago
Eric Brookfield
1d61e48490
e.g. -> for example
...
*E.g.* is an English language idiom that can be said in a plainer way, easier for non-native speakers to understand.
Personal preference is to use plainer language when possible, but I wouldn't be offended if this were rejected.
6 years ago
Luca Bonavita
1ad29d2a02
Site: set initial-scale=1.0 on the viewport
...
fixes #2551
6 years ago
Emil Nikov
a3378466d3
Update assets URL in the code snippet
...
The assets are not loading when copy/pasting it in the editor, due to protocol mismatch.
6 years ago
Rich Harris
2fdf7d4e91
Merge pull request #2554 from thollander/fix/mobile-docs-sidebar
...
Fix unusable docs sidebar in mobile
6 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
6 years ago
Richard Harris
14ece6e789
simplify example further
6 years ago
Richard Harris
5c06d5ecf5
Merge branch 'patch-3' of https://github.com/CreaturesInUnitards/svelte into CreaturesInUnitards-patch-3
6 years ago
Rich Harris
050de82b29
Merge branch 'master' into site/polka
6 years ago
Rich Harris
f38678673c
Merge pull request #2517 from CreaturesInUnitards/patch-4
...
add multiple class toggles example
6 years ago
Rich Harris
b111785184
Merge pull request #2523 from sw-yx/patch-1
...
[updating docs] update quick start instructions
6 years ago
Rich Harris
5b453ed569
Merge pull request #2524 from sveltejs/gh-2447
...
Move embedded REPL contents into examples
6 years ago
Rich Harris
fa3b7b0c65
Merge pull request #2526 from sidx1024/add-myorganisation-logo
...
Add Razorpay to WhosUsingSvelte
6 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
6 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
6 years ago
thollander
adcd13f6dd
Fix the shadow in scrollbar of docs sidebar
6 years ago
Allan Tito
e1b2d5dc28
Update text.md, line 34 ( #2541 )
...
* Added comma
* Update text.md; added comma
6 years ago
Allan Tito
0d5c2466a7
Added comma
6 years ago
Vytautas Jakutis
1f8afcb37e
site: docs: fix a typo in HTML example in template syntax
6 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
6 years ago
sidgo
c3905be8d8
Add Razorpay to WhosUsingSvelte
6 years ago
swyx
7b632182c3
update quick start instructions
...
since the front page links to this slightly out of date blogpost - i copied over and updated instructions so otherse wont be as confused as i was...
6 years ago
Conduitry
e49db5c65f
site: move write-less-code REPL embed into example
6 years ago
Conduitry
f2e1b0ea99
site: move svelte-css-in-js REPL embed into example
6 years ago
Conduitry
8fa676bfb0
site: in examples.json don't return sections with no title
6 years ago
Scotty Simpson
644c02eb54
is-admin => isAdmin
6 years ago
Scotty Simpson
1865710095
add multiple class toggles example
...
This answers the immediate question I had when I first saw the `class:foo` syntax.
6 years ago
Scotty Simpson
9268db7338
simpler, more efficient example
6 years ago
Conduitry
e7885f2cb1
site: more link fixes in blog posts
6 years ago
Gregor Aisch
2435c57f47
fix link to CSS in JS blog post
6 years ago
Jesse Wicks
57735d4982
fix tutorial link
6 years ago
Scotty Simpson
96e3df1c79
typo
...
I'm very helpful
6 years ago
Luke Edwards
ae081af54c
Merge branch 'master' into site/polka
6 years ago
Luke Edwards
bc6e456574
chore: bump polka deps
6 years ago
Jon Ross
bf6bd36e38
Update alt text to clarify "shorthand attributes"
...
Alternatively, `alt="A man dancing"` could also be removed with no detrimental side effects IMO.
6 years ago
Luca Bonavita
2a76b8d383
site: API docs, transform section titles with the same processor used for content headers
6 years ago
Conduitry
d85de6791e
site: use master branch of template in svelte-app
6 years ago
Conduitry
e039cabbaa
site: fix another link ( #2497 )
6 years ago
Luca Bonavita
58531cbf49
Fix hash links in docs
...
- update links containing `docs#`
- pointing some links to the v2 branch
- for posterity, I've been looking also in markdown links containing an anchor using \[.+\]\(.+#.+\), derived from regexr.com/3e051 (1 found)
- Gitter -> Discord
Fixes #2470
6 years ago
rqrqrqrq
bda6aff09c
Docs fix ( #2488 )
6 years ago
Richard Harris
de153eff0f
surely this will fix it
6 years ago
Richard Harris
8c26471d00
fix gist icon in REPL
6 years ago
Richard Harris
bed7511bff
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Richard Harris
0e6b002573
work around transition bug
6 years ago
Achim Vedam
210ac8aa57
closes #2482
...
• fix missing :hover-state in TopNav
6 years ago
Richard Harris
0b54fa9537
add video to blog post, remove draft flag
6 years ago
Rich Harris
263add1d61
Merge pull request #2469 from sveltejs/better-site-errors
...
better error pages
6 years ago
Richard Harris
813f4870bb
remove some unused code
6 years ago
Richard Harris
9dc554203d
fix opacity on examples TOC
6 years ago
Rich Harris
0129277b51
Merge pull request #2477 from sveltejs/site/deps
...
Site: Remove extra dependencies
6 years ago
Richard Harris
b3a913a19a
merge
6 years ago
Rich Harris
8e1fa5755f
Merge pull request #2479 from sveltejs/gcloud-builds
...
site: use gcloud CLI to build Docker image
6 years ago
Rich Harris
74a5ef2811
Merge branch 'master' into site/deps
6 years ago
Rich Harris
aa0abb13cc
Merge pull request #2476 from sveltejs/site/caching
...
Site: Default Cache-Control value
6 years ago
Rich Harris
86f6e73830
Merge pull request #2475 from sveltejs/deploy/node-11
...
Chore: Deploy with Node 11.14
6 years ago
Rich Harris
be6d61f5ed
Merge pull request #2473 from sveltejs/gh-2449
...
add a preloading indicator
6 years ago
Luke Edwards
4c3499f578
fix(site): remove "dotenv" from runtime
6 years ago
Luke Edwards
85481a446a
fix: serve -> sirv typo
6 years ago
Conduitry
8866e5a219
site: use gcloud CLI to build Docker image
6 years ago
Luke Edwards
18c2e6b675
site: remove “compression” lib;
...
- handled better by Cloudflare
6 years ago
Luke Edwards
5928378664
fix: remove unused arg
6 years ago
Luke Edwards
030d3c9b0d
site: install & use polka
6 years ago
Luke Edwards
5830cf346e
chore: linter fixes
6 years ago
Luke Edwards
999b1f4cdb
refactor: let `send` build output
6 years ago
Luke Edwards
092d0be525
chore: install “polka/send”
6 years ago
Luke Edwards
ece8224085
chore: bump & attach `sirv` dep
6 years ago
Luke Edwards
02f89bcbd9
fix: set default Cache-Control value when unset
6 years ago
Luke Edwards
ebb4e72d1d
chore: deploy with Node 11.14
6 years ago
Conduitry
a8832f006e
site: remove Now ( #2474 )
6 years ago
Richard Harris
04a6b9ad8b
add a preloading indicator - fixes #2449
6 years ago
Richard Harris
17c5cb75b1
makes links a bit more obvious, per #2445 . also tweaks some /blog css
6 years ago
Richard Harris
1e9ef58a90
better error pages
6 years ago
Richard Harris
f4d7087ea0
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Richard Harris
7a3e87c75e
remove superfluous example
6 years ago
Richard Harris
2359a9f595
redo thumbnails as jpgs
6 years ago
Richard Harris
30b47995dd
Merge branch 'master' into deploy/cloudrun
6 years ago
Rich Harris
3f10f3542d
Merge pull request #2466 from sveltejs/examples-nav-2460
...
Add examples navigation
6 years ago
Richard Harris
6dc71feed5
Merge branch 'master' into deploy/cloudrun
6 years ago
Richard Harris
5de3c390bb
fix some markup
6 years ago
Luca Bonavita
64d397844f
remove ref to prevent_sidebar_scroll and unused vars
6 years ago
Richard Harris
a5575b3fd3
add project name
6 years ago
Luca Bonavita
159ea061d0
fix svelteUrl (beta -> v3)
6 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
6 years ago
Richard Harris
a3cddbfb49
Merge branch 'master' into deploy/cloudrun
6 years ago
Luke Edwards
31d99eb2a7
chore: remove old “deploy” scripts
6 years ago
Rich Harris
bb888f69d2
Merge pull request #2459 from sveltejs/v2-repl-redirect
...
redirect to old REPL where necessary
6 years ago
Luke Edwards
2b9b2362b7
chore: add Makefile recipes
6 years ago
Luke Edwards
284b3f61d9
chore: add Dockerfile
6 years ago
Richard Harris
0ff6f5b0b0
update links
6 years ago
Richard Harris
428e220e3e
redirect to old REPL where necessary
6 years ago
Richard Harris
39afa1c153
Merge branch 'meta-tags'
6 years ago
Rich Harris
129064b4b4
Merge pull request #2457 from sveltejs/meta-tags
...
add regular <meta> tags
6 years ago
Brave Cow
acaee3392d
target="_blank"
6 years ago
Richard Harris
98a42b8f2b
gah. was being greedy
6 years ago
Richard Harris
9cf20505e8
add regular <meta> tags
6 years ago
Richard Harris
b2f0a3211f
add engines field
6 years ago
Richard Harris
982d5daf0b
update lockfile
6 years ago
Rich Harris
787700571e
Merge pull request #2404 from mindrones/2344-fix-translated-slugs
...
Support slug translations in the API docs
6 years ago
Conduitry
85d3f769c7
site: hide draft posts in blog rss feed
6 years ago
Rich Harris
0536de5bb8
Merge pull request #2453 from sveltejs/gh-2450
...
update references to svelte.technology
6 years ago
Richard Harris
75769a2b53
fix copypasta fail
6 years ago
Richard Harris
9a600b79a9
add twitter metadata - fixes #2448
6 years ago
Richard Harris
115d10bd18
update references to svelte.technology - fixes #2450
6 years ago
Conduitry
b7b6a0958f
site: update REPL from svelte@beta to svelte@3
6 years ago
Richard Harris
c2362f504a
put back logo-mask.svg
6 years ago
Richard Harris
d0ab5b61fa
fix layout
6 years ago
Richard Harris
906ccb6d84
draft announcement blog post
6 years ago
Richard Harris
190d86701c
Merge branch 'master' into announcement
6 years ago
Richard Harris
baf0d8ff23
remove draft flag
6 years ago
Richard Harris
90b2997263
tweak blog post
6 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
4bf5f63086
huh, React yells if you use onInput instead of onChange
6 years ago
Richard Harris
099e3d7eed
add draft write-less-code blog post
6 years ago
Richard Harris
3a9d3c44d1
Merge branch 'setting-up-your-editor'
6 years ago
Richard Harris
bbef9918e5
mark post as draft
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
fae3757eff
make placeholder post presentable
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
Gabswim
0b706e24cb
typo in tutorial
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
45a5d695fb
main-style changes
6 years ago
Achim Vedam
9a05af7a7f
add assets, remove unused
6 years ago
Rich Harris
41af134639
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Rich Harris
c7c8e19ec1
fix theme-color
6 years ago
Richard Harris
8c582abb10
start writing announcement blog post
6 years ago
Rich Harris
5d71b5138a
Merge pull request #2433 from sveltejs/gh-2430
...
Use Map for keyed each block lookups
6 years ago
Richard Harris
9474631fae
update repl - fixes #2428
6 years ago
Rich Harris
f8b9bffe31
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Rich Harris
1e9223aff6
use github key/secret to increase rate limits when fetching contributors
6 years ago
Rich Harris
d7b51a319e
update secrets
6 years ago
Richard Harris
9773b0ed49
update now.json
6 years ago
Richard Harris
1c2d19b9c6
update docs
6 years ago
Richard Harris
6ad3c560a2
update tutorial for keyed each blocks
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
Rich Harris
bb10298f2c
update animate chapter
6 years ago
Richard Harris
b1737503f0
start updating deferred transition chapter
6 years ago
Rich Harris
f04225fa0f
document local transitions
6 years ago
Rich Harris
b815ac7be9
document store bindings and $foo += 1
6 years ago
Rich Harris
e4ed7183d2
placeholder for svelte-for-new-developers blog post
6 years ago
Rich Harris
0b28796fe2
placeholder for setting-up-your-editor blog post
6 years ago
Rich Harris
d6d9a5ee01
Merge pull request #2425 from sveltejs/gh-2423
...
update svelte:options tutorial chapter, remove example
6 years ago
Rich Harris
ab84aeef11
update svelte:options tutorial chapter, remove example
6 years ago
Rich Harris
d66b1d9a1e
tweak copy
6 years ago
Rich Harris
b176f9370a
add tutorial chapter for mutations - fixes #2243
6 years ago
Rich Harris
c5b401254c
Update examples and thumbnails
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
Rich Harris
6a9d7bf144
Merge pull request #2420 from sveltejs/repl-embed
...
reinstate /repl/embed
6 years ago
Richard Harris
520f69f7cb
document the accessors option - closes #2382
6 years ago
Richard Harris
1c6f627bbb
reinstate /repl/embed - fixes #2375
6 years ago
Richard Harris
c154641fc9
update shimport
6 years ago
Richard Harris
3a4b44e371
Merge branch 'master' of github.com:sveltejs/svelte
6 years ago
Richard Harris
5bc589297c
update site deps, hack around shimport stuff temporarily
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
Rich Harris
3c840aad88
Merge pull request #2411 from AlexxNB/master
...
add link_renderer to handle external links
6 years ago
Conduitry
cad5bbafd4
site: fix deferred-transitions example
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
Richard Harris
55bec34a6e
Merge branch 'site-sidebar-level-4-headings' of https://github.com/mindrones/svelte into mindrones-site-sidebar-level-4-headings
6 years ago
Luca Bonavita
c474007c88
Add link to Mozilla docs about events bubbling and capture phase
...
Fixes #2393
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
Conduitry
3170edb158
add initial_value argument to derived store
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