-
Notifications
You must be signed in to change notification settings - Fork 246
Feat cta connect cloud #495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Updates top nav with a check for a logged in user in order to update message accordingly
Your Render PR Server URL is https://appwrite-io-pr-495.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-cmc2d57109ks738bvhtg. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -157,7 +158,7 @@ | |||
</div> | |||
<div class="aw-mobile-header-end"> | |||
{#if !$isMobileNavOpen} | |||
<a href="https://cloud.appwrite.io" class="aw-button"> | |||
<a href="https://stage.cloud.appwrite.io" class="aw-button"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reminder to remove stage.
|
||
function applyTheme(theme: Theme) { | ||
const resolvedTheme = theme === 'system' ? getSystemTheme() : theme; | ||
const className = `theme-${resolvedTheme}`; | ||
document.body.classList.remove('theme-dark', 'theme-light'); | ||
document.body.classList.add(className); | ||
} | ||
let getAccount = async () => { | ||
loggedIn.set( | ||
localStorage.getItem('appwrite:loggedIn') !== null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a convention of how we store things in localstorage? do we have this documented?
@wess also, on the docs, the CTA is always |
Adds login check to CTA
Your Render PR Server URL is https://appwrite-io-docker-pr-495.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-cmfv28qcn0vc73bbg7lg. |
Adds login check to CTA
What does this PR do?
(Provide a description of what this PR does.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)