mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 23:17:09 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
+33
-29
@@ -1,66 +1,68 @@
|
||||
import {themes as prismThemes} from 'prism-react-renderer';
|
||||
import type {Config} from '@docusaurus/types';
|
||||
import type * as Preset from '@docusaurus/preset-classic';
|
||||
import { themes as prismThemes } from "prism-react-renderer";
|
||||
import type { Config } from "@docusaurus/types";
|
||||
import type * as Preset from "@docusaurus/preset-classic";
|
||||
|
||||
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
|
||||
|
||||
const config: Config = {
|
||||
title: 'DataRush',
|
||||
tagline: 'Изучите основы анализа данных здесь!',
|
||||
favicon: 'https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg',
|
||||
title: "DataRush",
|
||||
tagline: "Изучите основы анализа данных здесь!",
|
||||
favicon: "https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg",
|
||||
|
||||
url: 'https://prod-team-15-2pc0i3lc.final.prodcontest.ru',
|
||||
baseUrl: '/docs/',
|
||||
url: "https://prod-team-15-2pc0i3lc.final.prodcontest.ru",
|
||||
baseUrl: "/docs/",
|
||||
|
||||
organizationName: 'megazord',
|
||||
projectName: 'megazord',
|
||||
organizationName: "megazord",
|
||||
projectName: "megazord",
|
||||
|
||||
onBrokenLinks: 'throw',
|
||||
onBrokenMarkdownLinks: 'warn',
|
||||
onBrokenLinks: "throw",
|
||||
onBrokenMarkdownLinks: "warn",
|
||||
|
||||
i18n: {
|
||||
defaultLocale: 'ru',
|
||||
locales: ['ru'],
|
||||
defaultLocale: "ru",
|
||||
locales: ["ru"],
|
||||
},
|
||||
|
||||
presets: [
|
||||
[
|
||||
'classic',
|
||||
"classic",
|
||||
{
|
||||
docs: {},
|
||||
docs: {
|
||||
routeBasePath: "/",
|
||||
},
|
||||
theme: {
|
||||
customCss: './src/css/custom.css',
|
||||
customCss: "./src/css/custom.css",
|
||||
},
|
||||
} satisfies Preset.Options,
|
||||
],
|
||||
],
|
||||
|
||||
themeConfig: {
|
||||
image: 'https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg',
|
||||
image: "https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg",
|
||||
navbar: {
|
||||
title: 'DataRush',
|
||||
title: "DataRush",
|
||||
logo: {
|
||||
alt: 'DataRush',
|
||||
src: 'https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg',
|
||||
alt: "DataRush",
|
||||
src: "https://prod-team-15-2pc0i3lc.final.prodcontest.ru/dr.svg",
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: 'docSidebar',
|
||||
sidebarId: 'defaultSidebar',
|
||||
position: 'left',
|
||||
label: 'Документация',
|
||||
type: "docSidebar",
|
||||
sidebarId: "defaultSidebar",
|
||||
position: "left",
|
||||
label: "Документация",
|
||||
},
|
||||
],
|
||||
},
|
||||
footer: {
|
||||
style: 'dark',
|
||||
style: "dark",
|
||||
links: [
|
||||
{
|
||||
title: 'Документация',
|
||||
title: "Документация",
|
||||
items: [
|
||||
{
|
||||
label: 'Начало',
|
||||
to: '/docs/intro',
|
||||
label: "Начало",
|
||||
to: "/intro",
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -72,6 +74,8 @@ const config: Config = {
|
||||
darkTheme: prismThemes.dracula,
|
||||
},
|
||||
} satisfies Preset.ThemeConfig,
|
||||
|
||||
staticDirectories: ["static"],
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
const DataRush = ({ size = 52 }: { size?: number }) => {
|
||||
const DataRush = ({
|
||||
size = 52,
|
||||
className,
|
||||
}: {
|
||||
size?: number;
|
||||
className?: string;
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
height={size}
|
||||
viewBox="0 0 149 52"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
>
|
||||
<rect width="149" height="52" fill="#333333" />
|
||||
<path
|
||||
|
||||
@@ -17,8 +17,8 @@ const LoginPage = () => {
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className="flex h-screen flex-col items-center gap-10 px-4 py-10 sm:gap-18 sm:py-18">
|
||||
<DataRush size={52} />
|
||||
<div className="flex flex-col items-center gap-10 px-4 py-10 sm:gap-18 sm:py-18">
|
||||
<DataRush size={52} className="min-h-[52px]" />
|
||||
<div className="flex w-full max-w-96 flex-col items-center gap-7">
|
||||
<h1 className="text-center text-4xl font-semibold">
|
||||
Добро пожаловать!
|
||||
|
||||
@@ -6,7 +6,7 @@ const NavbarLayout = () => {
|
||||
<>
|
||||
<Header />
|
||||
<div className="px-4 sm:px-6">
|
||||
<div className="m-auto mt-6 w-full max-w-5xl">
|
||||
<div className="m-auto my-6 w-full max-w-5xl">
|
||||
<Outlet />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user