working #8
@@ -38,4 +38,7 @@ Task:
|
||||
CompanyConnect | need to lookup company before making a new one
|
||||
|
||||
Finish Auth setup
|
||||
Make sure autorenew works
|
||||
Make sure autorenew works
|
||||
|
||||
Jobs/editor w/ Querystring JobID=# is not implimented yet
|
||||
Company -> Edit employees not implimented yet
|
||||
@@ -1,9 +1,8 @@
|
||||
<div class="top-bar">
|
||||
<div class="top-bar-buttons">
|
||||
<a #homeLink class="nav-button" routerLink="">HOME</a>
|
||||
<a #jobsLink class="nav-button" routerLink="/jobs">JOB BOARD</a>
|
||||
<a #resumesLink class="nav-button" routerLink="/resumes">RESUMES</a>
|
||||
<a #resumesLink class="nav-button" routerLink="/companys">COMPANIES</a>
|
||||
<a #companiesLink class="nav-button" routerLink="/company">COMPANIES</a>
|
||||
</div>
|
||||
<a class="top-bar-logo" routerLink="">
|
||||
<img class="top-bar-logo" style="margin: 0;" src="img/logo-full.png" />
|
||||
|
||||
@@ -9,11 +9,14 @@ import { JobEditorComponent } from './pages/main/jobs/editor/jobeditor.component
|
||||
import { CompanyConnectComponent } from './pages/main/company/connect/companyconnect.component';
|
||||
import { JobViewerComponent } from './pages/main/jobs/viewer/jobviewer.component';
|
||||
import { CompanyJobsComponent } from './pages/main/company/jobs/jobs.component';
|
||||
import { CompanyComponent } from './pages/main/company/company.component';
|
||||
|
||||
export const routes: Routes = [
|
||||
|
||||
// Home
|
||||
{ path: "", component: HomeComponent },
|
||||
|
||||
// Resumes
|
||||
{ path: "resumes", component: ResumesComponent },
|
||||
|
||||
// Jobs
|
||||
@@ -22,6 +25,7 @@ export const routes: Routes = [
|
||||
{ path: "jobs/viewer", component: JobViewerComponent },
|
||||
|
||||
// Company
|
||||
{ path: "company", component: CompanyComponent },
|
||||
{ path: "company/connect", component: CompanyConnectComponent },
|
||||
{ path: "company/jobs", component: CompanyJobsComponent },
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ import { isDevMode } from '@angular/core';
|
||||
})
|
||||
export class App {
|
||||
|
||||
@ViewChild('homeLink') homeLink!: ElementRef<HTMLAnchorElement>;
|
||||
@ViewChild('companiesLink') companiesLink!: ElementRef<HTMLAnchorElement>;
|
||||
@ViewChild('jobsLink') jobLink!: ElementRef<HTMLAnchorElement>;
|
||||
@ViewChild('resumesLink') resumeLink!: ElementRef<HTMLAnchorElement>;
|
||||
|
||||
@@ -49,7 +49,7 @@ export class App {
|
||||
}
|
||||
|
||||
ngAfterViewInit(){
|
||||
let ViewLinks = [ this.homeLink, this.resumeLink, this.jobLink ];
|
||||
let ViewLinks = [ this.companiesLink, this.resumeLink, this.jobLink ];
|
||||
ViewLinks.forEach(link => {
|
||||
if (new URL(link.nativeElement.href).pathname === new URL(window.location.href).pathname){
|
||||
link.nativeElement.classList.add("active");
|
||||
|
||||
Reference in New Issue
Block a user