Elffuss BraidHub

kikocis/continue public

main · 4.2 KiBRawPermalink
1import { useNavigate } from "react-router-dom";
2import ContinueButton from "../components/mainInput/ContinueButton";
3
4function MigrationPage() {
5 const navigate = useNavigate();
6 return (
7 <div className="p-8">
8 <h1>
9 Migration to <code>config.json</code>
10 </h1>
11
12 <p>
13 Continue now uses a .json config file. We hope that this takes the
14 guesswork out of setting up.
15 </p>
16
17 <p>
18 Your configuration should have been automatically migrated, but we
19 recommend double-checking that everything looks correct.
20 </p>
21
22 <p>
23 For a summary of what changed and examples of <code>config.json</code>,
24 please see the{" "}
25 <a
26 href="https://docs.continue.dev/walkthroughs/config-file-migration"
27 target="_blank"
28 >
29 migration walkthrough
30 </a>
31 , and if you have any questions please reach out to us on{" "}
32 <a href="https://discord.gg/Y83xkG3uUW" target="_blank">
33 Discord
34 </a>
35 .
36 </p>
37
38 <i>
39 Note: If you are running the server manually and have not updated the
40 server, this message does not apply.
41 </i>
42
43 <ContinueButton
44 showStop={false}
45 onClick={() => {
46 navigate("/");
47 }}
48 disabled={false}
49 />
50 </div>
51 );
52}
53
54export default MigrationPage;
55
56---
57
58import { useNavigate } from "react-router-dom";
59import ContinueButton from "../components/mainInput/ContinueButton";
60
61function MigrationPage() {
62 const navigate = useNavigate();
63 return (
64 <div className="p-8">
65 <h1>
66 Migration to <code>config.json</code>
67 </h1>
68
69 <p className="text-sm">
70 Continue now uses a .json config file. We hope that this takes the
71 guesswork out of setting up.
72 </p>
73
74 <p className="text-sm">
75 Your configuration should have been automatically migrated, but we
76 recommend double-checking that everything looks correct.
77 </p>
78
79 <p className="text-sm">
80 For a summary of what changed and examples of <code>config.json</code>,
81 please see the{" "}
82 <a
83 href="https://docs.continue.dev/walkthroughs/config-file-migration"
84 target="_blank"
85 >
86 migration walkthrough
87 </a>
88 , and if you have any questions please reach out to us on{" "}
89 <a href="https://discord.gg/Y83xkG3uUW" target="_blank">
90 Discord
91 </a>
92 .
93 </p>
94
95 <i className="text-sm">
96 Note: If you are running the server manually and have not updated the
97 server, this message does not apply.
98 </i>
99
100 {/* ... existing code ... */}
101 </div>
102 );
103}
104
105export default MigrationPage;
106
107---
108
109import { useNavigate } from "react-router-dom";
110import ContinueButton from "../components/mainInput/ContinueButton";
111
112function MigrationPage() {
113 const navigate = useNavigate();
114 return (
115 <div className="p-8">
116 <h1>
117 Migration to <code>config.json</code>
118 </h1>
119
120- <p>
121+ <p className="text-sm">
122 Continue now uses a .json config file. We hope that this takes the
123 guesswork out of setting up.
124 </p>
125
126- <p>
127+ <p className="text-sm">
128 Your configuration should have been automatically migrated, but we
129 recommend double-checking that everything looks correct.
130 </p>
131
132- <p>
133+ <p className="text-sm">
134 For a summary of what changed and examples of <code>config.json</code>,
135 please see the{" "}
136 <a
137 href="https://docs.continue.dev/walkthroughs/config-file-migration"
138 target="_blank"
139 >
140 migration walkthrough
141 </a>
142 , and if you have any questions please reach out to us on{" "}
143 <a href="https://discord.gg/Y83xkG3uUW" target="_blank">
144 Discord
145 </a>
146 .
147 </p>
148
149- <i>
150+ <i className="text-sm">
151 Note: If you are running the server manually and have not updated the
152 server, this message does not apply.
153 </i>
154
155 <ContinueButton
156 showStop={false}
157 onClick={() => {
158 navigate("/");
159 }}
160 disabled={false}
161 />
162 </div>
163 );
164}
165
166export default MigrationPage;