Skip to content

Commit

Permalink
feat: add new logo to all demos
Browse files Browse the repository at this point in the history
  • Loading branch information
umaranis committed Sep 15, 2023
1 parent 99f093b commit 2ce2be2
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 62 deletions.
22 changes: 1 addition & 21 deletions demos/plaintext-editor/public/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 5 additions & 13 deletions demos/plaintext-editor/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</script>

<main>
<h1>Svelte Lexical!</h1>
<img src="images/logo.svg" alt="Svelte Lexical!" />
<p>
This Plain Text Editor is build with <a
href="https://github.com/umaranis/svelte-lexical/">
Expand All @@ -18,20 +18,12 @@
main {
text-align: center;
padding: 1em;
max-width: 240px;
max-width: none;
margin: 0 auto;
}
h1 {
color: #ff3e00;
text-transform: uppercase;
font-size: 4em;
font-weight: 100;
}
@media (min-width: 640px) {
main {
max-width: none;
}
img {
margin: 2em;
max-width: 800px;
}
</style>
8 changes: 1 addition & 7 deletions demos/playground/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,12 @@
main {
text-align: center;
padding: 1em;
max-width: 240px;
max-width: none;
margin: 0 auto;
}
img {
margin: 2em;
max-width: 800px;
}
@media (min-width: 640px) {
main {
max-width: none;
}
}
</style>
18 changes: 5 additions & 13 deletions demos/richtext-editor/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<main>
<div class="header">
<h1>Svelte Lexical!</h1>
<img src="src/images/logo.svg" alt="Svelte Lexical!" />
<p>
This Rich Text Editor is build with <a
href="https://github.com/umaranis/svelte-lexical/">
Expand All @@ -21,20 +21,12 @@
.header {
text-align: center;
padding: 1em;
max-width: 540px;
max-width: none;
margin: 0 auto;
}
h1 {
color: #ff3e00;
text-transform: uppercase;
font-size: 4em;
font-weight: 100;
}
@media (min-width: 640px) {
main {
max-width: none;
}
img {
margin: 2em;
max-width: 800px;
}
</style>
2 changes: 1 addition & 1 deletion demos/richtext-editor/src/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 27 additions & 6 deletions demos/sveltekit/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,30 @@
import '../global.css';
</script>

<h1>Welcome to SvelteKit</h1>
<p>
Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a>
to read the documentation
</p>
<RichTextComposer />
<main>
<img src="images/logo.svg" alt="Svelte Lexical!" />
<p>
Welcome to <a href="https://github.com/umaranis/svelte-lexical/">
svelte-lexical
</a>
demo built using
<a href="https://kit.svelte.dev">SvelteKit</a>
</p>
<div style="text-align: left;">
<RichTextComposer />
</div>
</main>

<style>
main {
text-align: center;
padding: 1em;
max-width: none;
margin: 0 auto;
}
img {
margin: 2em;
max-width: 800px;
}
</style>
Loading

0 comments on commit 2ce2be2

Please sign in to comment.