Skip to content

Commit

Permalink
Merge pull request #421 from appwrite/feat/cloud-beta-card
Browse files Browse the repository at this point in the history
Feat/cloud beta card
  • Loading branch information
christyjacob4 authored Apr 28, 2023
2 parents 513b6c3 + 5017dbb commit 1d579ca
Show file tree
Hide file tree
Showing 26 changed files with 2,157 additions and 74 deletions.
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"logrocket": "^3.0.1",
"pretty-bytes": "^6.1.0",
"prismjs": "^1.29.0",
"svelte-confetti": "^1.2.2",
"tippy.js": "^6.3.7",
"web-vitals": "^3.1.1"
},
Expand Down
17 changes: 17 additions & 0 deletions src/lib/elements/forms/button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
export let submit = false;
export let secondary = false;
export let github = false;
export let text = false;
export let danger = false;
export let disabled = false;
Expand Down Expand Up @@ -38,6 +39,7 @@
class="button"
class:is-only-icon={round}
class:is-secondary={secondary}
class:is-github={github}
class:is-text={text}
class:is-danger={danger}
class:is-full-width={fullWidth}
Expand All @@ -53,6 +55,7 @@
class="button"
class:is-only-icon={round}
class:is-secondary={secondary}
class:is-github={github}
class:is-danger={danger}
class:is-text={text}
class:is-full-width={fullWidth}
Expand All @@ -62,3 +65,17 @@
<slot />
</button>
{/if}

<style lang="scss">
.is-github {
background-color: #373b4d;
&:hover {
background-color: lighten($color: #373b4d, $amount: 2.5);
}
&:active {
background-color: darken($color: #373b4d, $amount: 5);
}
}
</style>
22 changes: 22 additions & 0 deletions src/lib/images/appwrite-cloud.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/lib/images/login/cloud-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/lib/images/login/cloud-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1d579ca

Please sign in to comment.