-
-
Notifications
You must be signed in to change notification settings - Fork 341
Added a button to link docs to appPage #314
Added a button to link docs to appPage #314
Conversation
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.
A fix for the failing test is in main. So when merging main into this, the tests should pass again
src/routes/docs/+layout.svelte
Outdated
@@ -12,6 +12,12 @@ | |||
</div> | |||
<div class="w-full border-gray-300 dark:border-gray-600 lg:w-3/5 lg:border-x lg:px-8"> | |||
<slot /> | |||
<div class="flex" style=" justify-content: space-around; margin-top:5%;"> | |||
<a | |||
class="default-transition text-skin-text-highlight hover:underline hover:decoration-inherit" |
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.
I think we should add the link to /app
to the topbar, what do you think?
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.
@Cahllagerfeld yeah, then i think i should name it just "AppPage" and place it in topbar, or any other name you suggest.
sorry, can you explain a bit more why the test failed, i'm a newbie. |
To be honest, I'm not 100% sure because the tests weren't changed. I think it relates to a self-closing popup, but its just a guess |
src/lib/components/header.svelte
Outdated
const navItems = [{ name: 'Docs', path: '/docs' }]; | ||
const navItems = [ | ||
{ name: 'Docs', path: '/docs' }, | ||
{ name: 'AppPage', path: '/app' }, |
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.
Shall we just call it App
or something? I'm not sure about this camle case here?
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.
Shall we just call it
App
or something? I'm not sure about this camle case here?
yeah,camel case doesn't seem fine👍
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.
Looks good to me 👍
Fixes Issue
Closes #313
Changes proposed
Add a button that on click redirects to appPage in the docs section of the website.
Check List (Check all the applicable boxes)
Screenshots
Note to reviewers