Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
c5a2437
hero
Daniel-mrEgo Nov 9, 2022
9b6ada8
Added Navbar
Nov 9, 2022
32bccf8
Resolved conflicts
Nov 9, 2022
3f3c4cc
Merge pull request #1 from venukommu/hero
venukommu Nov 9, 2022
9660488
Added search by specialities section
KasaSandhya Nov 10, 2022
8e54da2
Minor changes for styles
KasaSandhya Nov 10, 2022
7fdca8d
sympptoms committed
gadangmadhulika Nov 10, 2022
cf2e33f
minor change
gadangmadhulika Nov 10, 2022
fc726e6
hero
Daniel-mrEgo Nov 10, 2022
cf7840e
Moved Signin Signup and Signout pages to Argon Template
Nov 10, 2022
3dde843
minor changes
gadangmadhulika Nov 10, 2022
9be811f
Added search by diabetes section
KasaSandhya Nov 10, 2022
4c1a0a3
Added font-awesome script file
Nov 10, 2022
f01f759
padding fixed
gadangmadhulika Nov 10, 2022
19365ba
Removed auth pages
Nov 10, 2022
55a7b9d
Merge pull request #2 from venukommu/hero1
venukommu Nov 10, 2022
a3506e4
Merge branch 'master' into search-by-specialities
venukommu Nov 10, 2022
fae4f4f
Merge pull request #3 from venukommu/search-by-specialities
venukommu Nov 10, 2022
f64fdf7
Added search by diabetes
KasaSandhya Nov 10, 2022
441e279
buttons
Danielpradeep-MrEgo Nov 10, 2022
e9c9a31
Merge branch 'master' of https://github.com/venukommu/ms-argon-poc
Danielpradeep-MrEgo Nov 10, 2022
bad5902
width
Danielpradeep-MrEgo Nov 10, 2022
cf650c4
Fixed CSS issues
Nov 10, 2022
8647375
Fixed CSS issues
Nov 10, 2022
cff722f
branch push
gadangmadhulika Nov 11, 2022
f0ec313
navbar fix
Danielpradeep-MrEgo Nov 11, 2022
96bfc1d
Changed images with dynamic array
KasaSandhya Nov 11, 2022
4db6bd8
minor fixes
gadangmadhulika Nov 11, 2022
7f0c913
auth routes
Danielpradeep-MrEgo Nov 11, 2022
0d1ce0b
forms
Danielpradeep-MrEgo Nov 11, 2022
5524761
forms
Danielpradeep-MrEgo Nov 11, 2022
6598f11
Added firebase configuration files
Nov 11, 2022
b72816d
icons
Danielpradeep-MrEgo Nov 11, 2022
d3d93ec
Merge branch 'master' of https://github.com/venukommu/ms-argon-poc
Danielpradeep-MrEgo Nov 11, 2022
80e4b06
text alignments and dynamic images
gadangmadhulika Nov 11, 2022
e8dbab9
minor fix
gadangmadhulika Nov 11, 2022
9e2742f
fixed minor issue
KasaSandhya Nov 11, 2022
3e35ee6
Merge branch 'dynamic-images-changes' of https://github.com/venukommu…
KasaSandhya Nov 11, 2022
5ea86b8
Merge pull request #4 from venukommu/dynamic-images-changes
venukommu Nov 11, 2022
6b1f8f2
Fixed blank page issues
Nov 11, 2022
6cbae8c
Updated navbar
Nov 11, 2022
200fea9
consult doctor
pavansadhu28 Nov 11, 2022
c488095
Merge pull request #5 from venukommu/POC-MS
venukommu Nov 11, 2022
ab9f8fa
Fixed minor issues
Nov 11, 2022
07a859b
Merge branch 'master' of https://github.com/venukommu/ms-argon-poc
Nov 11, 2022
d97e9e8
Revert "consult doctor"
venukommu Nov 11, 2022
eb5d76e
Merge pull request #6 from venukommu/revert-5-POC-MS
venukommu Nov 11, 2022
7ef9f96
Added search by symptoms page
padmachikkala Nov 14, 2022
4b0f515
Added some more images
padmachikkala Nov 14, 2022
58a95ce
list of doctors
pavansadhu28 Nov 14, 2022
19d6757
questioner
gadangmadhulika Nov 15, 2022
906702e
code celanup"
Danielpradeep-MrEgo Nov 15, 2022
c39611e
Added physicians router and page
KasaSandhya Nov 15, 2022
c45953f
minor changes
gadangmadhulika Nov 15, 2022
daee978
Merge pull request #7 from venukommu/search-by-symptoms-page
venukommu Nov 15, 2022
b3d3260
Merge pull request #8 from venukommu/physicians-functionality
venukommu Nov 15, 2022
d7dc577
Merge branch 'master' into doctors-list
venukommu Nov 15, 2022
2b138a6
Merge pull request #9 from venukommu/doctors-list
venukommu Nov 15, 2022
2977d94
Merge branch 'master' into login-routes-and-code-cleanup
venukommu Nov 15, 2022
2d79217
Merge pull request #11 from venukommu/login-routes-and-code-cleanup
venukommu Nov 15, 2022
5f6c251
Added resources and two containers
Nov 15, 2022
f080a1d
Fixed few conflicts
Nov 15, 2022
473e247
Merge pull request #10 from venukommu/self-check
venukommu Nov 15, 2022
afd3ef8
Fixed routing issues
Nov 15, 2022
441b040
added doctors based on diagnosis
gadangmadhulika Nov 15, 2022
fddd2f1
minor change
gadangmadhulika Nov 15, 2022
9f19ac3
Merge pull request #12 from venukommu/doctors-by-diagnosis
venukommu Nov 15, 2022
23f594a
changed UI and added respective doctors for specialities
pavansadhu28 Nov 15, 2022
cec8ce7
symptoms ui
Danielpradeep-MrEgo Nov 15, 2022
75f80d5
Merge branch 'master' into list-of-doctors
venukommu Nov 15, 2022
335c6a8
Merge pull request #13 from venukommu/list-of-doctors
venukommu Nov 15, 2022
610e253
Fixed minor issues
Nov 15, 2022
7383bfc
Fixed minor issues
Nov 15, 2022
9fbcf08
Fixed minor issues
Nov 15, 2022
6a4e22f
fixed minor issues
Nov 15, 2022
ec55150
Merge pull request #14 from venukommu/list-of-symptoms
venukommu Nov 15, 2022
1a26124
width issue
Danielpradeep-MrEgo Nov 15, 2022
a5ef61f
minor changes
pavansadhu28 Nov 15, 2022
2173ad3
minor changes
gadangmadhulika Nov 15, 2022
dffb558
navbar and banner
Danielpradeep-MrEgo Nov 16, 2022
d79ff7e
links
Danielpradeep-MrEgo Nov 16, 2022
634bac5
password-strength test change
gadangmadhulika Nov 16, 2022
3c68df7
minor changes
gadangmadhulika Nov 16, 2022
719f815
animations
Danielpradeep-MrEgo Nov 16, 2022
0742104
tab title change
gadangmadhulika Nov 16, 2022
958146e
Fixed some UI issues and added continue button
padmachikkala Nov 16, 2022
a4d6a85
Changed the doctors functionality
KasaSandhya Nov 16, 2022
7a53161
Changed the Specialities urls
KasaSandhya Nov 16, 2022
c92b6e9
Merge pull request #15 from venukommu/doctors-page
venukommu Nov 16, 2022
756b3c0
minor change
gadangmadhulika Nov 16, 2022
3248921
Fixed minor issue
Nov 16, 2022
de9ac0e
Merge branch 'master' of https://github.com/venukommu/ms-argon-poc
Nov 16, 2022
d2e985c
pop and minor css
pavansadhu28 Nov 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
213 changes: 213 additions & 0 deletions .firebase/hosting.ZGlzdA.cache

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "medical-service-poc"
}
}
35 changes: 8 additions & 27 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/argon-design-system-angular",
"outputPath": "dist/poc",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
Expand All @@ -22,14 +22,8 @@
"rxjs/add/operator/filter",
"ng2-nouislider"
],
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css",
"src/assets/scss/argon.scss"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css", "src/assets/scss/argon.scss"],
"scripts": []
},
"configurations": {
Expand All @@ -43,7 +37,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
Expand Down Expand Up @@ -95,26 +88,16 @@
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"src/styles.css"
],
"styles": ["src/styles.css"],
"scripts": [],
"assets": [
"src/favicon.ico",
"src/assets"
]
"assets": ["src/favicon.ico", "src/assets"]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"],
"exclude": ["**/node_modules/**"]
}
}
}
Expand All @@ -139,9 +122,7 @@
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
Expand Down
16 changes: 16 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "dist/poc",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "argon-design-system-angular",
"name": "poc",
"version": "1.3.0",
"scripts": {
"ng": "ng",
Expand All @@ -25,8 +25,15 @@
"@angular/router": "^13.3.1",
"@ng-bootstrap/ng-bootstrap": "12.0.1",
"@popperjs/core": "^2.11.4",
"bootstrap": "4.5.2",
"bootstrap-material-design": "4.1.3",
"bootstrap-notify": "3.1.3",
"bootstrap-rtl": "3.3.4",
"bootstrap-select": "1.13.18",
"bootstrap-tagsinput": "0.7.1",
"jw-bootstrap-switch-ng2": "2.0.5",
"moment": "^2.29.1",
"@angular/material": "13.3.0",
"ng2-nouislider": "1.8.3",
"nouislider": "14.6.3",
"rxjs": "^7.5.5",
Expand Down
6 changes: 3 additions & 3 deletions src/app/app.component.html
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<app-navbar></app-navbar>
<router-outlet></router-outlet>
<app-footer></app-footer>
<app-navbar></app-navbar>
<router-outlet></router-outlet>
<!-- <app-footer></app-footer> -->
Empty file modified src/app/app.component.scss
100644 → 100755
Empty file.
64 changes: 32 additions & 32 deletions src/app/app.component.spec.ts
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
import { TestBed, async } from '@angular/core/testing';

import { AppComponent } from './app.component';

describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
AppComponent
],
}).compileComponents();
}));

it('should create the app', async(() => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
expect(app).toBeTruthy();
}));

it(`should have as title 'app'`, async(() => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
expect(app.title).toEqual('app');
}));

it('should render title in a h1 tag', async(() => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.debugElement.nativeElement;
expect(compiled.querySelector('h1').textContent).toContain('Welcome to app!!');
}));
});
import { TestBed, async } from '@angular/core/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
AppComponent
],
}).compileComponents();
}));
it('should create the app', async(() => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
expect(app).toBeTruthy();
}));
it(`should have as title 'app'`, async(() => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
expect(app.title).toEqual('app');
}));
it('should render title in a h1 tag', async(() => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.debugElement.nativeElement;
expect(compiled.querySelector('h1').textContent).toContain('Welcome to app!!');
}));
});
150 changes: 75 additions & 75 deletions src/app/app.component.ts
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
import { Component, OnInit, Inject, Renderer2, ElementRef, ViewChild, HostListener } from '@angular/core';
import { Router, NavigationEnd } from '@angular/router';
import { DOCUMENT } from '@angular/common';
import { LocationStrategy, PlatformLocation, Location } from '@angular/common';
import { filter, Subscription } from 'rxjs';

var didScroll;
var lastScrollTop = 0;
var delta = 5;
var navbarHeight = 0;

@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent implements OnInit {
private _router: Subscription;

constructor( private renderer : Renderer2, private router: Router, @Inject(DOCUMENT,) private document: any, private element : ElementRef, public location: Location) {}
@HostListener('window:scroll', ['$event'])
hasScrolled() {

var st = window.pageYOffset;
// Make sure they scroll more than delta
if(Math.abs(lastScrollTop - st) <= delta)
return;

var navbar = document.getElementsByTagName('nav')[0];

// If they scrolled down and are past the navbar, add class .headroom--unpinned.
// This is necessary so you never see what is "behind" the navbar.
if (st > lastScrollTop && st > navbarHeight){
// Scroll Down
if (navbar.classList.contains('headroom--pinned')) {
navbar.classList.remove('headroom--pinned');
navbar.classList.add('headroom--unpinned');
}
// $('.navbar.headroom--pinned').removeClass('headroom--pinned').addClass('headroom--unpinned');
} else {
// Scroll Up
// $(window).height()
if(st + window.innerHeight < document.body.scrollHeight) {
// $('.navbar.headroom--unpinned').removeClass('headroom--unpinned').addClass('headroom--pinned');
if (navbar.classList.contains('headroom--unpinned')) {
navbar.classList.remove('headroom--unpinned');
navbar.classList.add('headroom--pinned');
}
}
}

lastScrollTop = st;
};
ngOnInit() {
var navbar : HTMLElement = this.element.nativeElement.children[0].children[0];
this._router = this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event: NavigationEnd) => {
if (window.outerWidth > 991) {
window.document.children[0].scrollTop = 0;
}else{
window.document.activeElement.scrollTop = 0;
}
this.renderer.listen('window', 'scroll', (event) => {
const number = window.scrollY;
if (number > 150 || window.pageYOffset > 150) {
// add logic
navbar.classList.add('headroom--not-top');
} else {
// remove logic
navbar.classList.remove('headroom--not-top');
}
});
});
this.hasScrolled();
}
}
import { Component, OnInit, Inject, Renderer2, ElementRef, ViewChild, HostListener } from '@angular/core';
import { Router, NavigationEnd } from '@angular/router';
import { DOCUMENT } from '@angular/common';
import { LocationStrategy, PlatformLocation, Location } from '@angular/common';
import { filter, Subscription } from 'rxjs';
var didScroll;
var lastScrollTop = 0;
var delta = 5;
var navbarHeight = 0;
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent implements OnInit {
private _router: Subscription;
constructor( private renderer : Renderer2, private router: Router, @Inject(DOCUMENT,) private document: any, private element : ElementRef, public location: Location) {}
@HostListener('window:scroll', ['$event'])
hasScrolled() {
var st = window.pageYOffset;
// Make sure they scroll more than delta
if(Math.abs(lastScrollTop - st) <= delta)
return;
var navbar = document.getElementsByTagName('nav')[0];
// If they scrolled down and are past the navbar, add class .headroom--unpinned.
// This is necessary so you never see what is "behind" the navbar.
if (st > lastScrollTop && st > navbarHeight){
// Scroll Down
if (navbar.classList.contains('headroom--pinned')) {
navbar.classList.remove('headroom--pinned');
navbar.classList.add('headroom--unpinned');
}
// $('.navbar.headroom--pinned').removeClass('headroom--pinned').addClass('headroom--unpinned');
} else {
// Scroll Up
// $(window).height()
if(st + window.innerHeight < document.body.scrollHeight) {
// $('.navbar.headroom--unpinned').removeClass('headroom--unpinned').addClass('headroom--pinned');
if (navbar.classList.contains('headroom--unpinned')) {
navbar.classList.remove('headroom--unpinned');
navbar.classList.add('headroom--pinned');
}
}
}
lastScrollTop = st;
};
ngOnInit() {
var navbar : HTMLElement = this.element.nativeElement.children[0].children[0];
this._router = this.router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe((event: NavigationEnd) => {
if (window.outerWidth > 991) {
window.document.children[0].scrollTop = 0;
}else{
window.document.activeElement.scrollTop = 0;
}
this.renderer.listen('window', 'scroll', (event) => {
const number = window.scrollY;
if (number > 150 || window.pageYOffset > 150) {
// add logic
navbar.classList.add('headroom--not-top');
} else {
// remove logic
navbar.classList.remove('headroom--not-top');
}
});
});
this.hasScrolled();
}
}
Loading