Skip to content

Commit

Permalink
feat(career): criado integrado e integrado front-end
Browse files Browse the repository at this point in the history
  • Loading branch information
guiseek committed Oct 10, 2024
1 parent 17c30a2 commit 25ac668
Show file tree
Hide file tree
Showing 138 changed files with 2,138 additions and 367 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,9 @@ jobs:
# - run: pnpm exec nx-cloud record -- echo Hello World
# Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
- run: pnpm exec nx affected -t lint test build --parallel=10

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/apps/devmx/browser
1 change: 1 addition & 0 deletions apps/devmx/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"tsConfig": "apps/devmx/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"apps/devmx/src/CNAME",
{
"glob": "**/*",
"input": "apps/devmx/public"
Expand Down
28 changes: 28 additions & 0 deletions apps/devmx/public/placeholder.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 0 additions & 28 deletions apps/devmx/public/skeleton.svg

This file was deleted.

1 change: 1 addition & 0 deletions apps/devmx/src/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
devparana.mx
13 changes: 8 additions & 5 deletions apps/devmx/src/app/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import { provideEnv, provideHttpClientImpl } from '@devmx/shared-data-access';
import {
provideRouter,
withRouterConfig,
withViewTransitions,
} from '@angular/router';
// import { provideCrumbs } from '@devmx/shared-ui-global/crumbs';
import { provideLayout } from '@devmx/shared-ui-global/layout';
import { registerLocaleData } from '@angular/common';
import { authInterceptor } from './interceptors';
import ptBr from '@angular/common/locales/extra/br';
import { AuthErrorHandler } from './handlers';
import pt from '@angular/common/locales/pt';
import { appRoutes } from './app.routes';
import { env } from '../envs/env';
import {
provideRouter,
withRouterConfig,
withViewTransitions,
} from '@angular/router';
import {
withFetch,
HttpClient,
Expand Down Expand Up @@ -49,5 +51,6 @@ export const appConfig: ApplicationConfig = {
provideHttpClient(withFetch(), withInterceptors([authInterceptor])),
provideHttpClientImpl(HttpClient),
provideEnv(env),
provideLayout(),
],
};
9 changes: 8 additions & 1 deletion apps/devmx/src/app/app.routes.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import { Route } from '@angular/router';

export const appRoutes: Route[] = [
{
path: 'carreiras',
loadChildren: () =>
import('@devmx/career-feature-shell').then(
(m) => m.careerFeatureShellRoutes
),
},
{
path: 'eventos',
loadChildren: () =>
Expand All @@ -25,6 +32,6 @@ export const appRoutes: Route[] = [
{
path: '',
pathMatch: 'prefix',
redirectTo: 'conta',
redirectTo: 'carreiras',
},
];
8 changes: 4 additions & 4 deletions apps/devmx/src/scss/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ $light: mat.define-theme(
(
color: (
theme-type: light,
primary: custom.$green-palettte,
tertiary: custom.$purple-palettte,
// primary: mat.$green-palette,
// tertiary: mat.$spring-green-palette,,,,
// primary: custom.$primary,
// tertiary: custom.$tertiary,
primary: mat.$green-palette,
tertiary: mat.$spring-green-palette,
),
density: (
scale: 0,
Expand Down
147 changes: 147 additions & 0 deletions apps/devmx/src/scss/themes/m3-theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
// This file was generated by running 'ng generate @angular/material:m3-theme'.
// Proceed with caution if making changes to this file.

@use 'sass:map';
@use '@angular/material' as mat;

// Note: Color palettes are generated from primary: #1A84FF, secondary: #00A656, tertiary: #FB8700, neutral: #919094
$_palettes: (
primary: (
0: #000000,
10: #00210c,
20: #003919,
25: #004520,
30: #005227,
35: #00602f,
40: #006d36,
50: #008946,
60: #02a656,
70: #39c26f,
80: #5adf87,
90: #79fca1,
95: #c4ffcd,
98: #eaffea,
99: #f5fff3,
100: #ffffff,
),
secondary: (
0: #000000,
10: #001b3e,
20: #002f65,
25: #003a79,
30: #00458e,
35: #0051a4,
40: #005cba,
50: #0075e8,
60: #418fff,
70: #7babff,
80: #aac7ff,
90: #d7e3ff,
95: #ecf0ff,
98: #f9f9ff,
99: #fdfbff,
100: #ffffff,
),
tertiary: (
0: #000000,
10: #2f1500,
20: #4e2600,
25: #5e2f00,
30: #6f3800,
35: #804200,
40: #924c00,
50: #b66000,
60: #dc7600,
70: #ff8e1e,
80: #ffb780,
90: #ffdcc4,
95: #ffede3,
98: #fff8f5,
99: #fffbff,
100: #ffffff,
),
neutral: (
0: #000000,
4: #0b0b0c,
6: #101013,
10: #1b1b1f,
12: #1f1f23,
17: #2a2a2d,
20: #303033,
22: #343438,
24: #39393d,
25: #3b3b3f,
30: #46464a,
35: #525256,
40: #5e5e62,
50: #77767a,
60: #919094,
70: #acaaaf,
80: #c7c6ca,
87: #dbdade,
90: #e4e2e6,
92: #eae8ec,
94: #efedf1,
95: #f2f0f4,
96: #f5f3f7,
98: #fbf8fd,
99: #fefbff,
100: #ffffff,
),
neutral-variant: (
0: #000000,
10: #161c27,
20: #2a303d,
25: #353b48,
30: #414754,
35: #4c5260,
40: #585e6c,
50: #717786,
60: #8b91a0,
70: #a5abbb,
80: #c1c6d6,
90: #dde2f3,
95: #ecf0ff,
98: #f9f9ff,
99: #fdfbff,
100: #ffffff,
),
error: (
0: #000000,
10: #410002,
20: #690005,
25: #7e0007,
30: #93000a,
35: #a80710,
40: #ba1a1a,
50: #de3730,
60: #ff5449,
70: #ff897d,
80: #ffb4ab,
90: #ffdad6,
95: #ffedea,
98: #fff8f7,
99: #fffbff,
100: #ffffff,
),
);

$_rest: (
secondary: map.get($_palettes, secondary),
neutral: map.get($_palettes, neutral),
neutral-variant: map.get($_palettes, neutral-variant),
error: map.get($_palettes, error),
);
$_primary: map.merge(map.get($_palettes, primary), $_rest);
$_tertiary: map.merge(map.get($_palettes, secondary), $_rest);

$light-theme: mat.define-theme((
color: (
theme-type: light,
primary: $_primary,
tertiary: $_tertiary,
),
));

$primary: $_primary;
$tertiary: $_tertiary;
Loading

0 comments on commit 25ac668

Please sign in to comment.