fix: nitroplus website

This commit is contained in:
2024-06-20 23:47:22 +03:00
parent 0d6a56c9a3
commit cb1d7e24b7
15 changed files with 41 additions and 25 deletions

View File

@@ -6,7 +6,7 @@
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/node_modules": true,
// "**/node_modules": true,
"**/.angular": true
}
}

View File

@@ -1,3 +1,5 @@
<a routerLink='/second'><desktop-icon alt='test' name='test' image='../../../assets/svg/logo-gitea.svg'></desktop-icon></a>
<div class="icons">
<a routerLink='/translator'><desktop-icon alt='translator' name='Translator' image='../../../assets/svg/logo-gitea.svg'></desktop-icon></a>
</div>
<app-modal></app-modal>
<app-dock></app-dock>

View File

@@ -0,0 +1,9 @@
.icons {
margin: 2rem 3rem;
position: absolute;
}
:host {
display: block;
width: 100%;
height: 100%;
}

View File

@@ -6,6 +6,12 @@
margin-inline: 2rem;
}
// fix scroll on router click
:host {
overflow-y: scroll;
height: fit-content;
}
h1 {
color: #efdee0;
text-align: center;

View File

@@ -7,3 +7,8 @@
margin: 2rem;
}
}
:host {
background-color: #191113;
display: block;
min-height: calc(100vh - 2rem);
}

View File

@@ -6,6 +6,7 @@
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link href="https://cdn.lineicons.com/4.0/lineicons.css" rel="stylesheet" />
</head>
<body>
<app-root></app-root>

View File

@@ -27,6 +27,7 @@
}
html {
position: relative;
height: 100%;
}
body {
width: 100%;

View File

@@ -1,9 +1,10 @@
{
"extends": "./tsconfig.base.json",
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"types": []
},
"files": ["src/main.ts"],
"include": ["src/**/*.d.ts"]
"include": ["src/**/*.d.ts"],
"exclude": ["jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts"]
}

View File

@@ -0,0 +1,6 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*.ts"],
"compilerOptions": {},
"exclude": ["jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts"]
}

View File

@@ -24,7 +24,7 @@
"path": "./tsconfig.app.json"
},
{
"path": "./tsconfig.lib.json"
"path": "./tsconfig.editor.json"
},
{
"path": "./tsconfig.spec.json"

View File

@@ -1,17 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../dist/out-tsc",
"declaration": true,
"declarationMap": true,
"inlineSources": true,
"types": []
},
"exclude": [
"src/**/*.spec.ts",
"src/**/*.test.ts"
],
"include": [
"src/**/*.ts"
]
}

BIN
bun.lockb

Binary file not shown.

View File

@@ -1,6 +1,6 @@
{
"extends": [
"../.eslintrc.base.json"
"../.eslintrc.json"
],
"ignorePatterns": [
"!**/*"

View File

@@ -7,7 +7,8 @@
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true
},
"files": [],
"include": [],

View File

@@ -25,6 +25,7 @@
"@fortawesome/free-regular-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@ngneat/dialog": "5.0.0",
"@nx/eslint-plugin": "^19.3.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.3"