Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
5536f19
Initalised
AlayAp Apr 6, 2023
27e4201
LIBS Added
AlayAp Apr 6, 2023
caec5f7
Appcomponent TESTS completed
keyurboss Apr 6, 2023
e7ce0a1
.
keyurboss Apr 6, 2023
846f2f7
Merge branch 'main' of https://github.com/rpsoftech/SharedBullion int…
AlayAp Apr 6, 2023
7cbc0a1
add eye svg and run yarn
AlayAp Apr 6, 2023
84a16e1
Merge branch 'feat/shiv-bull-clone' of https://github.com/rpsoftech/S…
AlayAp Apr 6, 2023
4c3229d
6/4/23
AlayAp Apr 6, 2023
da15495
nevigation in footer with eventemiter
AlayAp Apr 7, 2023
7cecadc
change in input type on click on svg
AlayAp Apr 7, 2023
d980564
responsive bankdetalis page
AlayAp Apr 10, 2023
0cef9f1
add table7
AlayAp Apr 10, 2023
efd71e7
doubleclick tpo oprn login
AlayAp Apr 10, 2023
df7e24f
adding ifrem and calculating
AlayAp Apr 11, 2023
c3a988b
setting hight of eco_calander
AlayAp Apr 11, 2023
90cb64c
chage one routerlink
AlayAp Apr 11, 2023
d8a6fe6
responsive contact_us
AlayAp Apr 11, 2023
cbf6efe
responsiv_ loginform
AlayAp Apr 11, 2023
b3404a9
add varible for link to doenload app from playstor and appstore
AlayAp Apr 11, 2023
fd4ec59
padding to all routeroutlet and learn about services
AlayAp Apr 12, 2023
8f0ef5d
VALIDATING_number of decimal with pipe in ratetable-7
AlayAp Apr 17, 2023
9dfc777
17/4/23
AlayAp Apr 17, 2023
47f67e2
tost massege on copy button
AlayAp Apr 17, 2023
534382f
add style to popup div and apply css to button
AlayAp Apr 18, 2023
c273496
123
AlayAp Apr 18, 2023
2ec20fa
nothing
AlayAp Apr 19, 2023
8567e4a
copy button
PrathamPatel232 Apr 19, 2023
0ff5026
Merge branch 'main' of https://github.com/rpsoftech/SharedBullion int…
AlayAp Apr 19, 2023
687c833
adding cdk clipboard
AlayAp Apr 19, 2023
9355ec4
123
AlayAp Apr 19, 2023
aa79188
Merge branch 'main' of https://github.com/rpsoftech/SharedBullion int…
AlayAp Apr 20, 2023
ed674a1
nothing
AlayAp Apr 20, 2023
8bebf36
commenticg some lines
AlayAp Apr 23, 2023
c41bd32
add json server and validet the login id and password
AlayAp Apr 26, 2023
8bc777c
adding localstorge for remenbring the user
AlayAp Apr 27, 2023
0d46d00
condition added
AlayAp Apr 27, 2023
d0dd36a
use login storege for remember the user
AlayAp Apr 28, 2023
6b4d60f
guard apply
AlayAp Apr 28, 2023
2249143
Merge branch 'main' of https://github.com/rpsoftech/SharedBullion int…
keyurboss May 19, 2023
550b4e9
nothing
AlayAp May 22, 2023
59e7963
Merge branch 'feat/shiv-bull-clone' of https://github.com/rpsoftech/S…
AlayAp May 22, 2023
b2e8740
Merge branch 'main'
AlayAp May 24, 2023
ac9b8ed
live rate tables set
AlayAp May 26, 2023
843d7a6
29/5/23
AlayAp May 29, 2023
e19a92c
monday table test commit
AlayAp May 29, 2023
f91e347
Merge branch 'main' of https://github.com/rpsoftech/SharedBullion int…
AlayAp May 29, 2023
42e8b24
add test case
AlayAp May 30, 2023
84c8126
nothing
AlayAp May 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"eslint.validate": [
"json"
],
"angular.enable-strict-mode-prompt": false
"angular.enable-strict-mode-prompt": false,
"angular.log": "verbose"
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file modified .yarn/releases/yarn-3.5.1.cjs
100755 → 100644
Empty file.
36 changes: 36 additions & 0 deletions apps/shiv-bull-clone/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["*.ts"],
"rules": {
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "shivBullApp",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "shiv-bull-app",
"style": "kebab-case"
}
]
},
"extends": [
"plugin:@nrwl/nx/angular",
"plugin:@angular-eslint/template/process-inline-templates"
]
},
{
"files": ["*.html"],
"extends": ["plugin:@nrwl/nx/angular-template"],
"rules": {}
}
]
}
23 changes: 23 additions & 0 deletions apps/shiv-bull-clone/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/* eslint-disable */
export default {
displayName: 'shiv-bull-clone',
preset: '../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../coverage/apps/shiv-bull-clone',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
{
tsconfig: '<rootDir>/tsconfig.spec.json',
stringifyContentPathRegex: '\\.(html|svg)$',
},
],
},
transformIgnorePatterns: ['node_modules/(?!.*\\.mjs$)'],
snapshotSerializers: [
'jest-preset-angular/build/serializers/no-ng-attributes',
'jest-preset-angular/build/serializers/ng-snapshot',
'jest-preset-angular/build/serializers/html-comment',
],
};
100 changes: 100 additions & 0 deletions apps/shiv-bull-clone/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
{
"name": "shiv-bull-clone",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "apps/shiv-bull-clone/src",
"prefix": "shiv-bull-app",
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/apps/shiv-bull-clone",
"index": "apps/shiv-bull-clone/src/index.html",
"main": "apps/shiv-bull-clone/src/main.ts",
"polyfills": ["zone.js"],
"tsConfig": "apps/shiv-bull-clone/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"apps/shiv-bull-clone/src/favicon.ico",
"apps/shiv-bull-clone/src/assets"
],
"styles": ["apps/shiv-bull-clone/src/styles.scss"],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"executor": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "shiv-bull-clone:build:production"
},
"development": {
"browserTarget": "shiv-bull-clone:build:development"
}
},
"defaultConfiguration": "development",
"options": {
"port": 5555,
"host": "0.0.0.0"
}
},
"extract-i18n": {
"executor": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "shiv-bull-clone:build"
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"apps/shiv-bull-clone/**/*.ts",
"apps/shiv-bull-clone/**/*.html"
]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/shiv-bull-clone/jest.config.ts",
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
}
}
},
"tags": []
}
22 changes: 22 additions & 0 deletions apps/shiv-bull-clone/src/app/about/about.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<div class="flex w-full justify-center text-16px pb-6">
<div class="flex flex-col w-[90%] px-4 mb-4">
<div class="header text-center font-bold text-[28px]">
<h2 class="text-[var(--primary-dark)]">ABOUT US</h2>
</div>
<div *ngFor="let item of data"
class="welcome philosopher mb-[10px] p-6 border-[var(--primary-dark)] rounded-[8px] border-2 bg-[var(--header-bg)]"
>


<h2 class="text-[24px] border-b-[1px] border-[#bc9039]">
{{item.tittle}}
</h2>
<hr class="w-[15%] max-w-[90px] border-[#bc9039] border-b-[2px] mb-6" />
<p *ngFor="let para of item.content" class="pb-1 mb-1">
{{para}}

</p>
</div>

</div>
</div>
5 changes: 5 additions & 0 deletions apps/shiv-bull-clone/src/app/about/about.component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@media screen and (max-width:768px) {
.welcome{
margin-bottom: 90px;
}
}
29 changes: 29 additions & 0 deletions apps/shiv-bull-clone/src/app/about/about.component.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { AboutComponent } from './about.component';

describe('AboutComponent', () => {
let component: AboutComponent;
let fixture: ComponentFixture<AboutComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [AboutComponent],
}).compileComponents();

fixture = TestBed.createComponent(AboutComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
it('first', () => {
expect(2+2).toBe(4);
});
it('second', () => {
expect(2+2).toBe(5);
});

});
46 changes: 46 additions & 0 deletions apps/shiv-bull-clone/src/app/about/about.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import { NgFor } from '@angular/common';
import { Component } from '@angular/core';

interface comments {
tittle: string;
content: string[];
}

@Component({
selector: 'shiv-bull-app-about',
standalone: true,
imports: [NgFor],
templateUrl: './about.component.html',
styleUrls: ['./about.component.scss'],
})
export class AboutComponent {
data: comments[] = [
{
tittle: 'WELCOME TO SHIV BULLION',
content: [
'Located in the beautiful city of Rajkot, SHIV BULLION is one of the biggest bullion dealers in the city. SHIV BULLION is also a direct importer of precious metals. It is a fast-growing organization with an excellent track record and reputation with suppliers all over the region and in the industry. ',
],
},
{
tittle: 'STRENGTH',
content: [
'We believe delivery on time and transparent trade policies have made it possible to achieve a prominent place in the industry over the years.',
'We have been focusing mainly on purity and commitment. The company’s continuous desire to serve its customers in the best possible way makes it the best among the rest. We’ve developed immense customer faith and value through our excellent service and high-quality products. We strive hard for constant development to enhance our customer service, and the long-term bond that we share with our customers has helped us reach new heights.',
'Our young, dynamic and qualified operation team delivers impeccable service to the clients. These factors drive our organization to succeed and have drawn hundreds of prestigious customers to put immense trust and faith in our business.',
],
},
{
tittle: 'VISION',
content: [
'Our company has vision of expanding its presence very soon in the refinery segment with the brand name SHIV BULLION. In order to serve you better and reach a wider network, we have focused to launch our outlets all over the region. ',
],
},
{
tittle: 'MANAGEMENT TEAM',
content: [
'Jaydeep Bhai – (Founder & Owner)',
'SHIV BULLION was founded by Jaydeep Bhai, who has been in this business for many years. The blend of his passion and experience in the Gold & Silver industry gave birth to the organization. ',
],
},
];
}
3 changes: 3 additions & 0 deletions apps/shiv-bull-clone/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="main-div">
<router-outlet></router-outlet>
</div>
6 changes: 6 additions & 0 deletions apps/shiv-bull-clone/src/app/app.component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.main-div {
background-image: url('../assets/images/backgroundimage_of_shivbullion.jpg');
width: 100%;
height: 100vh;
overflow: auto;
}
40 changes: 40 additions & 0 deletions apps/shiv-bull-clone/src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import { TestBed } from '@angular/core/testing';
import { AppComponent } from './app.component';
import { RouterTestingModule } from '@angular/router/testing';

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

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

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

it('should render Main Div', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.nativeElement as HTMLElement;
const MAinDiv = compiled.getElementsByClassName('main-div')
expect(MAinDiv).toHaveLength(1)
expect(MAinDiv[0]).toBeInstanceOf(HTMLElement)
});
it('should render Router Outlet', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.nativeElement as HTMLElement;
const RouterOutLet = compiled.querySelectorAll('router-outlet')
expect(RouterOutLet).toHaveLength(1)
expect(RouterOutLet[0]).toBeInstanceOf(HTMLElement)
});
});
16 changes: 16 additions & 0 deletions apps/shiv-bull-clone/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { FooterComponent } from './footer/footer.component';
import { HeaderComponent } from './header/header.component';
import { HttpClientModule } from '@angular/common/http';

@Component({
standalone: true,
imports: [HeaderComponent, FooterComponent, RouterOutlet,HttpClientModule],
selector: 'shiv-bull-app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
})
export class AppComponent {
title = 'shiv-bull-clone';
}
Loading