Skip to content

Commit f95f2cd

Browse files
committed
feat: initial work on portal layout and base setup
1 parent 3e18e6c commit f95f2cd

File tree

22 files changed

+18871
-7467
lines changed

22 files changed

+18871
-7467
lines changed

package-lock.json

Lines changed: 18203 additions & 7466 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"workspaces": [
2727
"shared",
2828
"backend",
29-
"dashboard"
29+
"dashboard",
30+
"portal"
3031
],
3132
"dependencies": {
3233
"dotenv": "^16.5.0"

portal/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Nuxt dev/build outputs
2+
.output
3+
.data
4+
.nuxt
5+
.nitro
6+
.cache
7+
dist
8+
9+
# Node dependencies
10+
node_modules
11+
12+
# Logs
13+
logs
14+
*.log
15+
16+
# Misc
17+
.DS_Store
18+
.fleet
19+
.idea
20+
21+
# Local env files
22+
.env
23+
.env.*
24+
!.env.example

portal/README.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Nuxt Minimal Starter
2+
3+
Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
4+
5+
## Setup
6+
7+
Make sure to install dependencies:
8+
9+
```bash
10+
# npm
11+
npm install
12+
13+
# pnpm
14+
pnpm install
15+
16+
# yarn
17+
yarn install
18+
19+
# bun
20+
bun install
21+
```
22+
23+
## Development Server
24+
25+
Start the development server on `http://localhost:3000`:
26+
27+
```bash
28+
# npm
29+
npm run dev
30+
31+
# pnpm
32+
pnpm dev
33+
34+
# yarn
35+
yarn dev
36+
37+
# bun
38+
bun run dev
39+
```
40+
41+
## Production
42+
43+
Build the application for production:
44+
45+
```bash
46+
# npm
47+
npm run build
48+
49+
# pnpm
50+
pnpm build
51+
52+
# yarn
53+
yarn build
54+
55+
# bun
56+
bun run build
57+
```
58+
59+
Locally preview production build:
60+
61+
```bash
62+
# npm
63+
npm run preview
64+
65+
# pnpm
66+
pnpm preview
67+
68+
# yarn
69+
yarn preview
70+
71+
# bun
72+
bun run preview
73+
```
74+
75+
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.

portal/app/app.vue

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
<template>
2+
<NuxtLayout>
3+
<NuxtPage />
4+
</NuxtLayout>
5+
</template>
6+
7+
<style>
8+
@import url('https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@100..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
9+
10+
:root {
11+
--color-blue-50: rgb(193,245,255);
12+
--color-blue-100: rgb(178,231,255);
13+
--color-blue-200: rgb(149,203,255);
14+
--color-blue-300: rgb(121,175,234);
15+
--color-blue-400: rgb(92,149,206);
16+
--color-blue-500: rgb(62,123,178);
17+
--color-blue-600: rgb(26,98,151);
18+
--color-blue-700: rgb(0,75,125);
19+
--color-blue-800: rgb(0,52,100);
20+
--color-blue-900: rgb(0,32,76);
21+
--color-blue-950: rgb(0,22,64);
22+
--color-steelblue-50: rgb(210,243,255);
23+
--color-steelblue-100: rgb(196,229,255);
24+
--color-steelblue-200: rgb(168,201,245);
25+
--color-steelblue-300: rgb(141,174,216);
26+
--color-steelblue-400: rgb(114,147,188);
27+
--color-steelblue-500: rgb(88,121,161);
28+
--color-steelblue-600: rgb(62,97,135);
29+
--color-steelblue-700: rgb(34,73,109);
30+
--color-steelblue-800: rgb(0,51,85);
31+
--color-steelblue-900: rgb(0,30,61);
32+
--color-steelblue-950: rgb(0,20,50);
33+
--color-green-50: rgb(164,255,127);
34+
--color-green-100: rgb(149,251,113);
35+
--color-green-200: rgb(120,222,86);
36+
--color-green-300: rgb(90,193,59);
37+
--color-green-400: rgb(59,166,29);
38+
--color-green-500: rgb(17,139,0);
39+
--color-green-600: rgb(0,112,0);
40+
--color-green-700: rgb(0,87,0);
41+
--color-green-800: rgb(0,62,0);
42+
--color-green-900: rgb(0,41,0);
43+
--color-green-950: rgb(0,35,0);
44+
--color-yellow-50: rgb(255,238,63);
45+
--color-yellow-100: rgb(255,224,45);
46+
--color-yellow-200: rgb(231,197,0);
47+
--color-yellow-300: rgb(200,170,0);
48+
--color-yellow-400: rgb(170,143,0);
49+
--color-yellow-500: rgb(141,118,0);
50+
--color-yellow-600: rgb(113,94,0);
51+
--color-yellow-700: rgb(88,70,0);
52+
--color-yellow-800: rgb(68,47,0);
53+
--color-yellow-900: rgb(55,25,0);
54+
--color-yellow-950: rgb(50,12,0);
55+
--color-orange-50: rgb(255,210,101);
56+
--color-orange-100: rgb(255,196,87);
57+
--color-orange-200: rgb(255,168,60);
58+
--color-orange-300: rgb(255,141,28);
59+
--color-orange-400: rgb(224,115,0);
60+
--color-orange-500: rgb(193,90,0);
61+
--color-orange-600: rgb(162,64,0);
62+
--color-orange-700: rgb(132,39,0);
63+
--color-orange-800: rgb(105,9,0);
64+
--color-orange-900: rgb(81,0,0);
65+
--color-orange-950: rgb(72,0,0);
66+
--color-red-50: rgb(255,178,120);
67+
--color-red-100: rgb(255,164,107);
68+
--color-red-200: rgb(255,134,81);
69+
--color-red-300: rgb(255,105,56);
70+
--color-red-400: rgb(255,75,29);
71+
--color-red-500: rgb(231,39,0);
72+
--color-red-600: rgb(198,0,0);
73+
--color-red-700: rgb(166,0,0);
74+
--color-red-800: rgb(135,0,0);
75+
--color-red-900: rgb(106,0,0);
76+
--color-red-950: rgb(94,0,0);
77+
--color-gray-50: rgb(241,241,241);
78+
--color-gray-100: rgb(226,226,226);
79+
--color-gray-200: rgb(198,198,198);
80+
--color-gray-300: rgb(171,171,171);
81+
--color-gray-400: rgb(145,145,145);
82+
--color-gray-500: rgb(119,119,119);
83+
--color-gray-600: rgb(94,94,94);
84+
--color-gray-700: rgb(71,71,71);
85+
--color-gray-800: rgb(48,48,48);
86+
--color-gray-900: rgb(27,27,27);
87+
--color-gray-950: rgb(17,17,17);
88+
89+
--text-base: 16px;
90+
--text-lg: 24px;
91+
--text-xl: 32px;
92+
--text-xl2: 40px;
93+
--text-xl3: 48px;
94+
}
95+
96+
*, *::before, *::after {
97+
box-sizing: border-box;
98+
}
99+
100+
body {
101+
margin: 0;
102+
font: 16px/1.2 "Roboto", -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, Adwaita Sans, Cantarell, Ubuntu, roboto, noto, helvetica, arial, sans-serif;
103+
font-weight: 350;
104+
}
105+
</style>

portal/app/assets/grid-16x16.png

1.83 KB
Loading

portal/app/assets/grid-64x64.png

1.79 KB
Loading

portal/app/assets/grid-8x8.png

1.84 KB
Loading

portal/app/assets/logo.svg

Lines changed: 123 additions & 0 deletions
Loading
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<template>
2+
<button>
3+
<div aria-hidden="true" class="corner corner1"></div>
4+
<div aria-hidden="true" class="corner corner2"></div>
5+
<div aria-hidden="true" class="corner corner3"></div>
6+
<div aria-hidden="true" class="corner corner4"></div>
7+
<slot />
8+
</button>
9+
</template>
10+
11+
<script setup lang="ts">
12+
13+
</script>
14+
15+
<style scoped>
16+
button {
17+
--bg-color: rgba(255, 255, 255, 0.05);
18+
--stripe-color: rgba(255, 255, 255, 0.05);
19+
20+
display: inline-block;
21+
font: inherit;
22+
display: block;
23+
appearance: none;
24+
color: currentColor;
25+
border: 1.5px dashed var(--color-gray-100);
26+
border-radius: 8px;
27+
font-weight: 400;
28+
cursor: pointer;
29+
30+
height: 32px;
31+
padding: 0 16px;
32+
33+
background-color: var(--bg-color);
34+
background-image: repeating-linear-gradient(135deg, var(--stripe-color) 0px, var(--stripe-color) 2px, transparent 2px, transparent 6px);
35+
position: relative;
36+
}
37+
button:hover {
38+
--bg-color: rgba(255, 255, 255, 0.1);
39+
--stripe-color: rgba(255, 255, 255, 0.1);
40+
}
41+
</style>

0 commit comments

Comments
 (0)