diff --git a/examples/realworld/.gitignore b/examples/realworld/.gitignore index c51177f6dc..1739431f32 100644 --- a/examples/realworld/.gitignore +++ b/examples/realworld/.gitignore @@ -1,3 +1,3 @@ /.wasp/ -/.env.server -/.env.client +.env.server +.env.client diff --git a/examples/realworld/ext/style.css b/examples/realworld/ext/style.css new file mode 100644 index 0000000000..df48d66708 --- /dev/null +++ b/examples/realworld/ext/style.css @@ -0,0 +1,9 @@ +body { + margin: 0; + padding: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", + "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", + sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} diff --git a/examples/realworld/src/client/MainPage.js b/examples/realworld/src/client/MainPage.js index 8fa9031116..407afe1bde 100644 --- a/examples/realworld/src/client/MainPage.js +++ b/examples/realworld/src/client/MainPage.js @@ -21,6 +21,8 @@ import Navbar from './Navbar' import ArticleListPaginated from './article/components/ArticleListPaginated' import addWaspSourceHeader from './addWaspSourceHeader' +import './style.css' + const MainPage = () => { const { data: me } = useAuth() diff --git a/examples/thoughts/.gitignore b/examples/thoughts/.gitignore index c51177f6dc..1739431f32 100644 --- a/examples/thoughts/.gitignore +++ b/examples/thoughts/.gitignore @@ -1,3 +1,3 @@ /.wasp/ -/.env.server -/.env.client +.env.server +.env.client diff --git a/examples/thoughts/src/client/Main.css b/examples/thoughts/src/client/Main.css index 88bcc79feb..fce71b91a1 100644 --- a/examples/thoughts/src/client/Main.css +++ b/examples/thoughts/src/client/Main.css @@ -4,6 +4,14 @@ box-sizing: border-box; } +body { + margin: 0; + padding: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", + "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", + sans-serif; + } + button.plain { border: none; outline: none; diff --git a/examples/tutorials/ItWaspsOnMyMachine/.gitignore b/examples/tutorials/ItWaspsOnMyMachine/.gitignore index c51177f6dc..1739431f32 100644 --- a/examples/tutorials/ItWaspsOnMyMachine/.gitignore +++ b/examples/tutorials/ItWaspsOnMyMachine/.gitignore @@ -1,3 +1,3 @@ /.wasp/ -/.env.server -/.env.client +.env.server +.env.client diff --git a/examples/tutorials/ItWaspsOnMyMachine/migrations/20220720110622_init/migration.sql b/examples/tutorials/ItWaspsOnMyMachine/migrations/20220720110622_init/migration.sql deleted file mode 100644 index cc4b8fd193..0000000000 --- a/examples/tutorials/ItWaspsOnMyMachine/migrations/20220720110622_init/migration.sql +++ /dev/null @@ -1,8 +0,0 @@ --- CreateTable -CREATE TABLE "Excuse" ( - "id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, - "text" TEXT NOT NULL -); - --- CreateIndex -CREATE UNIQUE INDEX "Excuse_text_key" ON "Excuse"("text"); diff --git a/examples/tutorials/TodoApp/.gitignore b/examples/tutorials/TodoApp/.gitignore index c51177f6dc..1739431f32 100644 --- a/examples/tutorials/TodoApp/.gitignore +++ b/examples/tutorials/TodoApp/.gitignore @@ -1,3 +1,3 @@ /.wasp/ -/.env.server -/.env.client +.env.server +.env.client diff --git a/examples/waspello/.gitignore b/examples/waspello/.gitignore index c51177f6dc..1739431f32 100644 --- a/examples/waspello/.gitignore +++ b/examples/waspello/.gitignore @@ -1,3 +1,3 @@ /.wasp/ -/.env.server -/.env.client +.env.server +.env.client diff --git a/examples/waspello/src/client/Main.css b/examples/waspello/src/client/Main.css index 04fb3301a1..104fbbcc59 100644 --- a/examples/waspello/src/client/Main.css +++ b/examples/waspello/src/client/Main.css @@ -4,6 +4,14 @@ box-sizing: border-box; } +body { + margin: 0; + padding: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", + "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", + sans-serif; +} + .container { min-height: 100vh; display: flex; diff --git a/examples/waspleau/.gitignore b/examples/waspleau/.gitignore index 4ec620481a..d6fb280686 100644 --- a/examples/waspleau/.gitignore +++ b/examples/waspleau/.gitignore @@ -1,4 +1,4 @@ /.wasp/ -/.env.server -/.env.client +.env.server +.env.client .DS_Store diff --git a/examples/waspleau/src/client/style.css b/examples/waspleau/src/client/style.css index 536bfe248b..591ac21276 100644 --- a/examples/waspleau/src/client/style.css +++ b/examples/waspleau/src/client/style.css @@ -1,3 +1,13 @@ +body { + margin: 0; + padding: 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", + "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", + sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + .container { margin: 40px; }