zmiany w css
This commit is contained in:
@@ -17,7 +17,10 @@ export default function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<body className={inter.className}>
|
<body className={inter.className}>
|
||||||
<div className="py-8 px-64">{children}</div>
|
<header className="py-4">
|
||||||
|
<h1 className="text-4xl font-bold"></h1>
|
||||||
|
</header>
|
||||||
|
<div className="container">{children}</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ const Console = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex gap-4">
|
<div className="flex gap-4">
|
||||||
<div className="w-3/5">
|
<div className="w-4/5">
|
||||||
<div>
|
<div>
|
||||||
<textarea
|
<textarea
|
||||||
className="textarea textarea-bordered text-yellow-200 w-full"
|
className="textarea textarea-bordered text-yellow-200 w-full"
|
||||||
@@ -155,7 +155,7 @@ const Console = () => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="w-2/5">
|
<div className="w-1/5">
|
||||||
<Stats
|
<Stats
|
||||||
cpu={cpuStat}
|
cpu={cpuStat}
|
||||||
ramUsage={ramStat}
|
ramUsage={ramStat}
|
||||||
|
|||||||
@@ -61,7 +61,8 @@ const StatsComponent = ({
|
|||||||
const minutes = Math.floor((timestamp % (1000 * 60 * 60)) / (1000 * 60));
|
const minutes = Math.floor((timestamp % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
const seconds = Math.floor((timestamp % (1000 * 60)) / 1000);
|
const seconds = Math.floor((timestamp % (1000 * 60)) / 1000);
|
||||||
|
|
||||||
return `${days}d ${hours}h ${minutes}m ${seconds}s`;
|
return `${days}d ${hours}h ${minutes}m`;
|
||||||
|
// return `${days}d ${hours}h ${minutes}m ${seconds}s`;
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ const config: Config = {
|
|||||||
"./app/**/*.{js,ts,jsx,tsx,mdx}",
|
"./app/**/*.{js,ts,jsx,tsx,mdx}",
|
||||||
],
|
],
|
||||||
theme: {
|
theme: {
|
||||||
|
container: {
|
||||||
|
center: true,
|
||||||
|
padding: '80px',
|
||||||
|
},
|
||||||
extend: {
|
extend: {
|
||||||
backgroundImage: {
|
backgroundImage: {
|
||||||
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
|
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
|
||||||
|
|||||||
Reference in New Issue
Block a user