|
| 1 | +import { Helmet } from '@modern-js/runtime/head'; |
| 2 | +import './index.css'; |
| 3 | + |
| 4 | +const Index = () => ( |
| 5 | + <div className="container-box"> |
| 6 | + <Helmet> |
| 7 | + <link |
| 8 | + rel="icon" |
| 9 | + type="image/x-icon" |
| 10 | + href="https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/favicon.ico" |
| 11 | + /> |
| 12 | + </Helmet> |
| 13 | + <main> |
| 14 | + <div className="title"> |
| 15 | + Welcome to |
| 16 | + <img |
| 17 | + className="logo" |
| 18 | + src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/modern-js-logo.svg" |
| 19 | + alt="Modern.js Logo" |
| 20 | + /> |
| 21 | + <p className="name">Modern.js</p> |
| 22 | + </div> |
| 23 | + <p className="description"> |
| 24 | + Get started by editing <code className="code">src/routes/page.tsx</code> |
| 25 | + </p> |
| 26 | + <div className="grid"> |
| 27 | + <a |
| 28 | + href="https://modernjs.dev/guides/get-started/introduction.html" |
| 29 | + target="_blank" |
| 30 | + rel="noopener noreferrer" |
| 31 | + className="card" |
| 32 | + > |
| 33 | + <h2> |
| 34 | + Guide |
| 35 | + <img |
| 36 | + className="arrow-right" |
| 37 | + src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg" |
| 38 | + /> |
| 39 | + </h2> |
| 40 | + <p>Follow the guides to use all features of Modern.js.</p> |
| 41 | + </a> |
| 42 | + <a |
| 43 | + href="https://modernjs.dev/tutorials/foundations/introduction.html" |
| 44 | + target="_blank" |
| 45 | + className="card" |
| 46 | + rel="noreferrer" |
| 47 | + > |
| 48 | + <h2> |
| 49 | + Tutorials |
| 50 | + <img |
| 51 | + className="arrow-right" |
| 52 | + src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg" |
| 53 | + /> |
| 54 | + </h2> |
| 55 | + <p>Learn to use Modern.js to create your first application.</p> |
| 56 | + </a> |
| 57 | + <a |
| 58 | + href="https://modernjs.dev/configure/app/usage.html" |
| 59 | + target="_blank" |
| 60 | + className="card" |
| 61 | + rel="noreferrer" |
| 62 | + > |
| 63 | + <h2> |
| 64 | + Config |
| 65 | + <img |
| 66 | + className="arrow-right" |
| 67 | + src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg" |
| 68 | + /> |
| 69 | + </h2> |
| 70 | + <p>Find all configuration options provided by Modern.js.</p> |
| 71 | + </a> |
| 72 | + <a |
| 73 | + href="https://github.com/web-infra-dev/modern.js" |
| 74 | + target="_blank" |
| 75 | + rel="noopener noreferrer" |
| 76 | + className="card" |
| 77 | + > |
| 78 | + <h2> |
| 79 | + Github |
| 80 | + <img |
| 81 | + className="arrow-right" |
| 82 | + src="https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/arrow-right.svg" |
| 83 | + /> |
| 84 | + </h2> |
| 85 | + <p>View the source code of Github, feel free to contribute.</p> |
| 86 | + </a> |
| 87 | + </div> |
| 88 | + </main> |
| 89 | + </div> |
| 90 | +); |
| 91 | + |
| 92 | +export default Index; |
0 commit comments