new onboarding
This commit is contained in:
parent
da835a7178
commit
64f36c5757
1 changed files with 5 additions and 12 deletions
|
|
@ -26,18 +26,12 @@ const StyledSpan = styled.span`
|
|||
|
||||
const Onboarding = () => {
|
||||
const [counter, setCounter] = useState(4);
|
||||
const gifs = ["intro", "explain", "edit", "generate", "intro"];
|
||||
const gifs = ["intro", "highlight", "question", "help"];
|
||||
const topMessages = [
|
||||
"Welcome to Continue!",
|
||||
"Answer coding questions",
|
||||
"Edit in natural language",
|
||||
"Generate files from scratch",
|
||||
];
|
||||
const bottomMessages = [
|
||||
"",
|
||||
"Ask Continue about a part of your code to get another perspective",
|
||||
"Highlight a section of code and instruct Continue to refactor it",
|
||||
"Let Continue build the scaffolding of Python scripts, React components, and more",
|
||||
"Welcome!",
|
||||
"Highlight code",
|
||||
"Ask a question",
|
||||
"Use /help to learn more",
|
||||
];
|
||||
|
||||
useEffect(() => {
|
||||
|
|
@ -107,7 +101,6 @@ const Onboarding = () => {
|
|||
/>
|
||||
)}
|
||||
</div>
|
||||
<p>{bottomMessages[counter]}</p>
|
||||
<p
|
||||
style={{
|
||||
paddingLeft: "50px",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue