last preparation

This commit is contained in:
Nikolai Petukhov 2024-09-21 12:42:07 +03:00
parent d7de0c4353
commit 963c94c262
14 changed files with 32 additions and 37 deletions

View File

@ -1,26 +0,0 @@
const pkg = require('./package')
module.exports = {
apiPath: 'stubs/api',
webpackConfig: {
output: {
publicPath: `/static/${pkg.name}/${process.env.VERSION || pkg.version}/`
}
},
navigations: {
'enterfront.main': '/enterfront',
'enterfront.home': '/enterfront/home',
'enterfront.auth': '/enterfront/auth',
'enterfront.reg': '/enterfront/reg',
'enterfront.account': '/enterfront/account',
'enterfront.chat': '/enterfront/chat',
},
features: {
'undefined': {
// add your features here in the format [featureName]: { value: string }
},
},
config: {
'undefined.api': '/api',
}
}

View File

@ -1 +0,0 @@
@import url("../reg/css/index.css");

1
src/components/index.css Normal file
View File

@ -0,0 +1 @@
@import url("reg/index.css");

View File

@ -0,0 +1 @@
@import url("./css/input.css");

View File

@ -1,6 +1,9 @@
@import url("./pages/css/index.css"); @import url('https://fonts.googleapis.com/css2?family=MonteCarlo&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url("./header/css/index.css"); @import url('https://fonts.googleapis.com/css2?family=Metal+Mania&display=swap');
@import url("./components/css/index.css");
@import url("pages/index.css");
@import url("outer/index.css");
@import url("components/index.css");
body { body {
@ -12,3 +15,20 @@ body {
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
* {
font-size: 1.2vw;
font-family: "Montserrat", 'sans-serif';
color: black;
}
.metal-mania-regular {
font-family: "Metal Mania", system-ui;
font-weight: 400;
font-style: normal;
}

1
src/outer/index.css Normal file
View File

@ -0,0 +1 @@
@import url("./css/header.css");

View File

@ -2,7 +2,7 @@ import React from "react";
const Home = () => { const Home = () => {
return ( return (
<h1 className="TestClass">Home</h1> <h1 className="">Home</h1>
) )
} }

View File

@ -2,7 +2,9 @@ import React from "react";
const Init = () => { const Init = () => {
return ( return (
<h1 className="TestInit">Init page</h1> <div>
<h1 className="metal-mania-regular TestInit">Hello!</h1>
</div>
) )
} }

View File

@ -1,5 +0,0 @@
@import url("./init.css");
.TestClass {
color: red;
}

View File

@ -1,3 +1,4 @@
.TestInit { .TestInit {
color: blue; color: blue;
font-size: 40px;
} }

1
src/pages/index.css Normal file
View File

@ -0,0 +1 @@
@import url("css/init.css");