Spaces:
Running
Running
CodXER Robin static landing — branded orchestrator docs
Browse files- .gitignore +14 -23
- README.md +48 -83
- package-lock.json +0 -0
- package.json +35 -39
- public/index.html +18 -43
- src/App.css +317 -38
- src/App.js +324 -25
- src/index.css +32 -13
- src/index.js +11 -17
.gitignore
CHANGED
|
@@ -1,23 +1,14 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
/
|
| 5 |
-
/
|
| 6 |
-
.
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
.DS_Store
|
| 16 |
-
.env.local
|
| 17 |
-
.env.development.local
|
| 18 |
-
.env.test.local
|
| 19 |
-
.env.production.local
|
| 20 |
-
|
| 21 |
-
npm-debug.log*
|
| 22 |
-
yarn-debug.log*
|
| 23 |
-
yarn-error.log*
|
|
|
|
| 1 |
+
/node_modules
|
| 2 |
+
/.pnp
|
| 3 |
+
.pnp.js
|
| 4 |
+
/coverage
|
| 5 |
+
/build
|
| 6 |
+
.DS_Store
|
| 7 |
+
.env
|
| 8 |
+
.env.local
|
| 9 |
+
.env.development.local
|
| 10 |
+
.env.test.local
|
| 11 |
+
.env.production.local
|
| 12 |
+
npm-debug.log*
|
| 13 |
+
yarn-debug.log*
|
| 14 |
+
yarn-error.log*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
|
@@ -1,83 +1,48 @@
|
|
| 1 |
-
---
|
| 2 |
-
title:
|
| 3 |
-
emoji: 🐠
|
| 4 |
-
colorFrom: indigo
|
| 5 |
-
colorTo: red
|
| 6 |
-
sdk: static
|
| 7 |
-
pinned: false
|
| 8 |
-
app_build_command: npm run build
|
| 9 |
-
app_file: build/index.html
|
| 10 |
-
license: mit
|
| 11 |
-
short_description: OpenAI-compatible
|
| 12 |
-
---
|
| 13 |
-
|
| 14 |
-
#
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
##
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
| 50 |
-
|
| 51 |
-
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
|
| 52 |
-
|
| 53 |
-
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
|
| 54 |
-
|
| 55 |
-
## Learn More
|
| 56 |
-
|
| 57 |
-
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
| 58 |
-
|
| 59 |
-
To learn React, check out the [React documentation](https://reactjs.org/).
|
| 60 |
-
|
| 61 |
-
### Code Splitting
|
| 62 |
-
|
| 63 |
-
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
|
| 64 |
-
|
| 65 |
-
### Analyzing the Bundle Size
|
| 66 |
-
|
| 67 |
-
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
|
| 68 |
-
|
| 69 |
-
### Making a Progressive Web App
|
| 70 |
-
|
| 71 |
-
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
|
| 72 |
-
|
| 73 |
-
### Advanced Configuration
|
| 74 |
-
|
| 75 |
-
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
|
| 76 |
-
|
| 77 |
-
### Deployment
|
| 78 |
-
|
| 79 |
-
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
|
| 80 |
-
|
| 81 |
-
### `npm run build` fails to minify
|
| 82 |
-
|
| 83 |
-
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: CodXER Robin
|
| 3 |
+
emoji: 🐠
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: red
|
| 6 |
+
sdk: static
|
| 7 |
+
pinned: false
|
| 8 |
+
app_build_command: npm run build
|
| 9 |
+
app_file: build/index.html
|
| 10 |
+
license: mit
|
| 11 |
+
short_description: CodXER Robin — OpenAI-compatible orchestrator API
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# CodXER Robin (Static Space)
|
| 15 |
+
|
| 16 |
+
Public landing page for **CodXER Robin** — an OpenAI-compatible **multi-model orchestration API** operated by [CodXER](https://codxer.com/).
|
| 17 |
+
|
| 18 |
+
## What this Space is
|
| 19 |
+
|
| 20 |
+
- Product documentation and links to the live CodXER platform.
|
| 21 |
+
- **Not** a model repository and **not** an interactive inference demo in-browser.
|
| 22 |
+
- Robin routes requests across CodXER-managed models at `https://api.codxer.com`.
|
| 23 |
+
|
| 24 |
+
## Local development
|
| 25 |
+
|
| 26 |
+
```bash
|
| 27 |
+
npm install
|
| 28 |
+
npm start
|
| 29 |
+
npm run build
|
| 30 |
+
npm run verify
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
## Deploy target
|
| 34 |
+
|
| 35 |
+
Hugging Face Space: `codxer/codxer-robin` (Static SDK, build output `build/index.html`).
|
| 36 |
+
|
| 37 |
+
Source of truth in this monorepo: `Hetzner/apps/platforms/codxer-robin-hf/`.
|
| 38 |
+
|
| 39 |
+
## Official links
|
| 40 |
+
|
| 41 |
+
| Resource | URL |
|
| 42 |
+
| --- | --- |
|
| 43 |
+
| Website | https://codxer.com/ |
|
| 44 |
+
| API docs | https://codxer.com/legal/api-docs.html |
|
| 45 |
+
| Pricing | https://codxer.com/legal/pricing.html |
|
| 46 |
+
| Privacy | https://codxer.com/legal/privacy.html |
|
| 47 |
+
| API base | https://api.codxer.com |
|
| 48 |
+
| Status | https://codxer.com/legal/status.html |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package-lock.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
package.json
CHANGED
|
@@ -1,39 +1,35 @@
|
|
| 1 |
-
{
|
| 2 |
-
"name": "
|
| 3 |
-
"version": "
|
| 4 |
-
"private": true,
|
| 5 |
-
"
|
| 6 |
-
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
"
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
"
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
"
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
"last 1 safari version"
|
| 37 |
-
]
|
| 38 |
-
}
|
| 39 |
-
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "codxer-robin-hf",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"private": true,
|
| 5 |
+
"homepage": ".",
|
| 6 |
+
"dependencies": {
|
| 7 |
+
"react": "^19.1.0",
|
| 8 |
+
"react-dom": "^19.1.0",
|
| 9 |
+
"react-scripts": "5.0.1",
|
| 10 |
+
"web-vitals": "^2.1.4"
|
| 11 |
+
},
|
| 12 |
+
"scripts": {
|
| 13 |
+
"start": "react-scripts start",
|
| 14 |
+
"build": "react-scripts build",
|
| 15 |
+
"test": "react-scripts test --watchAll=false --passWithNoTests",
|
| 16 |
+
"verify": "node scripts/verify-build.cjs"
|
| 17 |
+
},
|
| 18 |
+
"eslintConfig": {
|
| 19 |
+
"extends": [
|
| 20 |
+
"react-app"
|
| 21 |
+
]
|
| 22 |
+
},
|
| 23 |
+
"browserslist": {
|
| 24 |
+
"production": [
|
| 25 |
+
">0.2%",
|
| 26 |
+
"not dead",
|
| 27 |
+
"not op_mini all"
|
| 28 |
+
],
|
| 29 |
+
"development": [
|
| 30 |
+
"last 1 chrome version",
|
| 31 |
+
"last 1 firefox version",
|
| 32 |
+
"last 1 safari version"
|
| 33 |
+
]
|
| 34 |
+
}
|
| 35 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
public/index.html
CHANGED
|
@@ -1,43 +1,18 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="en">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="utf-8" />
|
| 5 |
-
<link rel="icon" href="
|
| 6 |
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 7 |
-
<meta name="theme-color" content="#
|
| 8 |
-
<meta
|
| 9 |
-
name="description"
|
| 10 |
-
content="
|
| 11 |
-
/>
|
| 12 |
-
<
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
Notice the use of %PUBLIC_URL% in the tags above.
|
| 20 |
-
It will be replaced with the URL of the `public` folder during the build.
|
| 21 |
-
Only files inside the `public` folder can be referenced from the HTML.
|
| 22 |
-
|
| 23 |
-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
| 24 |
-
work correctly both with client-side routing and a non-root public URL.
|
| 25 |
-
Learn how to configure a non-root public URL by running `npm run build`.
|
| 26 |
-
-->
|
| 27 |
-
<title>React App</title>
|
| 28 |
-
</head>
|
| 29 |
-
<body>
|
| 30 |
-
<noscript>You need to enable JavaScript to run this app.</noscript>
|
| 31 |
-
<div id="root"></div>
|
| 32 |
-
<!--
|
| 33 |
-
This HTML file is a template.
|
| 34 |
-
If you open it directly in the browser, you will see an empty page.
|
| 35 |
-
|
| 36 |
-
You can add webfonts, meta tags, or analytics to this file.
|
| 37 |
-
The build step will place the bundled scripts into the <body> tag.
|
| 38 |
-
|
| 39 |
-
To begin the development, run `npm start` or `yarn start`.
|
| 40 |
-
To create a production bundle, use `npm run build` or `yarn build`.
|
| 41 |
-
-->
|
| 42 |
-
</body>
|
| 43 |
-
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8" />
|
| 5 |
+
<link rel="icon" href="https://codxer.com/assets/brand/favicon-48x48.png" />
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 7 |
+
<meta name="theme-color" content="#05040e" />
|
| 8 |
+
<meta
|
| 9 |
+
name="description"
|
| 10 |
+
content="CodXER Robin - OpenAI-compatible multi-model orchestration API. Not downloadable model weights."
|
| 11 |
+
/>
|
| 12 |
+
<title>CodXER Robin - Multi-Model Orchestrator</title>
|
| 13 |
+
</head>
|
| 14 |
+
<body>
|
| 15 |
+
<noscript>You need JavaScript enabled to view this CodXER Robin landing page.</noscript>
|
| 16 |
+
<div id="root"></div>
|
| 17 |
+
</body>
|
| 18 |
+
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
src/App.css
CHANGED
|
@@ -1,38 +1,317 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");
|
| 2 |
+
|
| 3 |
+
.skip-link {
|
| 4 |
+
position: absolute;
|
| 5 |
+
left: -9999px;
|
| 6 |
+
top: auto;
|
| 7 |
+
width: 1px;
|
| 8 |
+
height: 1px;
|
| 9 |
+
overflow: hidden;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
.skip-link:focus {
|
| 13 |
+
left: 1rem;
|
| 14 |
+
top: 1rem;
|
| 15 |
+
width: auto;
|
| 16 |
+
height: auto;
|
| 17 |
+
padding: 0.5rem 0.75rem;
|
| 18 |
+
background: #1b1630;
|
| 19 |
+
border: 1px solid #6e5ce6;
|
| 20 |
+
border-radius: 0.5rem;
|
| 21 |
+
z-index: 100;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
.page {
|
| 25 |
+
min-height: 100vh;
|
| 26 |
+
display: flex;
|
| 27 |
+
flex-direction: column;
|
| 28 |
+
background:
|
| 29 |
+
radial-gradient(1200px 600px at 10% -10%, rgba(110, 92, 230, 0.22), transparent 60%),
|
| 30 |
+
radial-gradient(900px 500px at 90% 0%, rgba(220, 70, 100, 0.16), transparent 55%),
|
| 31 |
+
#05040e;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
.site-header,
|
| 35 |
+
.main,
|
| 36 |
+
.site-footer {
|
| 37 |
+
width: min(1100px, calc(100% - 2rem));
|
| 38 |
+
margin-inline: auto;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.site-header {
|
| 42 |
+
display: flex;
|
| 43 |
+
flex-wrap: wrap;
|
| 44 |
+
align-items: center;
|
| 45 |
+
justify-content: space-between;
|
| 46 |
+
gap: 1rem;
|
| 47 |
+
padding: 1.5rem 0 1rem;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.brand-lockup {
|
| 51 |
+
display: flex;
|
| 52 |
+
align-items: center;
|
| 53 |
+
gap: 0.9rem;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
.brand-logo {
|
| 57 |
+
border-radius: 14px;
|
| 58 |
+
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.eyebrow {
|
| 62 |
+
margin: 0;
|
| 63 |
+
font-size: 0.8rem;
|
| 64 |
+
letter-spacing: 0.12em;
|
| 65 |
+
text-transform: uppercase;
|
| 66 |
+
color: #9b8cff;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
.site-title {
|
| 70 |
+
margin: 0.15rem 0 0;
|
| 71 |
+
font-size: 1.35rem;
|
| 72 |
+
font-weight: 600;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.header-nav {
|
| 76 |
+
display: flex;
|
| 77 |
+
flex-wrap: wrap;
|
| 78 |
+
align-items: center;
|
| 79 |
+
gap: 0.75rem;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
.header-nav a {
|
| 83 |
+
text-decoration: none;
|
| 84 |
+
font-weight: 500;
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
.main {
|
| 88 |
+
flex: 1;
|
| 89 |
+
display: grid;
|
| 90 |
+
gap: 1.25rem;
|
| 91 |
+
padding-bottom: 2rem;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
.panel {
|
| 95 |
+
background: rgba(18, 14, 34, 0.82);
|
| 96 |
+
border: 1px solid rgba(155, 140, 255, 0.18);
|
| 97 |
+
border-radius: 1rem;
|
| 98 |
+
padding: 1.25rem 1.35rem;
|
| 99 |
+
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
.hero {
|
| 103 |
+
padding: 1.75rem 1.5rem 1.5rem;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.hero-kicker {
|
| 107 |
+
margin: 0 0 0.5rem;
|
| 108 |
+
color: #b7b0d6;
|
| 109 |
+
font-size: 0.95rem;
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
.hero-title {
|
| 113 |
+
margin: 0 0 0.75rem;
|
| 114 |
+
font-size: clamp(1.5rem, 3vw, 2.1rem);
|
| 115 |
+
line-height: 1.2;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
.hero-lead {
|
| 119 |
+
margin: 0 0 1.25rem;
|
| 120 |
+
color: #cfc9e8;
|
| 121 |
+
max-width: 70ch;
|
| 122 |
+
line-height: 1.55;
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
.hero-cta {
|
| 126 |
+
display: flex;
|
| 127 |
+
flex-wrap: wrap;
|
| 128 |
+
gap: 0.75rem;
|
| 129 |
+
margin-bottom: 1rem;
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
.disclaimer {
|
| 133 |
+
margin: 0;
|
| 134 |
+
padding: 0.75rem 0.9rem;
|
| 135 |
+
border-radius: 0.65rem;
|
| 136 |
+
background: rgba(110, 92, 230, 0.12);
|
| 137 |
+
border: 1px solid rgba(155, 140, 255, 0.25);
|
| 138 |
+
font-size: 0.92rem;
|
| 139 |
+
line-height: 1.45;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
.btn {
|
| 143 |
+
display: inline-flex;
|
| 144 |
+
align-items: center;
|
| 145 |
+
justify-content: center;
|
| 146 |
+
padding: 0.55rem 1rem;
|
| 147 |
+
border-radius: 0.65rem;
|
| 148 |
+
font-weight: 600;
|
| 149 |
+
text-decoration: none;
|
| 150 |
+
border: 1px solid transparent;
|
| 151 |
+
transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
.btn--primary {
|
| 155 |
+
background: linear-gradient(135deg, #6e5ce6, #9b4d96);
|
| 156 |
+
color: #fff;
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
.btn--primary:hover {
|
| 160 |
+
color: #fff;
|
| 161 |
+
filter: brightness(1.08);
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.btn--ghost {
|
| 165 |
+
border-color: rgba(155, 140, 255, 0.45);
|
| 166 |
+
color: #e8e6f2;
|
| 167 |
+
background: transparent;
|
| 168 |
+
}
|
| 169 |
+
|
| 170 |
+
.btn--ghost:hover {
|
| 171 |
+
background: rgba(110, 92, 230, 0.12);
|
| 172 |
+
color: #fff;
|
| 173 |
+
}
|
| 174 |
+
|
| 175 |
+
.capability-grid {
|
| 176 |
+
list-style: none;
|
| 177 |
+
margin: 0.75rem 0 0;
|
| 178 |
+
padding: 0;
|
| 179 |
+
display: grid;
|
| 180 |
+
gap: 0.85rem;
|
| 181 |
+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
.capability-card {
|
| 185 |
+
padding: 0.9rem 1rem;
|
| 186 |
+
border-radius: 0.75rem;
|
| 187 |
+
background: rgba(8, 6, 18, 0.55);
|
| 188 |
+
border: 1px solid rgba(155, 140, 255, 0.12);
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
.capability-card h3 {
|
| 192 |
+
margin: 0 0 0.35rem;
|
| 193 |
+
font-size: 1rem;
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
.capability-card p {
|
| 197 |
+
margin: 0;
|
| 198 |
+
color: #c5bfdc;
|
| 199 |
+
font-size: 0.92rem;
|
| 200 |
+
line-height: 1.45;
|
| 201 |
+
}
|
| 202 |
+
|
| 203 |
+
.status-row {
|
| 204 |
+
display: flex;
|
| 205 |
+
flex-wrap: wrap;
|
| 206 |
+
align-items: center;
|
| 207 |
+
gap: 0.75rem;
|
| 208 |
+
margin-bottom: 0.75rem;
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
.status-pill {
|
| 212 |
+
display: inline-flex;
|
| 213 |
+
align-items: center;
|
| 214 |
+
padding: 0.2rem 0.55rem;
|
| 215 |
+
border-radius: 999px;
|
| 216 |
+
font-size: 0.82rem;
|
| 217 |
+
font-weight: 600;
|
| 218 |
+
text-transform: capitalize;
|
| 219 |
+
}
|
| 220 |
+
|
| 221 |
+
.status-pill--ok {
|
| 222 |
+
background: rgba(52, 199, 123, 0.18);
|
| 223 |
+
color: #7dffb8;
|
| 224 |
+
border: 1px solid rgba(52, 199, 123, 0.35);
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
.status-pill--warn {
|
| 228 |
+
background: rgba(255, 193, 7, 0.15);
|
| 229 |
+
color: #ffd76a;
|
| 230 |
+
border: 1px solid rgba(255, 193, 7, 0.35);
|
| 231 |
+
}
|
| 232 |
+
|
| 233 |
+
.status-pill--bad {
|
| 234 |
+
background: rgba(255, 99, 132, 0.15);
|
| 235 |
+
color: #ff9bb0;
|
| 236 |
+
border: 1px solid rgba(255, 99, 132, 0.35);
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
.component-grid {
|
| 240 |
+
list-style: none;
|
| 241 |
+
margin: 0.5rem 0 0.75rem;
|
| 242 |
+
padding: 0;
|
| 243 |
+
display: grid;
|
| 244 |
+
gap: 0.45rem;
|
| 245 |
+
}
|
| 246 |
+
|
| 247 |
+
.component-grid li {
|
| 248 |
+
display: flex;
|
| 249 |
+
justify-content: space-between;
|
| 250 |
+
gap: 0.75rem;
|
| 251 |
+
padding: 0.45rem 0.55rem;
|
| 252 |
+
border-radius: 0.5rem;
|
| 253 |
+
background: rgba(8, 6, 18, 0.45);
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
.component-name {
|
| 257 |
+
text-transform: capitalize;
|
| 258 |
+
color: #d8d2ef;
|
| 259 |
+
}
|
| 260 |
+
|
| 261 |
+
.link-columns {
|
| 262 |
+
display: grid;
|
| 263 |
+
gap: 1.25rem;
|
| 264 |
+
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
| 265 |
+
}
|
| 266 |
+
|
| 267 |
+
.link-list {
|
| 268 |
+
margin: 0.35rem 0 0;
|
| 269 |
+
padding-left: 1.1rem;
|
| 270 |
+
line-height: 1.7;
|
| 271 |
+
}
|
| 272 |
+
|
| 273 |
+
.cta-panel {
|
| 274 |
+
text-align: left;
|
| 275 |
+
}
|
| 276 |
+
|
| 277 |
+
.muted {
|
| 278 |
+
color: #a8a0c4;
|
| 279 |
+
}
|
| 280 |
+
|
| 281 |
+
.small {
|
| 282 |
+
font-size: 0.86rem;
|
| 283 |
+
}
|
| 284 |
+
|
| 285 |
+
.mono {
|
| 286 |
+
font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
| 287 |
+
font-size: 0.85rem;
|
| 288 |
+
color: #b7b0d6;
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
code {
|
| 292 |
+
font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
| 293 |
+
font-size: 0.88em;
|
| 294 |
+
background: rgba(8, 6, 18, 0.65);
|
| 295 |
+
padding: 0.1rem 0.35rem;
|
| 296 |
+
border-radius: 0.35rem;
|
| 297 |
+
}
|
| 298 |
+
|
| 299 |
+
.site-footer {
|
| 300 |
+
padding: 1.25rem 0 2rem;
|
| 301 |
+
color: #8f87ad;
|
| 302 |
+
font-size: 0.9rem;
|
| 303 |
+
}
|
| 304 |
+
|
| 305 |
+
.site-footer a {
|
| 306 |
+
color: #b7b0d6;
|
| 307 |
+
}
|
| 308 |
+
|
| 309 |
+
@media (max-width: 640px) {
|
| 310 |
+
.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { useEffect, useState } from "react";
|
| 2 |
+
import "./App.css";
|
| 3 |
+
|
| 4 |
+
const PUBLIC_LINKS = {
|
| 5 |
+
home: "https://codxer.com/",
|
| 6 |
+
apiDocs: "https://codxer.com/legal/api-docs.html",
|
| 7 |
+
pricing: "https://codxer.com/legal/pricing.html",
|
| 8 |
+
privacy: "https://codxer.com/legal/privacy.html",
|
| 9 |
+
terms: "https://codxer.com/legal/terms.html",
|
| 10 |
+
statusPage: "https://codxer.com/legal/status.html",
|
| 11 |
+
contact: "https://codxer.com/legal/contact.html",
|
| 12 |
+
apiBase: "https://api.codxer.com",
|
| 13 |
+
account: "https://codxer.com/#account",
|
| 14 |
+
rapidApiProvider: "https://rapidapi.com/provider",
|
| 15 |
+
apiMarketSeller: "https://api.market/seller",
|
| 16 |
+
poeCreator: "https://creator.poe.com",
|
| 17 |
+
};
|
| 18 |
+
|
| 19 |
+
const LOGO_URL = "https://codxer.com/assets/brand/codxer-logo-512.png";
|
| 20 |
+
const STATUS_URL = "https://api.codxer.com/api/public/status";
|
| 21 |
+
|
| 22 |
+
const CAPABILITIES = [
|
| 23 |
+
{
|
| 24 |
+
title: "OpenAI-compatible API",
|
| 25 |
+
body: "Drop-in /v1/chat/completions and /v1/models for apps, agents, and integrations.",
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
title: "Multi-model orchestration",
|
| 29 |
+
body: "Robin routes each request across CodXER-managed frontier models — not a single static checkpoint.",
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
title: "Streaming & tiers",
|
| 33 |
+
body: "Server-sent streaming, plan-aware quotas, and marketplace channels where published.",
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
title: "Hosted service",
|
| 37 |
+
body: "Inference runs on CodXER infrastructure. This Space is documentation — not downloadable weights.",
|
| 38 |
+
},
|
| 39 |
+
];
|
| 40 |
+
|
| 41 |
+
function statusTone(status) {
|
| 42 |
+
if (status === "operational") return "ok";
|
| 43 |
+
if (status === "maintenance" || status === "degraded" || status === "partial_outage") {
|
| 44 |
+
return "warn";
|
| 45 |
+
}
|
| 46 |
+
return "bad";
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
function StatusPanel() {
|
| 50 |
+
const [state, setState] = useState({ phase: "loading" });
|
| 51 |
+
|
| 52 |
+
useEffect(() => {
|
| 53 |
+
let cancelled = false;
|
| 54 |
+
const controller = new AbortController();
|
| 55 |
+
const timeout = window.setTimeout(() => controller.abort(), 8000);
|
| 56 |
+
|
| 57 |
+
async function load() {
|
| 58 |
+
try {
|
| 59 |
+
const res = await fetch(STATUS_URL, {
|
| 60 |
+
method: "GET",
|
| 61 |
+
headers: { Accept: "application/json" },
|
| 62 |
+
signal: controller.signal,
|
| 63 |
+
});
|
| 64 |
+
if (!res.ok) {
|
| 65 |
+
throw new Error(`HTTP ${res.status}`);
|
| 66 |
+
}
|
| 67 |
+
const data = await res.json();
|
| 68 |
+
if (!cancelled) {
|
| 69 |
+
setState({ phase: "live", data });
|
| 70 |
+
}
|
| 71 |
+
} catch (err) {
|
| 72 |
+
if (!cancelled) {
|
| 73 |
+
const reason =
|
| 74 |
+
err && err.name === "AbortError"
|
| 75 |
+
? "Request timed out."
|
| 76 |
+
: "Live status unavailable from this page (likely CORS or network).";
|
| 77 |
+
setState({ phase: "fallback", reason });
|
| 78 |
+
}
|
| 79 |
+
} finally {
|
| 80 |
+
window.clearTimeout(timeout);
|
| 81 |
+
}
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
load();
|
| 85 |
+
return () => {
|
| 86 |
+
cancelled = true;
|
| 87 |
+
controller.abort();
|
| 88 |
+
window.clearTimeout(timeout);
|
| 89 |
+
};
|
| 90 |
+
}, []);
|
| 91 |
+
|
| 92 |
+
if (state.phase === "loading") {
|
| 93 |
+
return (
|
| 94 |
+
<section className="panel status-panel" aria-live="polite">
|
| 95 |
+
<h2>Platform status</h2>
|
| 96 |
+
<p className="muted">Checking CodXER public status…</p>
|
| 97 |
+
</section>
|
| 98 |
+
);
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
if (state.phase === "fallback") {
|
| 102 |
+
return (
|
| 103 |
+
<section className="panel status-panel" aria-live="polite">
|
| 104 |
+
<h2>Platform status</h2>
|
| 105 |
+
<p className="muted">{state.reason}</p>
|
| 106 |
+
<p>
|
| 107 |
+
View the canonical status page:{" "}
|
| 108 |
+
<a href={PUBLIC_LINKS.statusPage} rel="noopener noreferrer">
|
| 109 |
+
codxer.com/legal/status.html
|
| 110 |
+
</a>
|
| 111 |
+
</p>
|
| 112 |
+
</section>
|
| 113 |
+
);
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
const { data } = state;
|
| 117 |
+
const tone = statusTone(data.status);
|
| 118 |
+
const version = data.api && data.api.version ? data.api.version : "—";
|
| 119 |
+
|
| 120 |
+
return (
|
| 121 |
+
<section className="panel status-panel" aria-live="polite">
|
| 122 |
+
<h2>Platform status</h2>
|
| 123 |
+
<div className="status-row">
|
| 124 |
+
<span className={`status-pill status-pill--${tone}`}>{data.status}</span>
|
| 125 |
+
<span className="mono">API v{version}</span>
|
| 126 |
+
</div>
|
| 127 |
+
{data.maintenance_mode && data.maintenance_message ? (
|
| 128 |
+
<p className="status-note">{data.maintenance_message}</p>
|
| 129 |
+
) : null}
|
| 130 |
+
{data.components ? (
|
| 131 |
+
<ul className="component-grid">
|
| 132 |
+
{Object.entries(data.components).map(([key, value]) => (
|
| 133 |
+
<li key={key}>
|
| 134 |
+
<span className="component-name">{key.replace(/_/g, " ")}</span>
|
| 135 |
+
<span className={`status-pill status-pill--${statusTone(value.status)}`}>
|
| 136 |
+
{value.status}
|
| 137 |
+
</span>
|
| 138 |
+
</li>
|
| 139 |
+
))}
|
| 140 |
+
</ul>
|
| 141 |
+
) : null}
|
| 142 |
+
<p className="muted small">
|
| 143 |
+
Snapshot from <code>{STATUS_URL}</code>. Full history on{" "}
|
| 144 |
+
<a href={PUBLIC_LINKS.statusPage} rel="noopener noreferrer">
|
| 145 |
+
the status page
|
| 146 |
+
</a>
|
| 147 |
+
.
|
| 148 |
+
</p>
|
| 149 |
+
</section>
|
| 150 |
+
);
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
function App() {
|
| 154 |
+
return (
|
| 155 |
+
<div className="page">
|
| 156 |
+
<a className="skip-link" href="#main">
|
| 157 |
+
Skip to content
|
| 158 |
+
</a>
|
| 159 |
+
<header className="site-header">
|
| 160 |
+
<div className="brand-lockup">
|
| 161 |
+
<img
|
| 162 |
+
className="brand-logo"
|
| 163 |
+
src={LOGO_URL}
|
| 164 |
+
alt="CodXER"
|
| 165 |
+
width={56}
|
| 166 |
+
height={56}
|
| 167 |
+
decoding="async"
|
| 168 |
+
/>
|
| 169 |
+
<div>
|
| 170 |
+
<p className="eyebrow">CodXER Robin</p>
|
| 171 |
+
<h1 className="site-title">Multi-model orchestrator</h1>
|
| 172 |
+
</div>
|
| 173 |
+
</div>
|
| 174 |
+
<nav className="header-nav" aria-label="Primary">
|
| 175 |
+
<a href={PUBLIC_LINKS.home} rel="noopener noreferrer">
|
| 176 |
+
codxer.com
|
| 177 |
+
</a>
|
| 178 |
+
<a href={PUBLIC_LINKS.apiDocs} rel="noopener noreferrer">
|
| 179 |
+
API docs
|
| 180 |
+
</a>
|
| 181 |
+
<a className="btn btn--primary" href={PUBLIC_LINKS.account} rel="noopener noreferrer">
|
| 182 |
+
Get API access
|
| 183 |
+
</a>
|
| 184 |
+
</nav>
|
| 185 |
+
</header>
|
| 186 |
+
|
| 187 |
+
<main id="main" className="main">
|
| 188 |
+
<section className="hero panel">
|
| 189 |
+
<p className="hero-kicker">OpenAI-compatible · hosted orchestration</p>
|
| 190 |
+
<h2 className="hero-title">
|
| 191 |
+
Robin coordinates frontier models per request — it is not a Hugging Face model repo.
|
| 192 |
+
</h2>
|
| 193 |
+
<p className="hero-lead">
|
| 194 |
+
CodXER Robin is a production API and chat orchestration layer. Use your CodXER account or
|
| 195 |
+
published marketplace integrations; this Space explains the product and links to official
|
| 196 |
+
docs — it does not run inference here.
|
| 197 |
+
</p>
|
| 198 |
+
<div className="hero-cta">
|
| 199 |
+
<a className="btn btn--primary" href={PUBLIC_LINKS.apiDocs} rel="noopener noreferrer">
|
| 200 |
+
Read API documentation
|
| 201 |
+
</a>
|
| 202 |
+
<a className="btn btn--ghost" href={PUBLIC_LINKS.pricing} rel="noopener noreferrer">
|
| 203 |
+
Pricing & plans
|
| 204 |
+
</a>
|
| 205 |
+
</div>
|
| 206 |
+
<p className="disclaimer">
|
| 207 |
+
<strong>Not model weights.</strong> There is no checkpoint to download. Robin exposes
|
| 208 |
+
OpenAI-style endpoints at <code>api.codxer.com</code> backed by CodXER routing.
|
| 209 |
+
</p>
|
| 210 |
+
</section>
|
| 211 |
+
|
| 212 |
+
<section className="panel">
|
| 213 |
+
<h2>Capabilities</h2>
|
| 214 |
+
<ul className="capability-grid">
|
| 215 |
+
{CAPABILITIES.map((item) => (
|
| 216 |
+
<li key={item.title} className="capability-card">
|
| 217 |
+
<h3>{item.title}</h3>
|
| 218 |
+
<p>{item.body}</p>
|
| 219 |
+
</li>
|
| 220 |
+
))}
|
| 221 |
+
</ul>
|
| 222 |
+
</section>
|
| 223 |
+
|
| 224 |
+
<StatusPanel />
|
| 225 |
+
|
| 226 |
+
<section className="panel">
|
| 227 |
+
<h2>Official links</h2>
|
| 228 |
+
<div className="link-columns">
|
| 229 |
+
<div>
|
| 230 |
+
<h3>Product</h3>
|
| 231 |
+
<ul className="link-list">
|
| 232 |
+
<li>
|
| 233 |
+
<a href={PUBLIC_LINKS.home} rel="noopener noreferrer">
|
| 234 |
+
codxer.com
|
| 235 |
+
</a>
|
| 236 |
+
</li>
|
| 237 |
+
<li>
|
| 238 |
+
<a href={PUBLIC_LINKS.apiDocs} rel="noopener noreferrer">
|
| 239 |
+
API documentation
|
| 240 |
+
</a>
|
| 241 |
+
</li>
|
| 242 |
+
<li>
|
| 243 |
+
<a href={PUBLIC_LINKS.pricing} rel="noopener noreferrer">
|
| 244 |
+
Pricing
|
| 245 |
+
</a>
|
| 246 |
+
</li>
|
| 247 |
+
<li>
|
| 248 |
+
<a href={PUBLIC_LINKS.privacy} rel="noopener noreferrer">
|
| 249 |
+
Privacy policy
|
| 250 |
+
</a>
|
| 251 |
+
</li>
|
| 252 |
+
<li>
|
| 253 |
+
<a href={PUBLIC_LINKS.terms} rel="noopener noreferrer">
|
| 254 |
+
Terms of service
|
| 255 |
+
</a>
|
| 256 |
+
</li>
|
| 257 |
+
<li>
|
| 258 |
+
<a href={PUBLIC_LINKS.contact} rel="noopener noreferrer">
|
| 259 |
+
Contact & support
|
| 260 |
+
</a>
|
| 261 |
+
</li>
|
| 262 |
+
</ul>
|
| 263 |
+
</div>
|
| 264 |
+
<div>
|
| 265 |
+
<h3>API & channels</h3>
|
| 266 |
+
<ul className="link-list">
|
| 267 |
+
<li>
|
| 268 |
+
<a href={PUBLIC_LINKS.apiBase} rel="noopener noreferrer">
|
| 269 |
+
api.codxer.com
|
| 270 |
+
</a>
|
| 271 |
+
</li>
|
| 272 |
+
<li>
|
| 273 |
+
<a href={PUBLIC_LINKS.rapidApiProvider} rel="noopener noreferrer">
|
| 274 |
+
RapidAPI provider hub
|
| 275 |
+
</a>
|
| 276 |
+
</li>
|
| 277 |
+
<li>
|
| 278 |
+
<a href={PUBLIC_LINKS.apiMarketSeller} rel="noopener noreferrer">
|
| 279 |
+
API.market seller console
|
| 280 |
+
</a>
|
| 281 |
+
</li>
|
| 282 |
+
<li>
|
| 283 |
+
<a href={PUBLIC_LINKS.poeCreator} rel="noopener noreferrer">
|
| 284 |
+
Poe creator console
|
| 285 |
+
</a>
|
| 286 |
+
</li>
|
| 287 |
+
</ul>
|
| 288 |
+
<p className="muted small">
|
| 289 |
+
Marketplace listings may be unpublished during early access. Always use links from
|
| 290 |
+
codxer.com for the latest channels.
|
| 291 |
+
</p>
|
| 292 |
+
</div>
|
| 293 |
+
</div>
|
| 294 |
+
</section>
|
| 295 |
+
|
| 296 |
+
<section className="panel cta-panel">
|
| 297 |
+
<h2>Start building</h2>
|
| 298 |
+
<p>
|
| 299 |
+
Create a CodXER account, generate an API key, and call{" "}
|
| 300 |
+
<code>POST /v1/chat/completions</code> with standard OpenAI client libraries.
|
| 301 |
+
</p>
|
| 302 |
+
<a className="btn btn--primary" href={PUBLIC_LINKS.account} rel="noopener noreferrer">
|
| 303 |
+
Open CodXER account
|
| 304 |
+
</a>
|
| 305 |
+
</section>
|
| 306 |
+
</main>
|
| 307 |
+
|
| 308 |
+
<footer className="site-footer">
|
| 309 |
+
<p>
|
| 310 |
+
© {new Date().getFullYear()} CodXER ·{" "}
|
| 311 |
+
<a href={PUBLIC_LINKS.privacy} rel="noopener noreferrer">
|
| 312 |
+
Privacy
|
| 313 |
+
</a>{" "}
|
| 314 |
+
·{" "}
|
| 315 |
+
<a href="https://huggingface.co/spaces/codxer/codxer-robin" rel="noopener noreferrer">
|
| 316 |
+
This Space
|
| 317 |
+
</a>
|
| 318 |
+
</p>
|
| 319 |
+
</footer>
|
| 320 |
+
</div>
|
| 321 |
+
);
|
| 322 |
+
}
|
| 323 |
+
|
| 324 |
+
export default App;
|
src/index.css
CHANGED
|
@@ -1,13 +1,32 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*,
|
| 2 |
+
*::before,
|
| 3 |
+
*::after {
|
| 4 |
+
box-sizing: border-box;
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
html {
|
| 8 |
+
scroll-behavior: smooth;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
body {
|
| 12 |
+
margin: 0;
|
| 13 |
+
min-height: 100vh;
|
| 14 |
+
font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
| 15 |
+
background: #05040e;
|
| 16 |
+
color: #e8e6f2;
|
| 17 |
+
-webkit-font-smoothing: antialiased;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
a {
|
| 21 |
+
color: #9b8cff;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
a:hover {
|
| 25 |
+
color: #c4b8ff;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
@media (prefers-reduced-motion: reduce) {
|
| 29 |
+
html {
|
| 30 |
+
scroll-behavior: auto;
|
| 31 |
+
}
|
| 32 |
+
}
|
src/index.js
CHANGED
|
@@ -1,17 +1,11 @@
|
|
| 1 |
-
import React from
|
| 2 |
-
import ReactDOM from
|
| 3 |
-
import
|
| 4 |
-
import App from
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
);
|
| 13 |
-
|
| 14 |
-
// If you want to start measuring performance in your app, pass a function
|
| 15 |
-
// to log results (for example: reportWebVitals(console.log))
|
| 16 |
-
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
| 17 |
-
reportWebVitals();
|
|
|
|
| 1 |
+
import React from "react";
|
| 2 |
+
import ReactDOM from "react-dom/client";
|
| 3 |
+
import "./index.css";
|
| 4 |
+
import App from "./App";
|
| 5 |
+
|
| 6 |
+
const root = ReactDOM.createRoot(document.getElementById("root"));
|
| 7 |
+
root.render(
|
| 8 |
+
<React.StrictMode>
|
| 9 |
+
<App />
|
| 10 |
+
</React.StrictMode>
|
| 11 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|