Skip to content

Commit 317cad8

Browse files
committed
Add login form
1 parent a1668dc commit 317cad8

18 files changed

Lines changed: 18226 additions & 743 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# Compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
/bazel-out
8+
9+
# Node
10+
/node_modules
11+
npm-debug.log
12+
yarn-error.log
13+
14+
# IDEs and editors
15+
.idea/
16+
.project
17+
.classpath
18+
.c9/
19+
*.launch
20+
.settings/
21+
*.sublime-workspace
22+
23+
# Visual Studio Code
24+
.vscode/*
25+
!.vscode/settings.json
26+
!.vscode/tasks.json
27+
!.vscode/launch.json
28+
!.vscode/extensions.json
29+
.history/*
30+
31+
# Miscellaneous
32+
/.angular/cache
33+
.sass-cache/
34+
/connect.lock
35+
/coverage
36+
/libpeerconnection.log
37+
testem.log
38+
/typings
39+
40+
# System files
41+
.DS_Store
42+
Thumbs.db
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<p>
2+
<a href="https://picocss.com" target="_blank">
3+
<picture>
4+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/picocss/pico/HEAD/.github/logo-dark.svg">
5+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/picocss/pico/HEAD/.github/logo-light.svg">
6+
<img alt="Pico CSS" src="https://raw.githubusercontent.com/picocss/pico/HEAD/.github/logo-light.svg" width="auto" height="60">
7+
</picture>
8+
</a>
9+
</p>
10+
11+
# React class-less login
12+
13+
| Pico version | Tech stack |
14+
| ----- | ----- |
15+
| 2 | Angular, Sass |
16+
17+
A minimal, class-less login page in Angular, with a custom primary color.
18+
19+
[![Open in CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/picocss/examples/tree/master/v2-angular-classless-login)
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"v2-angular-classless-login": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"inlineTemplate": true,
11+
"inlineStyle": true,
12+
"style": "scss",
13+
"skipTests": true
14+
},
15+
"@schematics/angular:class": {
16+
"skipTests": true
17+
},
18+
"@schematics/angular:directive": {
19+
"skipTests": true
20+
},
21+
"@schematics/angular:guard": {
22+
"skipTests": true
23+
},
24+
"@schematics/angular:interceptor": {
25+
"skipTests": true
26+
},
27+
"@schematics/angular:pipe": {
28+
"skipTests": true
29+
},
30+
"@schematics/angular:resolver": {
31+
"skipTests": true
32+
},
33+
"@schematics/angular:service": {
34+
"skipTests": true
35+
}
36+
},
37+
"root": "",
38+
"sourceRoot": "src",
39+
"prefix": "app",
40+
"architect": {
41+
"build": {
42+
"builder": "@angular-devkit/build-angular:application",
43+
"options": {
44+
"outputPath": "dist/v2-angular-classless-login",
45+
"index": "src/index.html",
46+
"browser": "src/main.ts",
47+
"polyfills": [
48+
"zone.js"
49+
],
50+
"tsConfig": "tsconfig.app.json",
51+
"inlineStyleLanguage": "scss",
52+
"assets": [
53+
"src/favicon.ico",
54+
"src/assets"
55+
],
56+
"styles": [
57+
"src/styles.scss"
58+
],
59+
"scripts": []
60+
},
61+
"configurations": {
62+
"production": {
63+
"budgets": [
64+
{
65+
"type": "initial",
66+
"maximumWarning": "500kb",
67+
"maximumError": "1mb"
68+
},
69+
{
70+
"type": "anyComponentStyle",
71+
"maximumWarning": "2kb",
72+
"maximumError": "4kb"
73+
}
74+
],
75+
"outputHashing": "all"
76+
},
77+
"development": {
78+
"optimization": false,
79+
"extractLicenses": false,
80+
"sourceMap": true
81+
}
82+
},
83+
"defaultConfiguration": "production"
84+
},
85+
"serve": {
86+
"builder": "@angular-devkit/build-angular:dev-server",
87+
"configurations": {
88+
"production": {
89+
"buildTarget": "::production"
90+
},
91+
"development": {
92+
"buildTarget": "::development"
93+
}
94+
},
95+
"defaultConfiguration": "development"
96+
}
97+
}
98+
}
99+
}
100+
}

0 commit comments

Comments
 (0)