Skip to content
This repository was archived by the owner on Mar 24, 2024. It is now read-only.

Commit 972b63f

Browse files
committed
[APP] Scaffold (#23)
* clean * Srart
1 parent 39243f9 commit 972b63f

File tree

10 files changed

+40
-471
lines changed

10 files changed

+40
-471
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ yarn-error.log*
3232

3333
# typescript
3434
*.tsbuildinfo
35-
next-env.d.ts

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"editor.defaultFormatter": "esbenp.prettier-vscode"
1919
},
2020
"[css]": {
21-
"editor.defaultFormatter": "vscode.css-language-features"
21+
"editor.defaultFormatter": "esbenp.prettier-vscode"
2222
}
2323
}

README.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

app/favicon.ico

-25.3 KB
Binary file not shown.

app/globals.css

Lines changed: 5 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,10 @@
1-
:root {
2-
--max-width: 1100px;
3-
--border-radius: 12px;
4-
--font-mono: ui-monospace, Menlo, Monaco, 'Cascadia Mono', 'Segoe UI Mono',
5-
'Roboto Mono', 'Oxygen Mono', 'Ubuntu Monospace', 'Source Code Pro',
6-
'Fira Mono', 'Droid Sans Mono', 'Courier New', monospace;
7-
8-
--foreground-rgb: 0, 0, 0;
9-
--background-start-rgb: 214, 219, 220;
10-
--background-end-rgb: 255, 255, 255;
11-
12-
--primary-glow: conic-gradient(
13-
from 180deg at 50% 50%,
14-
#16abff33 0deg,
15-
#0885ff33 55deg,
16-
#54d6ff33 120deg,
17-
#0071ff33 160deg,
18-
transparent 360deg
19-
);
20-
--secondary-glow: radial-gradient(
21-
rgba(255, 255, 255, 1),
22-
rgba(255, 255, 255, 0)
23-
);
24-
25-
--tile-start-rgb: 239, 245, 249;
26-
--tile-end-rgb: 228, 232, 233;
27-
--tile-border: conic-gradient(
28-
#00000080,
29-
#00000040,
30-
#00000030,
31-
#00000020,
32-
#00000010,
33-
#00000010,
34-
#00000080
35-
);
36-
37-
--callout-rgb: 238, 240, 241;
38-
--callout-border-rgb: 172, 175, 176;
39-
--card-rgb: 180, 185, 188;
40-
--card-border-rgb: 131, 134, 135;
41-
}
42-
43-
@media (prefers-color-scheme: dark) {
44-
:root {
45-
--foreground-rgb: 255, 255, 255;
46-
--background-start-rgb: 0, 0, 0;
47-
--background-end-rgb: 0, 0, 0;
48-
49-
--primary-glow: radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0));
50-
--secondary-glow: linear-gradient(
51-
to bottom right,
52-
rgba(1, 65, 255, 0),
53-
rgba(1, 65, 255, 0),
54-
rgba(1, 65, 255, 0.3)
55-
);
56-
57-
--tile-start-rgb: 2, 13, 46;
58-
--tile-end-rgb: 2, 5, 19;
59-
--tile-border: conic-gradient(
60-
#ffffff80,
61-
#ffffff40,
62-
#ffffff30,
63-
#ffffff20,
64-
#ffffff10,
65-
#ffffff10,
66-
#ffffff80
67-
);
68-
69-
--callout-rgb: 20, 20, 20;
70-
--callout-border-rgb: 108, 108, 108;
71-
--card-rgb: 100, 100, 100;
72-
--card-border-rgb: 200, 200, 200;
73-
}
74-
}
75-
76-
* {
77-
box-sizing: border-box;
78-
padding: 0;
79-
margin: 0;
80-
}
81-
821
html,
832
body {
84-
max-width: 100vw;
85-
overflow-x: hidden;
86-
}
87-
88-
body {
89-
color: rgb(var(--foreground-rgb));
90-
background: linear-gradient(
91-
to bottom,
92-
transparent,
93-
rgb(var(--background-end-rgb))
94-
)
95-
rgb(var(--background-start-rgb));
96-
}
97-
98-
a {
99-
color: inherit;
100-
text-decoration: none;
3+
margin: 0;
4+
-webkit-font-smoothing: subpixel-antialiased;
5+
-moz-osx-font-smoothing: grayscale;
1016
}
1027

103-
@media (prefers-color-scheme: dark) {
104-
html {
105-
color-scheme: dark;
106-
}
8+
img {
9+
image-rendering: -webkit-optimize-contrast;
10710
}

app/layout.tsx

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,29 @@
1-
import './globals.css'
2-
import type { Metadata } from 'next'
3-
import { Inter } from 'next/font/google'
4-
5-
const inter = Inter({ subsets: ['latin'] })
1+
import type { Metadata } from "next"
2+
import "./globals.css"
63

4+
/**
5+
*
6+
*
7+
* @author Aloento
8+
* @since 0.1.0
9+
* @version 0.1.0
10+
*/
711
export const metadata: Metadata = {
8-
title: 'Create Next App',
9-
description: 'Generated by create next app',
12+
title: "E-Shop!",
13+
description: "Simple Online Shop Application",
1014
}
1115

12-
export default function RootLayout({
13-
children,
14-
}: {
15-
children: React.ReactNode
16-
}) {
16+
/**
17+
*
18+
*
19+
* @author Aloento
20+
* @since 0.1.0
21+
* @version 0.1.0
22+
*/
23+
export default function RootLayout({ children }: { children: React.ReactNode }) {
1724
return (
1825
<html lang="en">
19-
<body className={inter.className}>{children}</body>
26+
<body>{children}</body>
2027
</html>
2128
)
2229
}

0 commit comments

Comments
 (0)