Skip to content

Commit 5cba7e1

Browse files
Initial commit
0 parents  commit 5cba7e1

File tree

16 files changed

+301
-0
lines changed

16 files changed

+301
-0
lines changed

.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

README.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Nuxt 3 Minimal Starter
2+
3+
Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
4+
5+
## Setup
6+
7+
Make sure to install the 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 run 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 run 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 run 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.

app.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<template>
2+
<div>
3+
<NuxtLayout>
4+
<NuxtPage />
5+
</NuxtLayout>
6+
</div>
7+
</template>

assets/scss/main.scss

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
@font-face { font-family: "techmino-proportional"; src: url('/fonts/proportional.otf') }
2+
@font-face { font-family: "techmino-monospace" ; src: url('/fonts/monospaced.otf') }
3+
4+
$rank-color-b: #CCDBE6;
5+
$rank-color-a: #99E683;
6+
$rank-color-s: #EDEDA6;
7+
$rank-color-u: #FF8066;
8+
$rank-color-x: #F280F2;
9+
10+
$rank-bg-b: #3366994F;
11+
$rank-bg-a: #99D9A64F;
12+
$rank-bg-s: #D9CC4D4F;
13+
$rank-bg-u: #D980664F;
14+
$rank-bg-x: #D94DCC4F;
15+
16+
$primary-color: lime;
17+
$primary-color-dark: darkgreen;
18+
$primary-color-alpha75: rgba(0, 255, 0, 0.75);
19+
$primary-color-alpha50: rgba(0, 255, 0, 0.50);
20+
$primary-color-alpha25: rgba(0, 255, 0, 0.25);
21+
$primary-color-alpha10: rgba(0, 255, 0, 0.10);
22+
$primary-color-dark-alpha75: rgba(0, 128, 0, 0.75);
23+
$primary-color-dark-alpha50: rgba(0, 128, 0, 0.50);
24+
$primary-color-dark-alpha25: rgba(0, 128, 0, 0.25);
25+
$primary-color-dark-alpha10: rgba(0, 128, 0, 0.10);
26+
27+
$secondary-color: slateblue;
28+
$secondary-color-dark: darkslateblue;
29+
$secondary-color-alpha75: rgba(106, 90, 205, 0.75);
30+
$secondary-color-alpha50: rgba(106, 90, 205, 0.50);
31+
$secondary-color-alpha25: rgba(106, 90, 205, 0.25);
32+
$secondary-color-alpha10: rgba(106, 90, 205, 0.10);
33+
$secondary-color-dark-alpha75: rgba(72, 61, 139, 0.75);
34+
$secondary-color-dark-alpha50: rgba(72, 61, 139, 0.50);
35+
$secondary-color-dark-alpha25: rgba(72, 61, 139, 0.25);
36+
$secondary-color-dark-alpha10: rgba(72, 61, 139, 0.10);

bun.lockb

324 KB
Binary file not shown.

components/footer.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<template>
2+
<div>
3+
4+
</div>
5+
</template>
6+
7+
<style>
8+
9+
</style>

components/header.vue

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<template>
2+
<div class="header-outer">
3+
<header>
4+
<NuxtLink to="/">
5+
<h1>
6+
Techmino Hub
7+
</h1>
8+
</NuxtLink>
9+
<nav>
10+
<NuxtLink to="/">Home</NuxtLink>
11+
<NuxtLink to="/about">About</NuxtLink>
12+
<NuxtLink to="/contact">Contact</NuxtLink>
13+
</nav>
14+
</header>
15+
</div>
16+
</template>
17+
18+
<style lang="scss">
19+
@use "~/assets/scss/main.scss";
20+
.header-outer {
21+
display: flex;
22+
flex-direction: column;
23+
flex: 0 0 auto;
24+
width: 100%;
25+
}
26+
header {
27+
display: flex;
28+
flex-direction: row;
29+
justify-content: space-between;
30+
background-color: main.$secondary-color-alpha50;
31+
padding: 0.5em 1.5em;
32+
33+
> a {
34+
color: white;
35+
font-weight: bold;
36+
}
37+
}
38+
nav {
39+
display: flex;
40+
flex-direction: row;
41+
align-items: center;
42+
padding: 0 1em;
43+
font-size: 1.2em;
44+
gap: 1em;
45+
}
46+
a {
47+
text-decoration: none;
48+
color: main.$primary-color;
49+
padding: 0.15em 0.3em;
50+
border-radius: 0.2em;
51+
transition: background-color 200ms;
52+
53+
&:hover {
54+
background-color: main.$primary-color-alpha25;
55+
}
56+
}
57+
</style>

layouts/default.vue

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<template>
2+
<div class="outer">
3+
<canvas id="background"></canvas>
4+
<div class="main-panel">
5+
<Header />
6+
<main>
7+
<slot />
8+
</main>
9+
<Footer />
10+
</div>
11+
</div>
12+
</template>
13+
14+
<style>
15+
body {
16+
margin: 0;
17+
padding: 0;
18+
font-family: 'techmino-proportional', sans-serif;
19+
background-color: black;
20+
color: white;
21+
}
22+
canvas#background {
23+
position: fixed;
24+
top: 0;
25+
left: 0;
26+
z-index: -1;
27+
width: 100%;
28+
height: 100%;
29+
}
30+
.outer {
31+
width: 100%;
32+
background-color: transparent;
33+
34+
> .main-panel {
35+
border: 1px solid white;
36+
margin: 20px;
37+
38+
@media (max-width: 700px) {
39+
margin: 0;
40+
border: 0 none transparent;
41+
border-bottom: 1px solid white;
42+
}
43+
44+
> main {
45+
background-color: rgba(0, 0, 0, 0.6);
46+
}
47+
}
48+
}
49+
</style>

nuxt.config.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// https://nuxt.com/docs/api/configuration/nuxt-config
2+
export default defineNuxtConfig({
3+
css: ['~/assets/scss/main.scss'],
4+
runtimeConfig: {
5+
supabase_url: 'https://fohgyexhzptaxjqrrrfd.supabase.co',
6+
supabase_anon_key: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImZvaGd5ZXhoenB0YXhqcXJycmZkIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MDUwMjQxNTcsImV4cCI6MjAyMDYwMDE1N30.fa7XvwiBbWSe2MLIR6Wkh_OC95uV7UXxt7_25PlyAlc'
7+
},
8+
$production: {
9+
devtools: { enabled: false }
10+
},
11+
$development: {
12+
devtools: { enabled: true }
13+
}
14+
})

package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "nuxt-app",
3+
"private": true,
4+
"type": "module",
5+
"scripts": {
6+
"build": "nuxt build",
7+
"dev": "nuxt dev",
8+
"generate": "nuxt generate",
9+
"preview": "nuxt preview",
10+
"postinstall": "nuxt prepare"
11+
},
12+
"dependencies": {
13+
"nuxt": "^3.11.2",
14+
"vue": "^3.4.27",
15+
"vue-router": "^4.3.2"
16+
},
17+
"devDependencies": {
18+
"sass": "^1.77.4"
19+
}
20+
}

pages/index.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
Welcome!
3+
</template>

public/favicon.ico

4.19 KB
Binary file not shown.

public/fonts/monospaced.otf

32.8 KB
Binary file not shown.

public/fonts/proportional.otf

8.18 MB
Binary file not shown.

server/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "../.nuxt/tsconfig.server.json"
3+
}

tsconfig.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
// https://nuxt.com/docs/guide/concepts/typescript
3+
"extends": "./.nuxt/tsconfig.json"
4+
}

0 commit comments

Comments
 (0)