Skip to content

Commit

Permalink
feat: correção de bugs e atualização da página perfil-profissional
Browse files Browse the repository at this point in the history
  • Loading branch information
monsorees committed Dec 12, 2024
1 parent a5d32a6 commit b45db8d
Show file tree
Hide file tree
Showing 17 changed files with 15,582 additions and 15,383 deletions.
30,197 changes: 15,089 additions & 15,108 deletions package-lock.json

Large diffs are not rendered by default.

112 changes: 56 additions & 56 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
{
"name": "mindstep",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"lint": "ng lint",
"format": "prettier --write src",
"check": "prettier --check src",
"typecheck": "tsc --noEmit",
"prepare": "husky install"
},
"private": true,
"dependencies": {
"@angular/animations": "^17.3.0",
"@angular/common": "^17.3.0",
"@angular/compiler": "^17.3.0",
"@angular/core": "^17.3.0",
"@angular/forms": "^17.3.0",
"@angular/platform-browser": "^17.3.0",
"@angular/platform-browser-dynamic": "^17.3.0",
"@angular/router": "^17.3.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.3.10",
"@angular-eslint/builder": "17.5.3",
"@angular-eslint/eslint-plugin": "17.5.3",
"@angular-eslint/eslint-plugin-template": "17.5.3",
"@angular-eslint/schematics": "17.5.3",
"@angular-eslint/template-parser": "17.5.3",
"@angular/cli": "^17.3.10",
"@angular/compiler-cli": "^17.3.0",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/jasmine": "~5.1.0",
"@typescript-eslint/eslint-plugin": "7.11.0",
"@typescript-eslint/parser": "7.11.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^8.0.3",
"jasmine-core": "~5.1.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",
"lint-staged": "^15.2.10",
"prettier": "3.3.3",
"typescript": "~5.4.2"
}
"name": "mindstep",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"lint": "ng lint",
"format": "prettier --write src",
"check": "prettier --check src",
"typecheck": "tsc --noEmit",
"prepare": "husky install"
},
"private": true,
"dependencies": {
"@angular/animations": "^17.3.0",
"@angular/common": "^17.3.0",
"@angular/compiler": "^17.3.0",
"@angular/core": "^17.3.0",
"@angular/forms": "^17.3.0",
"@angular/platform-browser": "^17.3.0",
"@angular/platform-browser-dynamic": "^17.3.0",
"@angular/router": "^17.3.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.3.10",
"@angular-eslint/builder": "17.5.3",
"@angular-eslint/eslint-plugin": "17.5.3",
"@angular-eslint/eslint-plugin-template": "17.5.3",
"@angular-eslint/schematics": "17.5.3",
"@angular-eslint/template-parser": "17.5.3",
"@angular/cli": "^17.3.10",
"@angular/compiler-cli": "^17.3.0",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/jasmine": "~5.1.0",
"@typescript-eslint/eslint-plugin": "7.11.0",
"@typescript-eslint/parser": "7.11.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^8.0.3",
"jasmine-core": "~5.1.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",
"lint-staged": "^15.2.10",
"prettier": "3.3.3",
"typescript": "~5.4.2"
}
}
1 change: 0 additions & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { SharedModule } from './shared/shared.module';
import { AppRoutingModule } from './app-routing.module';
import { HomeModule } from './pages/home/home.module';
import { ProximasAtividadesComponent } from './pages/proximas-atividades/proximas-atividades.component';

@NgModule({
declarations: [
AppComponent,
Expand Down
5 changes: 5 additions & 0 deletions src/app/pages/home/home-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Routes, RouterModule } from '@angular/router';
import { HomeComponent } from './home.component';
import { MetasDiariasComponent } from '../metas-diarias/metas-diarias.component';
import { ProximasAtividadesComponent } from '../proximas-atividades/proximas-atividades.component';
import { PerfilProfissionalComponent } from '../perfil-profissional/perfil-profissional.component';
//import { PlanoEstudosComponent } from '../plano-estudos/plano-estudos.component';
//import { GamificacaoComponent } from '../gamificacao/gamificacao.component';

Expand All @@ -30,6 +31,10 @@ const routes: Routes = [
path: 'home/metas-diarias',
component: MetasDiariasComponent,
},
{
path: 'home/perfil-profissional',
component: PerfilProfissionalComponent,
},
];

@NgModule({
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
</div>
</a>

<a href="">
<a routerLink="perfil-profissional">
<div class="card">
<img src="../../../assets/cards/card6.svg" alt="" />
<p>Perfil profissional</p>
Expand Down
160 changes: 80 additions & 80 deletions src/app/pages/home/home.component.scss
Original file line number Diff line number Diff line change
@@ -1,122 +1,122 @@
@import '../../../styles/base/variables';
@import '../../../styles/base/fonts';
.header-content {
width: 100vw;
position: absolute;
width: 100vw;
position: absolute;
}

.content-icon {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 90vw;
width: 90vw;
margin: 0 auto;
padding-top: 25px;
button {
background: none;
cursor: pointer;
img {
width: 25px;
height: 25px;
background: none;
display: flex;
justify-content: space-between;
align-items: center;
max-width: 90vw;
width: 90vw;
margin: 0 auto;
padding-top: 25px;
button {
background: none;
cursor: pointer;
img {
width: 25px;
height: 25px;
background: none;
}
}
}
}

.img-profile {
display: flex;
align-items: center;
justify-content: center;
position: relative;
img {
width: 90px;
height: 90px;
}
display: flex;
align-items: center;
justify-content: center;
position: relative;
img {
width: 90px;
height: 90px;
}
}

.seach-notification {
display: flex;
justify-content: center;
align-items: center;
gap: 5px;
display: flex;
justify-content: center;
align-items: center;
gap: 5px;
}

.home-content {
padding: 15px 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 12px;
flex: 1;
padding: 15px 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 12px;
flex: 1;
}

.card {
width: 280px;
height: 40px;
border-radius: 7px;
border: none;
background-color: $background-p;
text-align: center;
font-family: $primary-font;
font-size: 16px;
font-weight: 500;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 1px 1px 3px 1px rgba(#000000, 0.3);
color: $boto-1;
padding: 18px;
img {
height: 20px;
width: 20px;
}
width: 280px;
height: 40px;
border-radius: 7px;
border: none;
background-color: $background-p;
text-align: center;
font-family: $primary-font;
font-size: 16px;
font-weight: 500;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 1px 1px 3px 1px rgba(#000000, 0.3);
color: $boto-1;
padding: 18px;
img {
height: 20px;
width: 20px;
}
}

.card:hover {
padding: 25px;
transition: ease-in-out 100ms;
padding: 25px;
transition: ease-in-out 100ms;
}

// DROPDOWN
.dropdown {
position: relative;
display: inline-block;
position: relative;
display: inline-block;
}

.dropdown-btn {
background-color: #4a4a8a;
/* Cor semelhante ao menu */
color: white;
padding: 10px 20px;
font-size: 16px;
border: none;
cursor: pointer;
background-color: #4a4a8a;
/* Cor semelhante ao menu */
color: white;
padding: 10px 20px;
font-size: 16px;
border: none;
cursor: pointer;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #4a4a8a;
/* Cor do fundo */
min-width: 200px;
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
z-index: 1002;
display: none;
position: absolute;
background-color: #4a4a8a;
/* Cor do fundo */
min-width: 200px;
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
z-index: 1002;
}

.dropdown-content a {
color: white;
padding: 12px 16px;
text-decoration: none;
display: block;
color: white;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdown-content a:hover {
background-color: #3b3b6a;
/* Cor de destaque */
background-color: #3b3b6a;
/* Cor de destaque */
}

.show {
display: block;
display: block;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<div class="header"></div>

<div class="main-content">
<div class="title-header">
<h1 class="title">{{ title }}</h1>
<h2 class="subtitle">{{ subtitle }}</h2>
</div>
<div class="seguidores">{{ seguidores }}</div>
<div class="info-content">
<div class="qualificacoes">
<h1>{{ nivel }}</h1>
<div class="qualicacoes-content">
<!--<mat-toolbar color="primary"></mat-toolbar>
<mat-icon *ngFor="let start of maxRatingArr"></mat-icon>-->
</div>
</div>
<div class="fotos">
<img src="" alt="" />
<img src="" alt="" />
<img src="" alt="" />
</div>
</div>
<div class="bio">
<div class="bio-title"></div>
<h3>Minha bio</h3>
{{ bioText }}
</div>
</div>
Loading

0 comments on commit b45db8d

Please sign in to comment.