-
Notifications
You must be signed in to change notification settings - Fork 9
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
Stampy redesign 591 #602
Stampy redesign 591 #602
Changes from all commits
369e397
6c76396
964979c
38ee3e5
686213f
50aadba
7a92553
956c50b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,33 @@ | |
} | ||
} | ||
|
||
.height-70 { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh interesting. For now on we could do .height-70vh so we know the units! |
||
height: 70vh; | ||
overflow-x: hidden; | ||
} | ||
.widget-ask { | ||
position: sticky; | ||
bottom: 0; | ||
} | ||
.pointer { | ||
position: absolute; | ||
right: 0; | ||
margin: 4px; | ||
} | ||
.right-icon { | ||
padding-right: var(--spacing-56); | ||
} | ||
.warning-floating { | ||
position: fixed; | ||
right: 7vw; | ||
z-index: 100; | ||
bottom: 5vw; | ||
width: 11vw; | ||
} | ||
.red { | ||
color: #d40000; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We'll want to define this and reference it as a variable, plus put this class in the same place as the other color classes in root.css |
||
} | ||
|
||
.settings-container { | ||
position: absolute; | ||
bottom: var(--spacing-16); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ import {Link} from '@remix-run/react' | |
import {MenuItem} from '~/components/Menu' | ||
import OpenBookIcon from '~/components/icons-generated/OpenBook' | ||
import AISafetyIcon from '~/components/icons-generated/Aisafety' | ||
import BotIcon from '~/components/icons-generated/Bot' | ||
import ArticlesDropdown from '~/components/ArticlesDropdown' | ||
import type {TOCItem} from '~/routes/questions.toc' | ||
import type {Tag} from '~/server-utils/stampy' | ||
|
@@ -28,6 +29,12 @@ export const Nav = ({toc, categories}: NavProps) => { | |
id="showArticles" | ||
/> | ||
<ArticlesDropdown toc={toc} categories={categories || []} /> | ||
<MenuItem | ||
primary={true} | ||
link="https://chat.aisafety.info" | ||
icon={<BotIcon />} | ||
text="Stampy chatbot" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the global nav right? Could we make it say "AI Safety chatbot" instead? :) |
||
/> | ||
<li className="top-menu-item"> | ||
<div className="top-menu-divider"></div> | ||
</li> | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 believe this should take up 10 columns
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.
If you want to leave this to me when I do css that's totally fine