Skip to content

Commit 27bbe53

Browse files
feat: add home page
1 parent c6786e0 commit 27bbe53

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4276
-228
lines changed

.vscode/extensions.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"recommendations": [
3+
"aaron-bond.better-comments",
4+
"dbaeumer.vscode-eslint",
5+
"gencer.html-slim-scss-css-class-completion",
6+
"gruntfuggly.todo-tree",
7+
"ms-vscode.vscode-gradle",
8+
"pucelle.vscode-css-navigation",
9+
"rust-lang.rust-analyzer",
10+
"streetsidesoftware.code-spell-checker",
11+
"usernamehw.errorlens",
12+
"vue.volar"
13+
]
14+
}

.vscode/settings.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
// Editor Specific
3+
"editor.formatOnSave": true,
4+
"editor.formatOnPaste": false,
5+
"editor.formatOnType": false,
6+
"editor.insertSpaces": true,
7+
"editor.tabSize": 3,
8+
"editor.detectIndentation": false,
9+
"editor.trimAutoWhitespace": true,
10+
"editor.bracketPairColorization.enabled": true,
11+
"editor.codeActionsOnSave": {
12+
"source.fixAll.eslint": "explicit",
13+
"source.organizeImports": "explicit",
14+
},
15+
"editor.quickSuggestions": {
16+
"other": true,
17+
"comments": true,
18+
"strings": true
19+
},
20+
"files.insertFinalNewline": true,
21+
"files.trimFinalNewlines": true,
22+
"files.trimTrailingWhitespace": true,
23+
"files.exclude": {
24+
"**/node_modules": true,
25+
"**/dist": true,
26+
"**/.git": true,
27+
"**/.DS_Store": true
28+
},
29+
"search.exclude": {
30+
"**/node_modules": true,
31+
"**/dist": true,
32+
"**/.git": true
33+
},
34+
// HTML Specific
35+
"html.format.enable": true,
36+
"html.format.wrapLineLength": 120,
37+
"html.suggest.html5": true,
38+
"emmet.includeLanguages": {
39+
"vue-html": "html",
40+
"vue": "html",
41+
"javascript": "html"
42+
},
43+
"emmet.triggerExpansionOnTab": true,
44+
"emmet.showAbbreviationSuggestions": true,
45+
"emmet.showExpandedAbbreviation": "always",
46+
// TypeScript Specific
47+
"typescript.preferences.importModuleSpecifier": "relative",
48+
// ESLint Specific
49+
"eslint.run": "onSave",
50+
"eslint.validate": [
51+
"javascript",
52+
"javascriptreact",
53+
"typescript",
54+
"typescriptreact",
55+
"vue",
56+
],
57+
// Vue Related
58+
"[vue]": {
59+
"editor.defaultFormatter": "Vue.volar",
60+
"editor.formatOnSave": true,
61+
},
62+
}

.vscode/snippets.code-snippets

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
// Place your nconnect_admin_new workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
3+
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
4+
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
5+
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
6+
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
7+
// Placeholders with the same ids are connected.
8+
// Example:
9+
// "Print to console": {
10+
// "scope": "javascript,typescript",
11+
// "prefix": "log",
12+
// "body": [
13+
// "console.log('$1');",
14+
// "$2"
15+
// ],
16+
// "description": "Log output to console"
17+
// }
18+
"Single File Component Composition API Boilerplate": {
19+
"scope": "vue",
20+
"prefix": [
21+
"vue-composition",
22+
"vue-setup"
23+
],
24+
"body": "<template>\n\t$0\n</template>\n\n<script lang=\"ts\" setup>\n</script>\n\n<style lang=\"scss\">\n</style>",
25+
},
26+
"Print shorcut - Console log": {
27+
"scope": "javascript,typescript",
28+
"prefix": [
29+
"print",
30+
"csl",
31+
"conso",
32+
"consolelog"
33+
],
34+
"body": "console.log(\"$1\",$2)"
35+
},
36+
// SCSS Related snippets.
37+
"REM function in scss": {
38+
"scope": "css,scss",
39+
"prefix": "rem, px, px-to, px-to-rem",
40+
"body": "px-to-rem($1)",
41+
},
42+
"EM function in scss": {
43+
"scope": "css,scss",
44+
"prefix": "em, px, px-to, px-to-em",
45+
"body": "px-to-em($1)",
46+
},
47+
"Z-INDEX function in scss": {
48+
"scope": "css,scss",
49+
"prefix": "z-index, z, z-index-map",
50+
"body": "z-index($1)",
51+
},
52+
"GET-COLOR function in scss": {
53+
"scope": "css,scss",
54+
"prefix": "get-color, color, color-map-with-shades",
55+
"body": "get-color($1)",
56+
},
57+
}

.yarn/install-state.gz

197 KB
Binary file not shown.

app/app.vue

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
<template>
2-
<div>
3-
<NuxtRouteAnnouncer />
4-
<NuxtWelcome />
5-
</div>
2+
<CliHeader />
3+
4+
<NuxtPage />
5+
6+
<CliFooter />
67
</template>
8+
9+
<script lang="ts" setup>
10+
</script>
11+
12+
<style lang="scss">
13+
#__nuxt {
14+
display: flex;
15+
flex-direction: column;
16+
height: 100%;
17+
}
18+
19+
main {
20+
flex: 1;
21+
}
22+
23+
.cli-header,
24+
.cli-footer {
25+
padding: px-to-rem(16);
26+
}
27+
28+
main {
29+
padding: 0 px-to-rem(16);
30+
}
31+
</style>

app/assets/images/bg.svg

Lines changed: 11 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)