Oviya commited on
Commit ·
463dbc3
1
Parent(s): bc7457a
all update
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .editorconfigAdded+16
- .gitignoreAdded+44
- .vscode/extensions.jsonAdded+4
- .vscode/launch.jsonAdded+19
- .vscode/tasks.jsonAdded+42
- CHANGELOG.mdAdded+16
- Py-Detect.esprojAdded+16
- Py-Detect.esproj.userAdded+8
- Py-Detect.slnAdded+27
- Py-Detect.vbprojAdded+84
- angular.jsonAdded+106
- app.configAdded+25
- karma.conf.jsAdded+44
- obj/Debug/AngularProject1.esproj.CoreCompileInputs.cacheAdded
- obj/Debug/AngularProject1.esproj.FileListAbsolute.txtAdded+4
- obj/Debug/Py-Detect.esproj.CoreCompileInputs.cacheAdded
- obj/Debug/Py-Detect.esproj.FileListAbsolute.txtAdded+1
- obj/Debug/package.g.propsAdded+39
- obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cacheAdded
- obj/x86/Debug/Py-Detect.vbproj.AssemblyReference.cacheAdded
- obj/x86/Release/Py-Detect.vbproj.AssemblyReference.cacheAdded
- package-lock.jsonAdded
- package.jsonAdded+42
- postcss.config.jsAdded+6
- postcss.config.js.txtAdded
- src/app/app-routing.module.tsAdded+37
- src/app/app.component.cssAdded
- src/app/app.component.htmlAdded+5
- src/app/app.component.spec.tsAdded+27
- src/app/app.component.tsAdded+10
- src/app/app.module.tsAdded+38
- src/app/case-details-page/case-details-page.component.cssAdded+330
- src/app/case-details-page/case-details-page.component.htmlAdded+107
- src/app/case-details-page/case-details-page.component.spec.tsAdded+21
- src/app/case-details-page/case-details-page.component.tsAdded+40
- src/app/case-store.service.tsAdded+104
- src/app/homepage/homepage.component.cssAdded+1118
- src/app/homepage/homepage.component.htmlAdded+121
- src/app/homepage/homepage.component.spec.tsAdded+21
- src/app/homepage/homepage.component.tsAdded+59
- src/app/homepage/sign-in/sign-in.component.cssAdded+243
- src/app/homepage/sign-in/sign-in.component.htmlAdded+45
- src/app/homepage/sign-in/sign-in.component.spec.tsAdded+21
- src/app/homepage/sign-in/sign-in.component.tsAdded+55
- src/app/homepage/sign-in/sign-in.service.spec.tsAdded+16
- src/app/homepage/sign-in/sign-in.service.tsAdded+15
- src/app/homepage/sign-up/sign-up.component.cssAdded+245
- src/app/homepage/sign-up/sign-up.component.htmlAdded+98
- src/app/homepage/sign-up/sign-up.component.spec.tsAdded+21
- src/app/homepage/sign-up/sign-up.component.tsAdded+117
12345678910111213141516# Editor configuration, see https://editorconfig.orgroot = true
[*]charset = utf-8indent_style = spaceindent_size = 2insert_final_newline = truetrim_trailing_whitespace = true
[*.ts]quote_type = single
[*.md]max_line_length = offtrim_trailing_whitespace = false1234567891011121314151617181920212223242526272829303132333435363738394041424344# See http://help.github.com/ignore-files/ for more about ignoring files.
# Compiled output/dist/tmp/out-tsc/bazel-out
# Node/node_modulesnpm-debug.logyarn-error.log
# IDEs and editors.idea/.project.classpath.c9/*.launch.settings/*.sublime-workspace
# Visual Studio Code.vscode/*!.vscode/settings.json!.vscode/tasks.json!.vscode/launch.json!.vscode/extensions.json.history/*.vs
# Miscellaneous/.angular/cache.sass-cache//connect.lock/coverage/libpeerconnection.logtestem.log/typings
# System files.DS_StoreThumbs.db.vs1234{ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846 "recommendations": ["angular.ng-template"]}12345678910111213141516171819{ "version": "0.2.0", "configurations": [ { "type": "edge", "request": "launch", "name": "localhost (Edge)", "url": "http://localhost:51272", "webRoot": "${workspaceFolder}" }, { "type": "chrome", "request": "launch", "name": "localhost (Chrome)", "url": "http://localhost:51272", "webRoot": "${workspaceFolder}" } ]}123456789101112131415161718192021222324252627282930313233343536373839404142{ // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558 "version": "2.0.0", "tasks": [ { "type": "npm", "script": "start", "isBackground": true, "problemMatcher": { "owner": "typescript", "pattern": "$tsc", "background": { "activeOnStart": true, "beginsPattern": { "regexp": "(.*?)" }, "endsPattern": { "regexp": "bundle generation complete" } } } }, { "type": "npm", "script": "test", "isBackground": true, "problemMatcher": { "owner": "typescript", "pattern": "$tsc", "background": { "activeOnStart": true, "beginsPattern": { "regexp": "(.*?)" }, "endsPattern": { "regexp": "bundle generation complete" } } } } ]}12345678910111213141516This file explains how Visual Studio created the project.
The following tools were used to generate this project:- Angular CLI (ng)
The following steps were used to generate this project:- Create Angular project with ng: `ng new PyDetect --defaults --skip-install --skip-git `.- Update angular.json with port.- Create project file (`AngularProject1.esproj`).- Create `launch.json` to enable debugging.- Update package.json to add `jest-editor-support`.- Update `start` script in `package.json` to specify host.- Add `karma.conf.js` for unit tests.- Update `angular.json` to point to `karma.conf.js`.- Add project to solution.- Write this file.12345678910111213141516<Project Sdk="Microsoft.VisualStudio.JavaScript.Sdk/1.0.2752196"> <PropertyGroup> <StartupCommand>npm start</StartupCommand> <JavaScriptTestFramework>Jasmine</JavaScriptTestFramework> <!-- Allows the build (or compile) script located on package.json to run on Build --> <ShouldRunBuildScript>false</ShouldRunBuildScript> <!-- Folder where production build objects will be placed --> <BuildOutputFolder>$(MSBuildProjectDirectory)\dist\Py-Detect\</BuildOutputFolder> </PropertyGroup> <ItemGroup> <None Remove="postcss.config.js.txt" /> </ItemGroup> <ItemGroup> <None Include="Py-Detect.esproj" /> </ItemGroup></Project>12345678<?xml version="1.0" encoding="utf-8"?><Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <DebuggerFlavor>LaunchJsonDebugger</DebuggerFlavor> <LaunchJsonTarget> </LaunchJsonTarget> </PropertyGroup></Project>123456789101112131415161718192021222324252627Microsoft Visual Studio Solution File, Format Version 12.00# Visual Studio Version 17VisualStudioVersion = 17.14.36414.22 d17.14MinimumVisualStudioVersion = 10.0.40219.1Project("{54A90642-561A-4BB1-A94E-469ADEE60C69}") = "Py-Detect", "Py-Detect.esproj", "{83D35911-4668-16FC-F96B-AF2EBA027839}"EndProjectGlobal GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {83D35911-4668-16FC-F96B-AF2EBA027839}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {83D35911-4668-16FC-F96B-AF2EBA027839}.Debug|Any CPU.Build.0 = Debug|Any CPU {83D35911-4668-16FC-F96B-AF2EBA027839}.Debug|Any CPU.Deploy.0 = Debug|Any CPU {83D35911-4668-16FC-F96B-AF2EBA027839}.Release|Any CPU.ActiveCfg = Release|Any CPU {83D35911-4668-16FC-F96B-AF2EBA027839}.Release|Any CPU.Build.0 = Release|Any CPU {83D35911-4668-16FC-F96B-AF2EBA027839}.Release|Any CPU.Deploy.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {B10E018F-46C2-409C-8CB2-631740B0CB75} EndGlobalSectionEndGlobal123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384<?xml version="1.0" encoding="utf-8"?><Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">x86</Platform> <ProjectGuid>{B0E7CDD1-5D44-4320-BCBC-D63ACCC09351}</ProjectGuid> <OutputType>Exe</OutputType> <StartupObject> </StartupObject> <RootNamespace> </RootNamespace> <AssemblyName>ConsoleApplication</AssemblyName> <FileAlignment>512</FileAlignment> <MyType>Console</MyType> <TargetFrameworkVersion>v4.8</TargetFrameworkVersion> <TargetFrameworkProfile> </TargetFrameworkProfile> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <DefineDebug>true</DefineDebug> <DefineTrace>true</DefineTrace> <OutputPath>bin\Debug\</OutputPath> <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn> <PlatformTarget>x86</PlatformTarget> <Prefer32Bit>false</Prefer32Bit> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> <DebugType>pdbonly</DebugType> <DefineDebug>false</DefineDebug> <DefineTrace>true</DefineTrace> <Optimize>true</Optimize> <OutputPath>bin\Release\</OutputPath> <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn> <PlatformTarget>x86</PlatformTarget> <Prefer32Bit>false</Prefer32Bit> </PropertyGroup> <PropertyGroup> <OptionExplicit>On</OptionExplicit> </PropertyGroup> <PropertyGroup> <OptionCompare>Binary</OptionCompare> </PropertyGroup> <PropertyGroup> <OptionStrict>Off</OptionStrict> </PropertyGroup> <PropertyGroup> <OptionInfer>On</OptionInfer> </PropertyGroup> <ItemGroup> <Reference Include="System" /> <Reference Include="System.Data" /> <Reference Include="System.Deployment" /> <Reference Include="System.Xml" /> <Reference Include="System.Core" /> <Reference Include="System.Xml.Linq" /> <Reference Include="System.Data.DataSetExtensions" /> </ItemGroup> <ItemGroup> <Import Include="Microsoft.VisualBasic" /> <Import Include="System" /> <Import Include="System.Collections" /> <Import Include="System.Collections.Generic" /> <Import Include="System.Data" /> <Import Include="System.Diagnostics" /> <Import Include="System.Linq" /> <Import Include="System.Xml.Linq" /> </ItemGroup> <ItemGroup> <None Include="app.config" /> </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.Targets" /> <ProjectExtensions> <VisualStudio AllowExistingFolder="true" /> </ProjectExtensions> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. <Target Name="BeforeBuild"> </Target> <Target Name="AfterBuild"> </Target> --></Project>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "PyDetect": { "projectType": "application", "schematics": {}, "root": "", "sourceRoot": "src", "prefix": "app", "architect": { "build": { "builder": "@angular-devkit/build-angular:browser", "options": { "outputPath": "dist/py-detect", "index": "src/index.html", "main": "src/main.ts", "polyfills": [ "zone.js" ], "tsConfig": "tsconfig.app.json", "assets": [ "src/favicon.ico", "src/assets" ], "styles": [ "src/styles.css" ], "scripts": [] }, "configurations": { "production": { "budgets": [ { "type": "initial", "maximumWarning": "500kb", "maximumError": "1mb" }, { "type": "anyComponentStyle", "maximumWarning": "20kb", "maximumError": "20kb" } ], "outputHashing": "all" },
"development": { "buildOptimizer": false, "optimization": false, "vendorChunk": true, "extractLicenses": false, "sourceMap": true, "namedChunks": true } }, "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { "browserTarget": "PyDetect:build:production" }, "development": { "browserTarget": "PyDetect:build:development" } }, "defaultConfiguration": "development", "options": { "port": 51272 } }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { "browserTarget": "PyDetect:build" } }, "test": { "builder": "@angular-devkit/build-angular:karma", "options": { "polyfills": [ "zone.js", "zone.js/testing" ], "tsConfig": "tsconfig.spec.json", "assets": [ "src/favicon.ico", "src/assets" ], "styles": [ "src/styles.css" ], "scripts": [], "karmaConfig": "karma.conf.js" } } } } }, "cli": { "analytics": "26ed0fe9-fe22-459c-80d4-3f1e393fedc1" }}12345678910111213141516171819202122232425<?xml version="1.0" encoding="utf-8"?><configuration>
<system.diagnostics> <sources> <!-- This section defines the logging configuration for My.Application.Log --> <source name="DefaultSource" switchName="DefaultSwitch"> <listeners> <add name="FileLog"/> <!-- Uncomment the below section to write to the Application Event Log --> <!--<add name="EventLog"/>--> </listeners> </source> </sources> <switches> <add name="DefaultSwitch" value="Information"/> </switches> <sharedListeners> <add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter"/> <!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log --> <!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> --> </sharedListeners> </system.diagnostics>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>1234567891011121314151617181920212223242526272829303132333435363738394041424344module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), require('karma-chrome-launcher'), require('karma-jasmine-html-reporter'), require('karma-coverage'), require('@angular-devkit/build-angular/plugins/karma') ], client: { jasmine: { // you can add configuration options for Jasmine here // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html // for example, you can disable the random execution with `random: false` // or set a specific seed with `seed: 4321` }, clearContext: false // leave Jasmine Spec Runner output visible in browser }, jasmineHtmlReporter: { suppressAll: true // removes the duplicated traces }, coverageReporter: { dir: require('path').join(__dirname, './coverage/'), subdir: '.', reporters: [ { type: 'html' }, { type: 'text-summary' } ] }, reporters: ['progress', 'kjhtml'], port: 9876, colors: true, logLevel: config.LOG_INFO, autoWatch: true, browsers: ['Chrome'], singleRun: false, restartOnFileChange: true, listenAddress: 'localhost', hostname: 'localhost' });};
1234C:\Users\Admin\Desktop\AngularProject1\obj\Debug\AngularProject1.esproj.CoreCompileInputs.cacheC:\Users\Admin\Desktop\AngularProject1\AngularProject1\obj\Debug\AngularProject1.esproj.CoreCompileInputs.cacheC:\Users\Admin\Desktop\AngularProject1\PyDetect\obj\Debug\AngularProject1.esproj.CoreCompileInputs.cacheC:\Users\Admin\Desktop\AngularProject1\Py-Detect\obj\Debug\AngularProject1.esproj.CoreCompileInputs.cache1C:\Users\Admin\Desktop\Py-Detect\obj\Debug\Py-Detect.esproj.CoreCompileInputs.cache123456789101112131415161718192021222324252627282930313233343536373839<?xml version="1.0" encoding="utf-8"?><Project> <PropertyGroup> <PackageJsonName Condition="$(PackageJsonName) == ''">Py-Detect</PackageJsonName> <PackageJsonVersion Condition="$(PackageJsonVersion) == ''">0.0.0</PackageJsonVersion> <PackageJsonScriptsNg Condition="$(PackageJsonScriptsNg) == ''">ng</PackageJsonScriptsNg> <PackageJsonScriptsStart Condition="$(PackageJsonScriptsStart) == ''">ng serve --host=127.0.0.1</PackageJsonScriptsStart> <PackageJsonScriptsBuild Condition="$(PackageJsonScriptsBuild) == ''">ng build</PackageJsonScriptsBuild> <PackageJsonScriptsWatch Condition="$(PackageJsonScriptsWatch) == ''">ng build --watch --configuration development</PackageJsonScriptsWatch> <PackageJsonScriptsTest Condition="$(PackageJsonScriptsTest) == ''">ng test</PackageJsonScriptsTest> <PackageJsonPrivate Condition="$(PackageJsonPrivate) == ''">true</PackageJsonPrivate> <PackageJsonDependenciesAngularAnimations Condition="$(PackageJsonDependenciesAngularAnimations) == ''">^16.1.0</PackageJsonDependenciesAngularAnimations> <PackageJsonDependenciesAngularCommon Condition="$(PackageJsonDependenciesAngularCommon) == ''">^16.1.0</PackageJsonDependenciesAngularCommon> <PackageJsonDependenciesAngularCompiler Condition="$(PackageJsonDependenciesAngularCompiler) == ''">^16.1.0</PackageJsonDependenciesAngularCompiler> <PackageJsonDependenciesAngularCore Condition="$(PackageJsonDependenciesAngularCore) == ''">^16.1.0</PackageJsonDependenciesAngularCore> <PackageJsonDependenciesAngularForms Condition="$(PackageJsonDependenciesAngularForms) == ''">^16.1.0</PackageJsonDependenciesAngularForms> <PackageJsonDependenciesAngularPlatformBrowser Condition="$(PackageJsonDependenciesAngularPlatformBrowser) == ''">^16.1.0</PackageJsonDependenciesAngularPlatformBrowser> <PackageJsonDependenciesAngularPlatformBrowserDynamic Condition="$(PackageJsonDependenciesAngularPlatformBrowserDynamic) == ''">^16.1.0</PackageJsonDependenciesAngularPlatformBrowserDynamic> <PackageJsonDependenciesAngularRouter Condition="$(PackageJsonDependenciesAngularRouter) == ''">^16.1.0</PackageJsonDependenciesAngularRouter> <PackageJsonDependenciesJestEditorSupport Condition="$(PackageJsonDependenciesJestEditorSupport) == ''">*</PackageJsonDependenciesJestEditorSupport> <PackageJsonDependenciesRxjs Condition="$(PackageJsonDependenciesRxjs) == ''">~7.8.0</PackageJsonDependenciesRxjs> <PackageJsonDependenciesTslib Condition="$(PackageJsonDependenciesTslib) == ''">^2.3.0</PackageJsonDependenciesTslib> <PackageJsonDependenciesZoneJs Condition="$(PackageJsonDependenciesZoneJs) == ''">~0.13.0</PackageJsonDependenciesZoneJs> <PackageJsonDevdependenciesAngularDevkitBuildAngular Condition="$(PackageJsonDevdependenciesAngularDevkitBuildAngular) == ''">^16.1.0</PackageJsonDevdependenciesAngularDevkitBuildAngular> <PackageJsonDevdependenciesAngularCli Condition="$(PackageJsonDevdependenciesAngularCli) == ''">~16.1.0</PackageJsonDevdependenciesAngularCli> <PackageJsonDevdependenciesAngularCompilerCli Condition="$(PackageJsonDevdependenciesAngularCompilerCli) == ''">^16.1.0</PackageJsonDevdependenciesAngularCompilerCli> <PackageJsonDevdependenciesTypesJasmine Condition="$(PackageJsonDevdependenciesTypesJasmine) == ''">~4.3.0</PackageJsonDevdependenciesTypesJasmine> <PackageJsonDevdependenciesAutoprefixer Condition="$(PackageJsonDevdependenciesAutoprefixer) == ''">^10.4.21</PackageJsonDevdependenciesAutoprefixer> <PackageJsonDevdependenciesJasmineCore Condition="$(PackageJsonDevdependenciesJasmineCore) == ''">~4.6.0</PackageJsonDevdependenciesJasmineCore> <PackageJsonDevdependenciesKarma Condition="$(PackageJsonDevdependenciesKarma) == ''">~6.4.0</PackageJsonDevdependenciesKarma> <PackageJsonDevdependenciesKarmaChromeLauncher Condition="$(PackageJsonDevdependenciesKarmaChromeLauncher) == ''">~3.2.0</PackageJsonDevdependenciesKarmaChromeLauncher> <PackageJsonDevdependenciesKarmaCoverage Condition="$(PackageJsonDevdependenciesKarmaCoverage) == ''">~2.2.0</PackageJsonDevdependenciesKarmaCoverage> <PackageJsonDevdependenciesKarmaJasmine Condition="$(PackageJsonDevdependenciesKarmaJasmine) == ''">~5.1.0</PackageJsonDevdependenciesKarmaJasmine> <PackageJsonDevdependenciesKarmaJasmineHtmlReporter Condition="$(PackageJsonDevdependenciesKarmaJasmineHtmlReporter) == ''">~2.1.0</PackageJsonDevdependenciesKarmaJasmineHtmlReporter> <PackageJsonDevdependenciesPostcss Condition="$(PackageJsonDevdependenciesPostcss) == ''">^8.5.6</PackageJsonDevdependenciesPostcss> <PackageJsonDevdependenciesTailwindcss Condition="$(PackageJsonDevdependenciesTailwindcss) == ''">^3.4.17</PackageJsonDevdependenciesTailwindcss> <PackageJsonDevdependenciesTypescript Condition="$(PackageJsonDevdependenciesTypescript) == ''">~5.1.3</PackageJsonDevdependenciesTypescript> </PropertyGroup></Project>123456789101112131415161718192021222324252627282930313233343536373839404142{ "name": "Py-Detect", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve --host=127.0.0.1", "build": "ng build", "watch": "ng build --watch --configuration development", "test": "ng test" }, "private": true, "dependencies": { "@angular/animations": "^16.1.0", "@angular/common": "^16.1.0", "@angular/compiler": "^16.1.0", "@angular/core": "^16.1.0", "@angular/forms": "^16.1.0", "@angular/platform-browser": "^16.1.0", "@angular/platform-browser-dynamic": "^16.1.0", "@angular/router": "^16.1.0", "jest-editor-support": "*", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.13.0" }, "devDependencies": { "@angular-devkit/build-angular": "^16.1.0", "@angular/cli": "~16.1.0", "@angular/compiler-cli": "^16.1.0", "@types/jasmine": "~4.3.0", "autoprefixer": "^10.4.21", "jasmine-core": "~4.6.0", "karma": "~6.4.0", "karma-chrome-launcher": "~3.2.0", "karma-coverage": "~2.2.0", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", "postcss": "^8.5.6", "tailwindcss": "^3.4.17", "typescript": "~5.1.3" }}123456module.exports = { plugins: { tailwindcss: {}, autoprefixer: {}, },}12345678910111213141516171819202122232425262728293031323334353637import { NgModule } from '@angular/core';import { RouterModule, Routes } from '@angular/router';import { HomepageComponent } from './homepage/homepage.component';import { PyDetectComponent } from './py-detect/py-detect.component';import { InfopageComponent } from './infopage/infopage.component';import { ValidationpageComponent } from './validationpage/validationpage.component';import { RecordpageComponent } from './recordpage/recordpage.component';import { CaseDetailsPageComponent } from './case-details-page/case-details-page.component';
const routes: Routes = [ { path: '', component: HomepageComponent }, { path: 'infopage', component: InfopageComponent }, { path: 'infopage/:id', component: InfopageComponent }, { path: 'py-detect', component: PyDetectComponent }, { path: 'validationpage', component: ValidationpageComponent }, { path: 'record', component: RecordpageComponent }, { path: 'case-details', component: CaseDetailsPageComponent }, { path: 'case-details/:id', component: CaseDetailsPageComponent },
{ path: 'auth/signin', loadComponent: () => import('./homepage/sign-in/sign-in.component').then(m => m.SignInComponent) }, { path: 'auth/signup', loadComponent: () => import('./homepage/sign-up/sign-up.component').then(m => m.SignUpComponent) },
{ path: '**', redirectTo: '' }];
@NgModule({ imports: [RouterModule.forRoot(routes)], exports: [RouterModule]})export class AppRoutingModule { }
12345<!--<app-sample></app-sample>--><router-outlet></router-outlet>
123456789101112131415161718192021222324252627import { TestBed } from '@angular/core/testing';import { AppComponent } from './app.component';
describe('AppComponent', () => { beforeEach(() => TestBed.configureTestingModule({ declarations: [AppComponent] }));
it('should create the app', () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.componentInstance; expect(app).toBeTruthy(); });
it(`should have as title 'PyDetect'`, () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.componentInstance; expect(app.title).toEqual('PyDetect'); });
it('should render title', () => { const fixture = TestBed.createComponent(AppComponent); fixture.detectChanges(); const compiled = fixture.nativeElement as HTMLElement; expect(compiled.querySelector('.content span')?.textContent).toContain('PyDetect app is running!'); });});12345678910import { Component } from '@angular/core';
@Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css']})export class AppComponent { title = 'PyDetect';}1234567891011121314151617181920212223242526272829303132333435363738import { NgModule } from '@angular/core';import { BrowserModule } from '@angular/platform-browser';import { ReactiveFormsModule, FormsModule } from '@angular/forms';import { CommonModule } from '@angular/common';import { HttpClientModule } from '@angular/common/http';import { AppComponent } from './app.component';import { InfopageComponent } from './infopage/infopage.component';import { AppRoutingModule } from './app-routing.module';import { ValidationpageComponent } from './validationpage/validationpage.component';import { SignInComponent } from './homepage/sign-in/sign-in.component';import { SignUpComponent } from './homepage/sign-up/sign-up.component';import { RecordpageComponent } from './recordpage/recordpage.component';import { HomepageComponent } from './homepage/homepage.component';import { CaseDetailsPageComponent } from './case-details-page/case-details-page.component';
@NgModule({ declarations: [ AppComponent, InfopageComponent, ValidationpageComponent, RecordpageComponent, CaseDetailsPageComponent ], imports: [ BrowserModule, ReactiveFormsModule, FormsModule, CommonModule, AppRoutingModule, HttpClientModule, HomepageComponent, SignInComponent, SignUpComponent ], providers: [], bootstrap: [AppComponent]})export class AppModule { }123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330@import '../recordpage/recordpage.component.css';
.case-details-list { width: 100%; max-width: 1700px; margin: 0 auto; background: #fff; border-radius: 8px; box-shadow: 0 4px 32px rgba(30,41,59,0.12); padding: 32px 48px;}
.case-details-item { border-bottom: 1px solid #edf2f7; padding: 24px 0;}
.case-details-item:last-child { border-bottom: none;}
h2 { color: #38bdf8; font-size: 2.1rem; font-weight: 800; margin-bottom: 32px; text-align: center;}
h3 { color: #23272b; font-size: 1.2rem; font-weight: 700; margin-bottom: 12px;}
p { margin: 4px 0; color: #334155;}
hr { margin: 24px 0 0 0; border: none; border-top: 1px solid #e2e8f0;}
.welcome-user { position: absolute; top: 24px; left: 32px; font-size: 1.1rem; color: #ffffff; font-weight: 600; z-index: 2;}
.welcome-user-fixed { position: absolute; top: 24px; left: 32px; font-size: 1.1rem; color: #334155; font-weight: 600; z-index: 2;}
.page-title-centered { text-align: center; margin-top: 24px; font-size: 2.1rem; font-weight: 800; color: #38bdf8;}
.wrapper.records-center { position: relative;}
.welcome-left { text-align: left; font-size: 2.1rem; font-weight: 800; color: #38bdf8; margin-bottom: 32px; margin-top: 0;}
.table-wrap { position: relative;}
.welcome-left { font-size: 2.1rem; font-weight: 800; color: #38bdf8; margin-bottom: 16px; text-align: left; position: relative; right: 32vw;}
.modal-case-details { background: #f8fbfd; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.25); padding: 0; max-width: 540px; min-width: 340px;}
.modal-header-case { background: #f5fafd; border-bottom: 1px solid #e2e8f0; padding: 24px 24px 12px 24px;}
.modal-header-case h2 { font-size: 1.6rem; font-weight: 800; color: #23272b; margin: 0;}
.modal-body-case { padding: 18px 24px 8px 24px; background: #f8fbfd;}
.modal-footer-case { background: #f5fafd; border-top: 1px solid #e2e8f0; padding: 16px 24px; text-align: left;}
.detail-row { display: grid; grid-template-columns: 160px 1fr; gap: 8px; padding: 6px 0; color: #334155;}
.detail-row span { color: #64748b; font-weight: 500;}
.detail-row b { color: #23272b; font-weight: 500;}
.bold-value { font-weight: 700 !important; color: #23272b !important;}
.detail-block .label { font-weight: 700; margin-bottom: 6px; color: #23272b;}
hr { margin: 18px 0 12px 0; border: none; border-top: 1px solid #e2e8f0;}
/* Modal for case details (match record page style) */.modal-blur-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1000;}
.modal { background: #fefefe; border-radius: 8px; box-shadow: 0 4px 32px rgba(30, 41, 59, 0.12); overflow: hidden; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1001; width: 90%; max-width: 600px; display: flex; flex-direction: column; animation: fadeIn 0.3s ease-out;}
.modal-header { background: #f5fafd; border-bottom: 1px solid #e2e8f0; padding: 16px; display: flex; justify-content: space-between; align-items: center;}
.modal-header h2 { font-size: 1.4rem; font-weight: 700; margin: 0; color: #23272b;}
.modal-body { padding: 16px; background: #fff; flex: 1; overflow-y: auto;}
.modal-footer { background: #f5fafd; border-top: 1px solid #e2e8f0; padding: 12px; text-align: right;}
.btn { background: #38bdf8; color: #fff; padding: 10px 20px; border: none; border-radius: 4px; font-size: 1rem; cursor: pointer; transition: background 0.3s;}
.btn:hover { background: #34b3e0;}
@keyframes fadeIn { from { opacity: 0; transform: translate(-50%, -48%); } to { opacity: 1; transform: translate(-50%, -50%); }}
.active-cases-label { font-size: 1.8rem; font-weight: 800; color: #38bdf8; margin-bottom: 16px; position: relative; text-align: left;}
.actions { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 16px; flex-wrap: nowrap; width: 100%;}
.actions .btn { min-width: 150px; max-width: 200px; padding: 12px 20px; font-size: 1.08rem; white-space: nowrap; border-radius: 8px; box-sizing: border-box; overflow: visible; text-overflow: unset; margin: 0 2px;}
.actions-col { text-align: center; vertical-align: middle;}
.records th.actions-col,.records td.actions { width: 28% !important; min-width: 260px; max-width: 320px;}
@media (max-width: 700px) { .actions .btn { min-width: 120px; max-width: 160px; font-size: 1rem; padding: 8px 10px; } .records th.actions-col, .records td.actions { min-width: 140px; max-width: 180px; width: 36% !important; }}
/* Make all table columns equal width */.records { table-layout: fixed; width: 100%;}.records th,.records td { width: 16.66%; /* 6 columns, 100/6 = 16.66% */ text-align: center; vertical-align: middle; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107<div class="searchbar-topright"> <form class="modern-searchbar-form compact white-bg"> <span class="modern-searchbar-icon"> <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#64748b" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"> <circle cx="11" cy="11" r="8"/> <line x1="21" y1="21" x2="16.65" y2="16.65"/> </svg> </span> <input type="text" class="modern-searchbar-input white-bg" placeholder="Search... (not active)" autocomplete="off" /> </form></div>
<div class="logo-title-row"> <img src="/assets/pykara-logo.png" alt="PyDetect Logo" class="logo-img" style="cursor:pointer;" (click)="navigateHome()" /> <div class="py-detect-title"> <span class="py-letter p">P</span> <span class="py-letter y">Y</span> <span class="py-shape"></span> <span class="py-letter d">D</span> <span class="py-letter e">E</span> <span class="py-letter t">T</span> <span class="py-letter e2">E</span> <span class="py-letter c">C</span> <span class="py-letter t2">T</span> </div></div>
<div style="height:128px;"></div>
<main class="content" role="main"> <div class="wrapper records-center"> <div class="welcome-left">Welcome User 👮</div> <div *ngIf="username" class="welcome-user">Welcome, {{ username }}👮</div> <div class="active-cases-label left-align"><b>Your Active Cases</b></div> <div class="table-wrap padded-table-wrap"> <table class="records"> <thead> <tr> <th>Case ID</th> <th>Crime</th> <th>Date & Time</th> <th>Location</th> <th>Status</th> <th class="actions-col">Actions</th> </tr> </thead> <tbody> <tr *ngFor="let c of cases"> <td class="mono">{{ c.caseId || '—' }}</td> <td>{{ c.crime || '—' }}</td> <td>{{ c.dateTime ? (c.dateTime | date:'yyyy-MM-dd HH:mm') : '—' }}</td> <td class="ellipsis" [title]="c.police.address || ''">{{ c.police.address || '—' }}</td> <td> <span class="status" [class.open]="c.status==='Open'" [class.under]="c.status==='Under Investigation'" [class.closed]="c.status==='Closed'"> {{ c.status || '—' }} </span> </td> <td class="actions"> <button type="button" class="btn view" (click)="openDetails(c)">View Details</button> <button type="button" class="btn edit" (click)="goToDetect()">Go Detect</button> </td> </tr> <tr *ngIf="cases.length === 0"> <td colspan="6" class="empty">No records found.</td> </tr> </tbody> </table> </div>
<!-- Modal for case details --> <!-- ...existing code above... --> <!-- Modal for case details --> <!-- ...existing code above... --> <!-- Modal for case details (match record page style) --> <div class="modal-blur-overlay" *ngIf="showDetails"></div> <div class="modal" *ngIf="showDetails" role="dialog" aria-modal="true" aria-labelledby="detailsTitle"> <div class="modal-header"> <h2 id="detailsTitle">Case Details</h2> </div> <div class="modal-body" *ngIf="selectedCase as sc"> <div class="detail-row"><span>Case ID</span><b>{{ sc.caseId || '—' }}</b></div> <div class="detail-row"><span>Crime</span><b>{{ sc.crime || '—' }}</b></div> <div class="detail-row"><span>Date & Time</span><b>{{ sc.dateTime ? (sc.dateTime | date:'yyyy-MM-dd HH:mm') : '—' }}</b></div> <div class="detail-row"><span>Location</span><b>{{ sc.police.address || '—' }}</b></div> <hr /> <div class="detail-row"><span>Investigation Officer</span><b>{{ sc.police.name || '—' }}</b></div> <div class="detail-row"><span>Duty Person</span><b>{{ sc.police.dutyPerson || '—' }}</b></div> <div class="detail-row"><span>Mode of Crime</span><b>{{ sc.police.modeOfCrime || '—' }}</b></div> <hr /> <div class="detail-row"><span>Accused Name</span><b>{{ sc.accused.name || '—' }}</b></div> <div class="detail-row"><span>Accused Gender</span><b>{{ sc.accused.gender || '—' }}</b></div> <div class="detail-row"><span>Accused Age</span><b>{{ sc.accused.age || '—' }}</b></div> <div class="detail-row"><span>Accused Address</span><b>{{ sc.accused.address || '—' }}</b></div> <hr /> <div class="detail-block"> <div class="label">Notes / Explanation</div> <p class="explain">{{ sc.police.information || '—' }}</p> </div> </div> <div class="modal-footer"> <button type="button" class="btn" (click)="closeDetails()">Close</button> </div> </div>
123456789101112131415161718192021import { ComponentFixture, TestBed } from '@angular/core/testing';
import { CaseDetailsPageComponent } from './case-details-page.component';
describe('CaseDetailsPageComponent', () => { let component: CaseDetailsPageComponent; let fixture: ComponentFixture<CaseDetailsPageComponent>;
beforeEach(() => { TestBed.configureTestingModule({ declarations: [CaseDetailsPageComponent] }); fixture = TestBed.createComponent(CaseDetailsPageComponent); component = fixture.componentInstance; fixture.detectChanges(); });
it('should create', () => { expect(component).toBeTruthy(); });});12345678910111213141516171819202122232425262728293031323334353637383940import { Component, OnInit } from '@angular/core';import { Router } from '@angular/router';import { CaseStoreService, PoliceCase } from '../shared/case-store.service';
@Component({ selector: 'app-case-details-page', templateUrl: './case-details-page.component.html', styleUrls: ['./case-details-page.component.css']})export class CaseDetailsPageComponent implements OnInit { cases: PoliceCase[] = []; showDetails = false; selectedCase: PoliceCase | null = null; username: string = '';
constructor(private caseStore: CaseStoreService, private router: Router) {}
ngOnInit(): void { this.cases = this.caseStore.getPoliceCases(); this.username = localStorage.getItem('username') || sessionStorage.getItem('username') || ''; }
openDetails(c: PoliceCase): void { this.selectedCase = c; this.showDetails = true; }
closeDetails(): void { this.showDetails = false; this.selectedCase = null; }
goToDetect(): void { window.location.href = '/py-detect'; }
navigateHome(): void { this.router.navigate(['/']); }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104import { Injectable } from '@angular/core';
export interface PoliceCase { // Optional metadata used by your UI caseId?: string; dateTime?: string; status?: 'Open' | 'Under Investigation' | 'Closed'; crime: string; police: { name: string; station: string; address: string; pincode: string; dutyPerson: string; modeOfCrime: string; information?: string; }; accused: { name: string; age: string | number; gender: string; address: string; occupation?: string; };}
@Injectable({ providedIn: 'root' })export class CaseStoreService { private readonly storageKey = 'py_detect_police_cases'; private cases: PoliceCase[] = [];
constructor() { this.load(); }
/** Create (newest first) */ addPoliceCase(c: PoliceCase): void { this.cases.unshift(c); this.save(); }
/** Read */ getPoliceCases(): PoliceCase[] { return this.cases; }
/** Update by array index */ updatePoliceCaseAt(index: number, updated: PoliceCase): void { if (index >= 0 && index < this.cases.length) { this.cases[index] = updated; this.save(); } }
/** * Convenience: map Info page reactive-form value to PoliceCase and store it. * Call with the whole this.form.value from InfopageComponent. */ addFromInfoForm(formValue: any): void { const crime = (formValue && formValue.crime) || {}; const suspect = (formValue && formValue.suspect) || {}; const notes = (formValue && formValue.notes) || {};
const mapped: PoliceCase = { caseId: crime.caseId || '', dateTime: crime.dateTime || '', status: notes.status || 'Open', crime: crime.crimeType || 'Unknown', police: { name: notes.officerInCharge || '—', station: '—', // not captured on Info page address: crime.location || '—', pincode: '', // not captured on Info page dutyPerson: notes.officerInCharge || '—', modeOfCrime: crime.crimeType || '—', information: notes.initialFindings || '' }, accused: { name: suspect.fullName || '—', age: suspect.age || '—', gender: suspect.gender || '—', address: suspect.address || '—', occupation: suspect.alias || '' } };
this.addPoliceCase(mapped); }
/** Persist to localStorage (safe to keep; remove if not needed) */ private save(): void { try { localStorage.setItem(this.storageKey, JSON.stringify(this.cases)); } catch { } }
/** Load from localStorage */ private load(): void { try { const raw = localStorage.getItem(this.storageKey); this.cases = raw ? (JSON.parse(raw) as PoliceCase[]) : []; } catch { this.cases = []; } }}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118body, html { margin: 0; padding: 0; font-family: 'Arial', 'Segoe UI', 'Roboto', sans-serif; background: url('/assets/background.jpg') no-repeat center center fixed !important; background-size: cover !important;}
.homepage-container { display: flex; flex-direction: row; height: 100vh; color: #e3f6ff; position: relative; align-items: center; /* Center content vertically */ justify-content: center; /* Center content horizontally */ background: url(/assets/py-detect-illustration.png) no-repeat center center fixed; background-size: cover;}
.left-section { flex: 1; display: flex; flex-direction: column; justify-content: center; /* Center vertically */ align-items: center; /* Center horizontally */ padding-left: 120px; /* Reduced from 240px to 120px */ padding-top: 0; position: relative;}
.topbar { display: flex; align-items: flex-start; height: 80px; padding-left: 0; width: 100%; position: absolute; top: 0; left: 0; z-index: 30;}
.logo { width: 120px; height: 120px; margin-left: 0; margin-top: 0; position: absolute; left: 0; top: 0; z-index: 40;}
.logo-fixed { position: fixed; top: 0; left: 0; width: 120px; height: 120px; z-index: 100; margin: 0;}
/* Add gap between logo and browser border */.logo-img { width: 6vw; height: 6vw; border-radius: 50%; box-shadow: 0 0 15px rgba(255, 255, 255, 0.8); position: fixed; top: 18px; /* Add gap from top */ left: 18px; /* Add gap from left */ z-index: 300; margin: 0;}
/* Move Py-Detect text further down by increasing top value of .logo-title-row */.logo-title-row { display: flex; flex-direction: row; align-items: center; position: absolute; top: 180px; /* Increased from 120px to move text further down */ left: 48px; z-index: 300; gap: 32px; justify-content: flex-start; width: 100%;}
.py-detect-title { position: fixed; margin-left: 132px; margin-top: -208px; text-align: left; font-size: 4vw; color: #38bdf8; font-family: 'Segoe UI', 'Arial', 'Roboto', sans-serif; font-weight: 900; letter-spacing: 6px; background: none; border: none; box-shadow: none; min-width: unset; max-width: unset;}
/* Py-Detect title: each letter with its own color */ .py-detect-title .py-letter.p { color: #e3f6ff; text-shadow: 0 0 6px #38bdf8; }
.py-detect-title .py-letter.y { color: #38bdf8; text-shadow: 0 0 6px #38bdf8; }
.py-detect-title .py-shape { color: #e3f6ff; background: #e3f6ff; text-shadow: 0 0 6px #38bdf8; box-shadow: 0 0 6px #38bdf8, 0 0 2px #fff; border: 2px solid #23272b; }
.py-detect-title .py-letter.d { color: #e3f6ff; text-shadow: 0 0 6px #38bdf8; }
.py-detect-title .py-letter.e { color: #38bdf8; text-shadow: 0 0 6px #38bdf8; }
.py-detect-title .py-letter.t { color: #e3f6ff; text-shadow: 0 0 6px #38bdf8; }
.py-detect-title .py-letter.e2 { color: #38bdf8; text-shadow: 0 0 6px #38bdf8; }
.py-detect-title .py-letter.c { color: #e3f6ff; text-shadow: 0 0 6px #38bdf8; }
.py-detect-title .py-letter.t2 { color: #38bdf8; text-shadow: 0 0 6px #38bdf8; }
.center-instructions { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 200; width: 100%; display: flex; justify-content: left; align-items: center;}
.detection-info { margin: 0 auto; max-width: 500px; background: rgba(30,41,59,0.85); border-radius: 12px; padding: 20px 28px; box-shadow: 0 2px 16px #1e293b44, 0 0 12px #38bdf844; font-size: 24px; color: #e3f6ff; font-weight: 500; line-height: 1.4; letter-spacing: 1px; border-left: 6px solid #38bdf8; border-top: 2px solid #1e293b; backdrop-filter: blur(1px); text-align: left;}
.detection-info ul { margin-top: 12px; margin-bottom: 0; font-size: 20px; color: #bae6fd; padding-left: 18px; text-align: left; /* Align list to left */ }
.detection-info li { margin-bottom: 6px; padding-left: 2px; font-weight: 400; text-shadow: 0 0 4px #38bdf888; text-align: left; /* Align each point to left */ }
.right-section { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding-right: 0; height: 100vh;}
.sign-in-form { background: rgba(30,41,59,0.92); padding: 32px 48px 32px 64px; /* Reduced vertical and horizontal padding */ border-radius: 24px; box-shadow: 0 8px 32px rgba(30,41,59,0.48), 0 0 24px #38bdf844; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; /* Reduced gap between children */ min-width: 340px; max-width: 480px; border: 3px solid #38bdf8; backdrop-filter: blur(2px); transition: box-shadow 0.3s, border-color 0.3s; height: 320px; /* Further reduced height */ min-height: 320px; max-height: 340px;}
.sign-in-form:hover { box-shadow: 0 4px 32px #38bdf844, 0 0 16px #1e293b88; border-color: #bae6fd; }
.form-group { display: flex; flex-direction: column; align-items: flex-start; /* Align label and input to left */ gap: 12px; min-width: 180px; width: 100%; margin-left: -24px; /* Shift fields a bit to the left */}
label { color: #bae6fd; font-size: 26px; font-weight: 600; margin-bottom: 4px; letter-spacing: 1px; text-shadow: 0 0 6px #38bdf888;}
.input-field { padding: 20px; border-radius: 12px; border: 3px solid #38bdf8; background: rgba(30,41,59,0.98); color: #e3f6ff; font-size: 28px; width: 100%; box-shadow: 0 2px 12px #38bdf844; transition: border-color 0.3s; text-align: left; /* Align text to left */}
.input-field:focus { border-color: #bae6fd; outline: none; }
.input-field::placeholder { color: #bae6fd; font-size: 24px; opacity: 0.8; }
.sign-in-button { background: linear-gradient(90deg, #38bdf8 0%, #23272b 100%); color: #e3f6ff; padding: 22px 0; font-size: 32px; border: none; border-radius: 14px; cursor: pointer; transition: background 0.3s ease, box-shadow 0.3s ease; width: 100%; margin-top: 0; font-weight: bold; letter-spacing: 1px; box-shadow: 0 2px 16px #38bdf888; text-shadow: 0 0 6px #23272b; align-self: stretch; min-width: 180px;}
.sign-in-button:hover { background: linear-gradient(90deg, #23272b 0%, #38bdf8 100%); color: #bae6fd; box-shadow: 0 2px 24px #bae6fd88; }
/* Buttons that open the popup */.auth-links { display: flex; gap: 16px; margin-top: -12px; flex-wrap: wrap;}
.link-btn { background: transparent; border: 1px dashed #38bdf8; color: #bae6fd; padding: 10px 16px; border-radius: 10px; cursor: pointer;}
.link-btn:hover { border-style: solid; color: #e3f6ff; }
.social-bar { position: absolute; top: 32px; right: 60px; display: flex; gap: 24px; z-index: 30;}
.social-icon img { width: 38px; height: 38px; filter: drop-shadow(0 0 6px #38bdf8); transition: transform 0.2s;}
.social-icon:hover img { transform: scale(1.15); filter: drop-shadow(0 0 12px #bae6fd);}
.footer-link { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); font-size: 18px; color: #bae6fd; background: rgba(30,41,59,0.85); border-radius: 8px; padding: 10px 22px 10px 22px; box-shadow: 0 2px 8px #1e293b44; z-index: 40; text-align: center; min-width: 320px;}
.footer-info { font-size: 16px; color: #bae6fd; margin-bottom: 2px; font-weight: 400;}
.footer-link-highlight { color: #38bdf8; font-weight: 600;}
.footer-link a { color: #38bdf8; text-decoration: none; font-size: 18px; font-weight: 500; letter-spacing: 1px; display: block; margin-bottom: 2px;}
.footer-link a:hover { color: #e3f6ff; }
.footer-tech { font-size: 15px; color: #e3f6ff; margin-top: 2px; font-weight: 600; letter-spacing: 1px;}
.login-title { display: block; font-size: 40px; font-weight: 800; color: #38bdf8; text-align: left; margin-bottom: 0; letter-spacing: 2px;}
.back-btn { margin-top: 32px; padding: 14px 38px; font-size: 1.3rem; font-weight: 700; border-radius: 12px; background: linear-gradient(90deg, #38bdf8 0%, #23272b 100%); color: #e3f6ff; border: none; box-shadow: 0 2px 16px #38bdf888; cursor: pointer; transition: background 0.3s, color 0.3s, box-shadow 0.3s;}
.back-btn:hover { background: linear-gradient(90deg, #23272b 0%, #38bdf8 100%); color: #bae6fd; box-shadow: 0 2px 24px #bae6fd88; }
/* ===== Modal (popup) styles ===== */.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1000;}
.modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; z-index: 1001; background: #ffffff45;}
.modal > app-sign-in, .modal > app-sign-up { max-width: 900px; width: min(92vw, 900px); }
.modal__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border: none; background: linear-gradient(135deg, #23272b 60%, #18181b 100%); color: #fff; border-radius: 50%; cursor: pointer; font-size: 2.2rem; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(30,41,59,0.28); z-index: 20; transition: background 0.2s, color 0.2s, box-shadow 0.2s; outline: none;}
.modal__close:hover { background: linear-gradient(135deg, #333 60%, #23272b 100%); color: #38bdf8; box-shadow: 0 8px 24px #38bdf888; }
.signin-close { position: absolute; top: 189px; right: 363px; width: 48px; height: 48px; border: none; background: linear-gradient(135deg, #23272b 60%, #18181b 100%); color: #fff; border-radius: 50%; cursor: pointer; font-size: 2.2rem; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(30,41,59,0.28); z-index: 20; transition: background 0.2s, color 0.2s, box-shadow 0.2s; outline: none;}
.signin-close:hover { background: linear-gradient(135deg, #333 60%, #23272b 100%); color: #38bdf8; box-shadow: 0 8px 24px #38bdf888; }
.signup-close { position: absolute; top: 110px; right: 453px; width: 48px; height: 48px; border: none; background: linear-gradient(135deg, #23272b 60%, #18181b 100%); color: #fff; border-radius: 50%; cursor: pointer; font-size: 2.2rem; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(30,41,59,0.28); z-index: 20; transition: background 0.2s, color 0.2s, box-shadow 0.2s; outline: none;}
.signup-close:hover { background: linear-gradient(135deg, #333 60%, #23272b 100%); color: #38bdf8; box-shadow: 0 8px 24px #38bdf888; }
/* Keep app-sign-in/up wrapper */.app-sign-in, .app-sign-up { position: relative; background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.35);}
.py-shape { display: inline-block; width: 18px; height: 4px; background: #38bdf8; margin: 0 8px; vertical-align: middle; border-radius: 2px; box-shadow: 0 0 6px #38bdf8, 0 0 2px #fff; border: 2px solid #23272b;}
.auth-topright { position: fixed; top: 32px; right: 48px; z-index: 200; display: flex; gap: 18px;}
.auth-btn { font-family: 'Montserrat', 'Poppins', 'Arial Black', Arial, sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 2px; background: linear-gradient(90deg, #38bdf8 0%, #23272b 100%); color: #e3f6ff; box-shadow: 0 2px 16px #38bdf888; border: none; border-radius: 12px; padding: 0.7rem 2rem; cursor: pointer; transition: background 0.3s, color 0.3s, box-shadow 0.3s;}
.auth-btn:hover { background: linear-gradient(90deg, #23272b 0%, #38bdf8 100%); color: #bae6fd; box-shadow: 0 2px 24px #bae6fd88; }
.py-detect-image { width: 420px; max-width: 100%; height: auto; border-radius: 24px; box-shadow: 0 8px 32px #38bdf844, 0 0 24px #1e293b88; border: 3px solid #38bdf8; background: #23272b; margin-top: 48px; margin-bottom: 48px; display: block;}
/* Footer Styles */.footer { background: linear-gradient(90deg, #18181b 0%, #38bdf8 100%); /* Dual color: black to cyan */ color: #fff; /* All text white */ padding: 0; /* Remove extra padding for a slim footer */ text-align: center; width: 100%; position: fixed; bottom: 0; left: 0; z-index: 200; height: 46px; /* Further reduced height for a slim footer */ display: flex; align-items: center; justify-content: center;}
.footer-content { display: flex; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; gap: 64px;}
.footer-left,.footer-center,.footer-right { margin: 0; min-width: 0; flex: 1 1 1; display: flex; align-items: center; color: #fff !important; justify-content: center;}
.footer-center,.footer-right { color: #fff !important;}
.footer-center .footer-links { display: flex; flex-direction: row; gap: 32px; align-items: center; margin: 0; padding: 0; flex-wrap: nowrap; white-space: nowrap; }
.footer-center .footer-links li { display: flex; align-items: center; margin: 0; }
.footer-right .social-media { display: flex; flex-direction: row; gap: 18px; align-items: center; margin-left: 24px; }
.footer-center .footer-links a { color: #fff !important; text-decoration: none !important; }
.footer-center .footer-links a:hover { color: #38bdf8 !important; text-decoration: none !important; }
.footer-right .social-media a, .footer-right .social-media i { color: #fff !important; text-decoration: none !important; }
@media screen and (max-width: 900px) { .footer-content { flex-direction: column; gap: 16px; padding: 8px 8px; }
.footer-left, .footer-center, .footer-right { justify-content: center; width: 100%; margin: 0; }
.footer-center .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px; white-space: normal; }
.footer-right .social-media { margin-left: 0; justify-content: center; }}
/* Align detection info boxes to start from left, with space at right */.detection-info-row { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 24px; justify-content: flex-start; align-items: stretch; margin: 0 0 0 48px; /* Add left margin, remove auto centering */ width: auto; max-width: 1200px;}
.detection-info-box { background: rgba(30,41,59,0.92); border-radius: 16px; box-shadow: 0 2px 16px #38bdf844, 0 0 12px #1e293b88; border-left: 6px solid #38bdf8; border-top: 2px solid #1e293b; padding: 18px 24px 16px 24px; min-width: 220px; max-width: 280px; flex: 1 1 0; font-family: 'Segoe UI', 'Arial', 'Roboto', sans-serif; color: #e3f6ff; font-size: 22px; font-weight: 400; line-height: 1.5; letter-spacing: 0.5px; position: relative; margin-bottom: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; opacity: 0; transform: translateY(40px) scale(0.98); animation: detectionBoxFadeIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards; transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s;}
.detection-info-box:hover { transform: scale(1.06); box-shadow: 0 8px 32px #38bdf888, 0 0 24px #1e293b88; z-index: 10; }
.detection-info-box:nth-child(2) { animation-delay: 0.15s; }
.detection-info-box:nth-child(3) { animation-delay: 0.3s; }
.detection-info-box:nth-child(4) { animation-delay: 0.45s; }
@keyframes detectionBoxFadeIn { 0% { opacity: 0; transform: translateY(40px) scale(0.98); }
80% { opacity: 1; transform: translateY(-4px) scale(1.02); }
100% { opacity: 1; transform: translateY(0) scale(1); }}
@media screen and (max-width: 1200px) { .detection-info-row { flex-wrap: wrap; justify-content: center; }
.detection-info-box { max-width: 98vw; min-width: 0; font-size: 15px; padding: 14px 6vw; }}
@media screen and (max-width: 900px) { .detection-info-row { flex-direction: column; gap: 18px; align-items: center; }
.detection-info-box { max-width: 98vw; min-width: 0; font-size: 15px; padding: 14px 6vw; height: auto; }}
/* Footer social icon styles */.footer-social-icon { width: 32px; height: 32px; margin: 0 8px; vertical-align: middle; filter: drop-shadow(0 0 6px #38bdf8); transition: transform 0.2s, filter 0.2s;}
.footer-social-icon:hover { transform: scale(1.15); filter: drop-shadow(0 0 12px #bae6fd); }
/* Style for Next button in footer */.footer-next-btn { margin-left: 24px; padding: 12px 32px; font-size: 1.1rem; font-weight: 600; border-radius: 10px; background: linear-gradient(90deg, #38bdf8 0%, #23272b 100%); color: #e3f6ff; border: none; box-shadow: 0 2px 12px #38bdf888; cursor: pointer; transition: background 0.3s, color 0.3s, box-shadow 0.3s;}
.footer-next-btn:hover { background: linear-gradient(90deg, #23272b 0%, #38bdf8 100%); color: #bae6fd; box-shadow: 0 2px 24px #bae6fd88; }
.tour-btn { background: linear-gradient(90deg, #38bdf8 0%, #712d74 100%); color: #fff; font-size: 1.2rem; font-weight: 700; border: none; border-radius: 12px; padding: 14px 38px; box-shadow: 0 2px 16px #38bdf888; cursor: pointer; margin: 0 auto; display: block; transition: background 0.3s, color 0.3s, box-shadow 0.3s;}
.tour-btn:hover { background: linear-gradient(90deg, #712d74 0%, #38bdf8 100%); color: #bae6fd; box-shadow: 0 2px 24px #bae6fd88; }
.tour-overlay { position: fixed; inset: 0; background: rgba(24,24,27,0.92); z-index: 2000; display: flex; align-items: center; justify-content: center;}
.tour-content { background: #23272b; color: #fff; border-radius: 18px; padding: 48px 36px 36px 36px; box-shadow: 0 8px 32px #38bdf844, 0 0 24px #1e293b88; max-width: 480px; width: 90vw; text-align: center; position: relative;}
.tour-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: none; background: #18181b; color: #fff; border-radius: 50%; cursor: pointer; font-size: 2rem; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.18); z-index: 10; transition: background 0.2s, color 0.2s;}
.tour-close:hover { background: #333; color: #f134d0; }
.tour-next { margin-top: 24px; background: linear-gradient(90deg, #38bdf8 0%, #712d74 100%); color: #fff; font-size: 1rem; font-weight: 600; border: none; border-radius: 10px; padding: 12px 32px; box-shadow: 0 2px 12px #38bdf888; cursor: pointer; transition: background 0.3s, color 0.3s, box-shadow 0.3s;}
.tour-next:hover { background: linear-gradient(90deg, #712d74 0%, #38bdf8 100%); color: #bae6fd; box-shadow: 0 2px 24px #bae6fd88; }
.info-link { margin-left: 12px; color: #38bdf8; font-size: 0.95em; cursor: pointer; text-decoration: underline; font-weight: 500; transition: color 0.2s;}
.info-link:hover { color: #bae6fd; }
.detection-info-box .detection-description,.detection-info-box .detection-list { margin-top: 10px;}
.detection-icon { font-size: 3vw;}
.detection-info-box .detection-icon { font-size: 3vw !important;}
.welcome-title { margin-left: 12px; margin-bottom: 8px;}
.main-title { font-size: 2.2em; font-weight: bold; background: linear-gradient(90deg, #f134d0 0%, #38bdf8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-fill-color: transparent; letter-spacing: 2px;}
.sub-title { font-size: 1.2em; font-weight: bold; color: #fff;}
.detection-description { margin: 12px 0 18px 0; color: #e3f6ff; font-size: 1em; font-weight: 400;}
.read-more-btn { background: linear-gradient(90deg, #38bdf8 0%, #23272b 100%); color: #fff; font-size: 1em; font-weight: 600; border: none; border-radius: 22px; padding: 10px 32px; box-shadow: 0 2px 12px #38bdf888; cursor: pointer; transition: background 0.3s, color 0.3s, box-shadow 0.3s; margin-top: 8px; letter-spacing: 1px;}
.read-more-btn:hover { background: linear-gradient(90deg, #23272b 0%, #38bdf8 100%); color: #bae6fd; box-shadow: 0 2px 24px #bae6fd88; }
/* ===================== *//* Info Dialog Animations *//* ===================== */@keyframes fadeInBackdrop { from { opacity: 0; }
to { opacity: 1; }}
@keyframes zoomInModal { 0% { opacity: 0; transform: translateY(8px) scale(0.96); }
100% { opacity: 1; transform: translateY(0) scale(1); }}
.modal-backdrop--fade { animation: fadeInBackdrop .25s ease-out both;}
.dialog-modal--zoom { animation: zoomInModal .28s cubic-bezier(0.23, 1, 0.32, 1) both;}
/* Dialog content card */.dialog-content { background: #23272b; color: #fff; border-radius: 16px; padding: 36px; max-width: 720px; width: 92vw; text-align: left; position: relative; box-shadow: 0 8px 32px #38bdf844, 0 0 24px #1e293b88;}
/* Titles inside dialog */.dialog-title { color: #38bdf8; margin: 0 0 16px 0; font-size: 1.6rem; font-weight: 800; letter-spacing: 1px;}
.dialog-content h3 { margin-top: 18px; margin-bottom: 8px; color: #38bdf8; font-size: 1.15rem;}
.dialog-content p,.dialog-content ul { font-size: 1rem; color: #bae6fd; margin-bottom: 12px;}
.dialog-content ul { padding-left: 18px;}
/* Close button at top-right */.dialog-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: none; border-radius: 50%; background: #18181b; color: #fff; font-size: 1.6rem; font-weight: bold; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.25); transition: background 0.2s, color 0.2s;}
.dialog-close:hover { background: #333; color: #38bdf8; }123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121<!-- Logo and Py-Detect Title (kept as your last version) --><div class="logo-title-row"> <img src="/assets/pykara-logo.png" alt="PyDetect Logo" class="logo-img" /> <div class="py-detect-title"> <span class="py-letter p">P</span> <span class="py-letter y">Y</span> <span class="py-shape"></span> <span class="py-letter d">D</span> <span class="py-letter e">E</span> <span class="py-letter t">T</span> <span class="py-letter e2">E</span> <span class="py-letter c">C</span> <span class="py-letter t2">T</span> </div></div>
<div class="homepage-container"> <!-- Top-right: Sign-In/Sign-Up buttons (reverted; unchanged from your last version) --> <div class="auth-topright"> <button class="auth-btn" (click)="openSignIn()">Sign In</button> <button class="auth-btn" (click)="openSignUp()">Sign Up</button> </div>
<!-- Left-side instruction/info (position unchanged) --> <div class="left-instructions" style="position: absolute; left: 0; width: 50vw; flex-direction: column; justify-content: center; align-items: flex-start; padding-left: 80px; z-index: 10;"> <div style="max-width: 520px;"> <h1 style="font-size:2.5em; font-weight:800; color:#38bdf8; margin-bottom:12px;"> Welcome to Py-Detect </h1> <div style="font-size: 1.2em; color: #e3f6ff; margin-bottom: 18px; width: 33vw; text-align: justify;"> {{ welcomeText }} </div> <!-- Know More as a styled button --> <button class="know-more-btn" (click)="openInfoDialog()" style="font-size:1.1em; font-weight:600; color:#fff; background:linear-gradient(90deg,#38bdf8 0%,#23272b 100%); border:none; border-radius:22px; padding:10px 32px; box-shadow:0 2px 12px #38bdf888; cursor:pointer; transition:background 0.3s, color 0.3s, box-shadow 0.3s; margin-top:8px; letter-spacing:1px;"> Know more </button> </div> </div>
<!-- Optional tour overlay (unchanged) --> <div class="tour-overlay" *ngIf="showTourOverlay"> <div class="tour-content"> <button class="tour__close" (click)="showTourOverlay = false" aria-label="Close">×</button> <h2>Welcome to Py-Detect!</h2> <p>Discover what Py-Detect can do for you:</p> <ul> <li>🕵️ Intelligent lie detection platform</li> <li>🔍 AI-powered analysis of responses</li> <li>🎯 Designed for investigators, educators, HR, and more</li> <li>💡 Fast, non-invasive, and data-driven insights</li> </ul> <button class="tour-next" (click)="showTourOverlay = false">Got it!</button> </div> </div></div>
<!-- Footer (unchanged) --><footer class="footer"> <div class="footer-content"> <div class="footer-left"> <p>© 2025 Pykara Technologies. All rights reserved.</p> </div> <div class="footer-center"> <ul class="footer-links"> <li><a href="/about">About Us</a></li> <li><a href="/contact">Contact</a></li> <li><a href="/privacy">Privacy Policy</a></li> <li><a href="/terms">Terms & Conditions</a></li> </ul> </div> <div class="footer-right"> <div class="social-media"> <a href="https://facebook.com" target="_blank" aria-label="Facebook"><i class="fa-brands fa-facebook-f"></i></a> <a href="https://twitter.com" target="_blank" aria-label="Twitter"><i class="fa-brands fa-twitter"></i></a> <a href="https://linkedin.com" target="_blank" aria-label="LinkedIn"><i class="fa-brands fa-linkedin-in"></i></a> <a href="https://instagram.com" target="_blank" aria-label="Instagram"><i class="fa-brands fa-instagram"></i></a> </div> </div> </div></footer>
<!-- ===== Auth Modals (unchanged) ===== --><div class="modal-backdrop" *ngIf="showSignIn || showSignUp" (click)="closeModal()"></div><div class="modal" *ngIf="showSignIn || showSignUp" role="dialog" aria-modal="true"> <ng-container *ngIf="showSignIn"> <button class="signin-close" (click)="closeModal()" aria-label="Close">×</button> <app-sign-in (switchToSignUp)="openSignUp()" (signInSuccess)="handleSignInSuccess()"> </app-sign-in> </ng-container> <ng-container *ngIf="showSignUp"> <button class="signup-close" (click)="closeModal()" aria-label="Close">×</button> <app-sign-up (switchToSignIn)="openSignIn()"> </app-sign-up> </ng-container></div>
<!-- ===== Info Dialog (unchanged) ===== --><div class="modal-backdrop modal-backdrop--fade" *ngIf="showInfoDialog" (click)="closeInfoDialog()"></div><div class="modal dialog-modal dialog-modal--zoom" *ngIf="showInfoDialog" role="dialog" aria-modal="true" aria-label="About Py-Detect"> <div class="dialog-content"> <!-- Close button at top-right (replaces Back) --> <button class="dialog-close" (click)="closeInfoDialog()" aria-label="Close">×</button>
<h3>How It Works</h3> <p>Py-Detect asks personalized, context-aware questions and analyzes verbal, facial, and behavioral signals using AI and computer vision. It then produces a concise report with an estimated lie probability.</p>
<h3>Who Can Use Py-Detect?</h3> <p>Investigators, law enforcement teams, educators and school administrators, HR professionals, recruiters, and any organization that needs reliable behavioral insights.</p>
<h3>Why Py-Detect?</h3> <p>It is fast, non-invasive, configurable for different scenarios, and supports decisions with clear, data-driven evidence.</p> </div></div>123456789101112131415161718192021import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HomepageComponent } from './homepage.component';
describe('HomepageComponent', () => { let component: HomepageComponent; let fixture: ComponentFixture<HomepageComponent>;
beforeEach(() => { TestBed.configureTestingModule({ declarations: [HomepageComponent] }); fixture = TestBed.createComponent(HomepageComponent); component = fixture.componentInstance; fixture.detectChanges(); });
it('should create', () => { expect(component).toBeTruthy(); });});1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859import { Component, Renderer2, OnInit, OnDestroy } from '@angular/core';import { Router } from '@angular/router';import { CommonModule } from '@angular/common';import { SignInComponent } from './sign-in/sign-in.component';import { SignUpComponent } from './sign-up/sign-up.component';
@Component({ selector: 'app-homepage', standalone: true, templateUrl: './homepage.component.html', styleUrls: ['./homepage.component.css'], imports: [CommonModule, SignInComponent, SignUpComponent]})export class HomepageComponent implements OnInit, OnDestroy { // Keep your existing auth modal flags (reverted) showSignIn = false; showSignUp = false; showTourOverlay = false;
// (Optional legacy flags kept intact if used elsewhere) selectedInfo: string | null = null; showDetails = false;
// New: "Know more" dialog flag showInfoDialog = false;
welcomeText = `Py-Detect is an intelligent lie detection platform designed to analyze human responses and uncover hidden truths. During each session, we also record and analyze body language using video to provide deeper behavioral insights. Whether you're evaluating a suspect, interviewing a student, or conducting sensitive assessments, Py-Detect uses advanced algorithms to ask targeted questions and deliver a truthfulness score—a percentage-based estimate of how likely the person is being honest.`;
constructor(private router: Router, private renderer: Renderer2) { }
ngOnInit() { this.renderer.addClass(document.body, 'homepage-bg'); }
ngOnDestroy() { this.renderer.removeClass(document.body, 'homepage-bg'); }
// === Auth modal open/close (same as your last version in the template) === openSignIn() { this.showSignIn = true; this.showSignUp = false; } openSignUp() { this.showSignUp = true; this.showSignIn = false; } closeModal() { this.showSignIn = this.showSignUp = false; }
// If your <app-sign-in> emits signInSuccess, keep the same handler handleSignInSuccess() { this.closeModal(); // keep your existing navigation if any; otherwise, do nothing // this.router.navigate(['/infopage']); }
// === Info dialog controls === openInfoDialog() { this.showInfoDialog = true; } closeInfoDialog() { this.showInfoDialog = false; }
// (Optional) preserved helper toggleInfo(info: string) { this.selectedInfo = (this.selectedInfo === info) ? null : info; }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243:host { display: block}
.auth-box { width: 54vw; display: grid; grid-template-columns: 1fr; background: #2b1b6b; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 60px 0 #18181b, 0 0 32px #38bdf888; min-height: 420px; max-height: 520px; z-index: 1100; animation: popupZoomIn .35s cubic-bezier(0.23, 1, 0.32, 1);}
@keyframes popupZoomIn { 0% { opacity: 0; transform: scale(0.96) translateY(16px); } 100% { opacity: 1; transform: scale(1) translateY(0); }}
.panel-right { position: relative; background: radial-gradient(120% 120% at 20% 50%,rgba(0,0,0,.25) 0%,rgba(0,0,0,0) 60%); width: 100%; height: 100%; display: flex; align-items: stretch; justify-content: stretch;}
.right-image { width: 100%; height: 100%; display: flex; align-items: stretch; justify-content: stretch;}
.right-image img { width: 100%; height: 100%; object-fit: cover; display: block;}
.panel-left { padding: clamp(22px,3vw,38px); background: white; color: black;}
.brand-mark { width: 4vw; margin-bottom: 14px; border: 2px solid #b1b1b17d; box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;}
.title { margin: 0 0 6px; font-size: clamp(22px,3vw,26px); font-weight: 700}.subtitle { margin: 0 0 8px; /* Reduced space below Create Account text */}
.form { display: grid; gap: 12px}
.field { display: grid; gap: 6px}
label { font-weight: 600; font-size: 13px;}
input[type="email"], input[type="password"] { color: black; border: 1px solid rgb(0 0 0 / 57%); border-radius: 10px; padding: 11px 12px; outline: none}
input::placeholder { color: #808080;}
input:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167,139,250,.25)}
.error { color: red; font-size: 12px}
.btn { width: 100%; border-radius: 999px; padding: 12px 18px; cursor: pointer}
.btn-primary { background: #0b0f1a; color: #fff; border: none; font-weight: 700}
.btn[aria-busy="true"] { opacity: .75; cursor: progress}
.footnote { margin: 14px 0 0; font-size: 13px;}
.footnote a { color: red; text-decoration: underline }
.admin-info { margin: 10px 0 16px 0; color: #f134d0; font-size: 1em; font-weight: 600; text-align: center;}
.admin-checkbox { display: flex; align-items: center; gap: 8px; margin: 10px 0 0 0;}.admin-checkbox input[type="checkbox"] { accent-color: #2b1b6b; width: 18px; height: 18px;}.admin-checkbox label { color: #2b1b6b; font-size: 1em; font-weight: 600; cursor: pointer;}
@keyframes fadeInBackdrop { from { opacity: 0; } to { opacity: 1; }}
@media(min-width:900px) { .auth-box { grid-template-columns: 520px 1fr }}
.topTitle { display: flex; align-items: center; gap: 21px;}
.topHeader { font-size: 1vw;}
.signin-close { position: absolute; top: 158px; right: 450px; width: 44px; height: 3px; border: none; background: #18181b; color: #fff; border-radius: 50%; cursor: pointer; font-size: 2rem; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.18); z-index: 10; transition: background 0.2s, color 0.2s;}
.signin-close:hover { background: #333; color: #f134d0;}
.signin-close:hover, .signup-close:hover { background: linear-gradient(135deg, #333 60%, #23272b 100%); color: #38bdf8; box-shadow: 0 8px 24px #38bdf888;}
.modal__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: none; background: #18181b; color: #fff; border-radius: 50%; cursor: pointer; font-size: 2rem; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.18); z-index: 10; transition: background 0.2s, color 0.2s;}
.modal__close:hover { background: #333; color: #f134d0;}123456789101112131415161718192021222324252627282930313233343536373839404142434445<section class="auth-page"> <div class="signin-modal-backdrop"></div> <div class="auth-box" role="dialog" aria-labelledby="siTitle"> <!-- Left (form) --> <div class="panel-left"> <div class="topTitle"> <img class="brand-mark" src="/assets/pykara-logo.png" alt="Brand" /> <span class="topHeader"><b>Welcome back!</b></span> </div> <h2 id="siTitle" class="title">Log in</h2>
<form class="form" [formGroup]="form" (ngSubmit)="signIn()" novalidate> <div class="field"> <label for="email"> Email </label> <input id="email" type="email" formControlName="email" placeholder="you@example.com" /> </div>
<div class="field"> <label for="password"> Password </label> <input id="password" type="password" formControlName="password" placeholder="••••••••" /> </div>
<button class="btn btn-primary" type="submit"> Sign in </button> </form>
<p class="footnote"> New here? <a href="#" (click)="goToSignUp(); $event.preventDefault()">Create an account</a> </p> </div>
<!-- Right (image) --> <div class="panel-right"> <div class="right-image"> <img src="/assets/signin.png" alt="Decorative" /> </div> </div> </div></section>123456789101112131415161718192021import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SignInComponent } from './sign-in.component';
describe('SignInComponent', () => { let component: SignInComponent; let fixture: ComponentFixture<SignInComponent>;
beforeEach(() => { TestBed.configureTestingModule({ declarations: [SignInComponent] }); fixture = TestBed.createComponent(SignInComponent); component = fixture.componentInstance; fixture.detectChanges(); });
it('should create', () => { expect(component).toBeTruthy(); });});12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455// sign-in.component.tsimport { Component, ChangeDetectionStrategy, Output, EventEmitter } from '@angular/core';import { CommonModule } from '@angular/common';import { ReactiveFormsModule, FormBuilder, Validators, FormGroup } from '@angular/forms';import { Router, RouterLink } from '@angular/router';import { SignInService } from './sign-in.service'; // Import SignInService
@Component({ selector: 'app-sign-in', standalone: true, imports: [CommonModule, ReactiveFormsModule, RouterLink], templateUrl: './sign-in.component.html', styleUrls: ['./sign-in.component.css'], changeDetection: ChangeDetectionStrategy.OnPush})export class SignInComponent { @Output() switchToSignUp = new EventEmitter<void>(); form: FormGroup;
constructor(private fb: FormBuilder, private router: Router, private signInService: SignInService) { this.form = this.fb.group({ email: ['', [Validators.required, Validators.email]], // Added email validation password: ['', [Validators.required]] }); }
goToSignUp() { this.switchToSignUp.emit(); }
signIn() { if (this.form.invalid) { console.log("Form is invalid:", this.form.errors); return; }
const payload = { email: this.form.get('email')?.value, password: this.form.get('password')?.value };
this.signInService.signIn(payload).subscribe( (response) => { console.log('Login successful:', response); // Navigate to case details or home page after login success this.router.navigate(['/case-details']); }, (error) => { console.error('Login failed:', error); alert('Invalid email or password!'); } );
}}12345678910111213141516import { TestBed } from '@angular/core/testing';
import { SignInService } from './sign-in.service';
describe('SignInService', () => { let service: SignInService;
beforeEach(() => { TestBed.configureTestingModule({}); service = TestBed.inject(SignInService); });
it('should be created', () => { expect(service).toBeTruthy(); });});123456789101112131415import { Injectable } from '@angular/core';import { HttpClient } from '@angular/common/http';import { Observable } from 'rxjs';
@Injectable({ providedIn: 'root'})export class SignInService {
constructor(private http: HttpClient) { }
signIn(payload: any): Observable<any> { return this.http.post('http://127.0.0.1:5000/sign-in', payload); }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245:host { display: block}
/* Two-column card */.auth-box { width: 49vw; display: grid; grid-template-columns: 1fr; background: #2b1b6b; /* purple base under left panel */ border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); position: relative;}
/* Right column (image) */.panel-right { position: relative; background: radial-gradient(120% 120% at 20% 50%, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 60%);}
.panel-right::before { /* vertical fold shade between left and right */ content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 26%); pointer-events: none; }
.right-image { display: flex; align-items: center; justify-content: center; width: 23.9vw;}
.right-image img { width: 100%; display: block }
/* Left column (form) */.panel-left { padding: clamp(22px,3.5vw,36px); background: white; /* brighter purple */ color: black;}
.brand-mark { width: 4vw; margin-bottom: 14px; border: 2px solid #b1b1b17d; box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;}
.title { margin: 0 0 6px; font-size: clamp(22px,3vw,26px); font-weight: 700}
.subtitle { margin: 0 0 18px;}
.form { display: grid; gap: 12px}
.field { display: grid; gap: 6px}
label { font-weight: 600; font-size: 13px;}
/* Inputs: translucent with subtle border */input[type="text"], input[type="password"] { color: #000000; border: 1px solid rgb(0 0 0 / 57%); border-radius: 10px; padding: 11px 12px; outline: none;}
input::placeholder { color: #808080}
input:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167,139,250,.25)}
select.input-field { color: #000000; border: 1px solid rgb(0 0 0 / 57%); border-radius: 10px; padding: 11px 12px; outline: none; font-size: 16px; width: 100%; background: #fff; box-sizing: border-box;}
select.input-field:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167,139,250,.25);}
.error { color: red; font-size: 12px}
/* Buttons */.btn { width: 100%; border-radius: 999px; padding: 12px 18px; cursor: pointer}
.btn-primary { background: #0b0f1a; color: #fff; border: none; font-weight: 700}
.btn-dark { background: #111827; color: #fff; border: none; margin-top: 8px}
.btn[aria-busy="true"] { opacity: .75; cursor: progress}
.footnote { margin: 14px 0 0; font-size: 13px;}
.footnote a { color: red; text-decoration: underline }
/* Layout: stack on small, split on >= 900px */@media(min-width:900px) { .auth-box { grid-template-columns: 520px 1fr }}
.topTitle { display: flex; align-items: center; gap: 21px;}
.topHeader { font-size: 1vw;}
@keyframes fadeInBackdrop { from { opacity: 0; }
to { opacity: 1; }}
.signup-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border: none; background: linear-gradient(135deg, #23272b 60%, #18181b 100%); color: #fff; border-radius: 50%; cursor: pointer; font-size: 2.2rem; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(30,41,59,0.28); z-index: 20; transition: background 0.2s, color 0.2s, box-shadow 0.2s; outline: none;}
.signup-close:hover { background: linear-gradient(135deg, #333 60%, #23272b 100%); color: #38bdf8; box-shadow: 0 8px 24px #38bdf888;}
.signin-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border: none; background: linear-gradient(135deg, #23272b 60%, #18181b 100%); color: #fff; border-radius: 50%; cursor: pointer; font-size: 2.2rem; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(30,41,59,0.28); z-index: 20; transition: background 0.2s, color 0.2s, box-shadow 0.2s; outline: none;}
.signin-close:hover { background: linear-gradient(135deg, #333 60%, #23272b 100%); color: #38bdf8; box-shadow: 0 8px 24px #38bdf888;}
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798<section class="auth-page"> <div class="auth-box" role="dialog" aria-labelledby="suTitle"> <!-- Left (form) --> <div class="panel-left"> <div class="topTitle"> <img class="brand-mark" src="/assets/pykara-logo.png" alt="Brand" /> <p class="topHeader"><b>Let's get started!</b></p> </div> <h2 id="suTitle" class="title">Create an account</h2>
<form [formGroup]="form" (ngSubmit)="submit()" novalidate>
<button class="btn btn-primary" type="submit"> Sign up </button> <!-- Name --> <div class="field"> <label for="name"> Name <small *ngIf="controlHasError('name','required')" class="error">*</small> </label> <input id="name" type="text" placeholder="John" formControlName="name" [attr.aria-invalid]="controlHasError('name')" class="input-field" /> <small *ngIf="controlHasError('name','minlength')" class="error">Enter at least 2 characters.</small> </div>
<!-- Role dropdown (moved below Name, styled) --> <div class="field"> <label for="role"> Role <small *ngIf="controlHasError('role','required')" class="error">*</small> </label> <select id="role" formControlName="role" [attr.aria-invalid]="controlHasError('role')" class="input-field" required> <option value="">-- Select Role --</option> <option value="teachers">Teachers</option> <option value="lawyers">Lawyers</option> <option value="investigators">Investigators</option> <option value="others">Others</option> </select> </div>
<!-- Email/Phone (contact) --> <div class="field"> <label for="contact"> Email <small *ngIf="controlHasError('contact','required')" class="error">*</small> </label> <input id="email" type="text" placeholder="hello@gmail.com" formControlName="email" [attr.aria-invalid]="controlHasError('email')" class="input-field" />
<!--<input id="contact" type="text" placeholder="hello@gmail.com" formControlName="contact" [attr.aria-invalid]="controlHasError('contact')" class="input-field" />--> <small *ngIf="controlHasError('contact','pattern')" class="error">Enter a valid email/phone.</small> </div>
<!-- Password --> <div class="field"> <label for="password"> Password <small *ngIf="controlHasError('password','required')" class="error">*</small> </label> <input id="password" type="password" placeholder="••••••••" formControlName="password" [attr.aria-invalid]="controlHasError('password')" /> <small *ngIf="controlHasError('password','minlength')" class="error">Use at least 6 characters.</small> </div>
<!-- Confirm password --> <div class="field"> <label for="confirmPassword"> Confirm password <small *ngIf="controlHasError('confirmPassword','required')" class="error">*</small> </label> <input id="confirmPassword" type="password" placeholder="••••••••" formControlName="confirmPassword" [attr.aria-invalid]="showPwdMismatch()" /> <small *ngIf="showPwdMismatch()" class="error">Passwords do not match.</small> </div>
<!--<button class="btn btn-primary" type="submit" [disabled]="form.invalid || submitting()" [attr.aria-busy]="submitting()"> Sign up1 </button>-->
<p class="footnote"> Already have an account? <!-- CHANGED: Use click handler instead of routerLink --> <a href="#" (click)="goToLogin(); $event.preventDefault()">Log in</a> </p> </form> </div>
<!-- Right (image) --> <div class="panel-right"> <div class="right-image"> <img src="/assets/signup.png" alt="Decorative" /> </div> </div> </div></section>123456789101112131415161718192021import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SignUpComponent } from './sign-up.component';
describe('SignUpComponent', () => { let component: SignUpComponent; let fixture: ComponentFixture<SignUpComponent>;
beforeEach(() => { TestBed.configureTestingModule({ declarations: [SignUpComponent] }); fixture = TestBed.createComponent(SignUpComponent); component = fixture.componentInstance; fixture.detectChanges(); });
it('should create', () => { expect(component).toBeTruthy(); });});123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117import { Component, Output, EventEmitter } from '@angular/core';import { CommonModule } from '@angular/common';import { FormBuilder, FormGroup, ReactiveFormsModule, Validators, AbstractControl } from '@angular/forms';import { Router, RouterLink } from '@angular/router';import { SignUpService } from './sign-up.service'; // Import the SignUpService
@Component({ selector: 'app-sign-up', standalone: true, imports: [CommonModule, ReactiveFormsModule, RouterLink], templateUrl: './sign-up.component.html', styleUrls: ['./sign-up.component.css']})export class SignUpComponent { form: FormGroup; private isSubmitting = false;
@Output() switchToSignIn = new EventEmitter<void>();
constructor(private fb: FormBuilder, private router: Router, private signUpService: SignUpService) { // Inject SignUpService this.form = this.fb.group({ name: ['', [Validators.required, Validators.minLength(2)]], email: ['', [ Validators.required, Validators.pattern(/(^[^@]+@[^@]+\.[^@]+$)|(^\+?\d[\d\-\s]{8,14}\d$)/) ]], //gender: ['', [Validators.required]], password: ['', [Validators.required, Validators.minLength(6)]], confirmPassword: ['', [Validators.required]], role: ['', [Validators.required]], }, { validators: [this.passwordsMatchValidator] }); }
control(path: string): AbstractControl | null { return this.form.get(path); }
controlHasError(path: string, error?: string): boolean { const c = this.control(path); if (!c) return false; return error ? !!(c.touched && c.errors?.[error]) : !!(c.touched && c.invalid); }
showPwdMismatch(): boolean { const pw = this.control('password'); const cpw = this.control('confirmPassword'); const groupMismatch = this.form.errors?.['passwordMismatch']; return !!(pw && cpw && (cpw.touched || pw.touched) && groupMismatch); }
passwordsMatchValidator(group: AbstractControl) { const pw = group.get('password')?.value; const cpw = group.get('confirmPassword')?.value; return pw && cpw && pw === cpw ? null : { passwordMismatch: true }; }
async submit() { // Confirm button click alert("Sign-Up button clicked!"); console.log("Sign-Up button clicked!");
// Mark all form controls as touched to trigger validation this.form.markAllAsTouched();
// Check if the form is invalid if (this.form.invalid) { console.log("Form is invalid:");
// Log individual control states for debugging Object.keys(this.form.controls).forEach(controlName => { const control = this.form.get(controlName); if (control?.invalid) { console.log(`${controlName} is invalid. Errors:`, control?.errors); } }); return; }
try { // Prepare the payload to send to the backend const payload = { name: this.control('name')?.value, email: this.control('email')?.value, //gender: this.control('gender')?.value, password: this.control('password')?.value, role: this.control('role')?.value };
console.log("Form data before submission:", this.form.value); console.log("Payload to send:", payload);
// Make the HTTP request await this.signUpService.signUp(payload).toPromise(); console.log("Sign-up request sent successfully!");
// On success, navigate to Sign-In page this.router.navigateByUrl('/auth/signin'); } catch (error) { console.error("Error occurred during sign-up:", error); // Log any errors from the API call } }
navigateHome() { this.router.navigateByUrl('/'); }
goToLogin() { this.switchToSignIn.emit(); // ← Emit event instead of router navigation }
tr(key: string): string { const map: Record<string, string> = { title: 'Create your account', subtitle: 'Join to continue' }; return map[key] || ''; }}.editorconfigAdded+16
.gitignoreAdded+44
.vscode/extensions.jsonAdded+4
.vscode/launch.jsonAdded+19
.vscode/tasks.jsonAdded+42
CHANGELOG.mdAdded+16
Py-Detect.esprojAdded+16
Py-Detect.esproj.userAdded+8
Py-Detect.slnAdded+27
Py-Detect.vbprojAdded+84
angular.jsonAdded+106
app.configAdded+25
karma.conf.jsAdded+44
obj/Debug/AngularProject1.esproj.CoreCompileInputs.cacheAdded
obj/Debug/AngularProject1.esproj.FileListAbsolute.txtAdded+4
obj/Debug/Py-Detect.esproj.CoreCompileInputs.cacheAdded
obj/Debug/Py-Detect.esproj.FileListAbsolute.txtAdded+1
obj/Debug/package.g.propsAdded+39
obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cacheAdded
obj/x86/Debug/Py-Detect.vbproj.AssemblyReference.cacheAdded
obj/x86/Release/Py-Detect.vbproj.AssemblyReference.cacheAdded
package-lock.jsonAdded
package.jsonAdded+42
postcss.config.jsAdded+6
postcss.config.js.txtAdded
src/app/app-routing.module.tsAdded+37
src/app/app.component.cssAdded
src/app/app.component.htmlAdded+5
src/app/app.component.spec.tsAdded+27
src/app/app.component.tsAdded+10
src/app/app.module.tsAdded+38
src/app/case-details-page/case-details-page.component.cssAdded+330
src/app/case-details-page/case-details-page.component.htmlAdded+107
src/app/case-details-page/case-details-page.component.spec.tsAdded+21
src/app/case-details-page/case-details-page.component.tsAdded+40
src/app/case-store.service.tsAdded+104
src/app/homepage/homepage.component.cssAdded+1118
src/app/homepage/homepage.component.htmlAdded+121
src/app/homepage/homepage.component.spec.tsAdded+21
src/app/homepage/homepage.component.tsAdded+59
src/app/homepage/sign-in/sign-in.component.cssAdded+243
src/app/homepage/sign-in/sign-in.component.htmlAdded+45
src/app/homepage/sign-in/sign-in.component.spec.tsAdded+21
src/app/homepage/sign-in/sign-in.component.tsAdded+55
src/app/homepage/sign-in/sign-in.service.spec.tsAdded+16
src/app/homepage/sign-in/sign-in.service.tsAdded+15
src/app/homepage/sign-up/sign-up.component.cssAdded+245
src/app/homepage/sign-up/sign-up.component.htmlAdded+98
src/app/homepage/sign-up/sign-up.component.spec.tsAdded+21
src/app/homepage/sign-up/sign-up.component.tsAdded+117