Skip to content

Commit 37e00f2

Browse files
committed
fix(arc-saas): review changes
review changes
1 parent dd1cdfc commit 37e00f2

File tree

12 files changed

+135
-72
lines changed

12 files changed

+135
-72
lines changed

projects/arc-docs/src/app/app.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {BrowserModule} from '@angular/platform-browser';
44
import {AppRoutingModule} from './app-routing.module';
55
import {AppComponent} from './app.component';
66
import {ThemeModule} from '@project-lib/theme/theme.module';
7-
import {HeaderComponent} from '@project-lib/components/header /header.component';
7+
import {HeaderComponent} from '@project-lib/components/header/header.component';
88
import {SidebarComponent} from '@project-lib/components/sidebar/sidebar.component';
99

1010
@NgModule({

projects/arc-docs/src/app/docs/docs.module.ts

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,10 @@ import {CommonModule} from '@angular/common';
33
import {DocsComponent} from './docs.component';
44
import {DocsRoutingModule} from './docs-routing.module';
55
import {ThemeModule} from '@project-lib/theme/theme.module';
6-
import {HeaderComponent} from '@project-lib/components/header /header.component';
6+
import {HeaderComponent} from '@project-lib/components/header/header.component';
77
import {SidebarComponent} from '@project-lib/components/sidebar/sidebar.component';
8-
import {
9-
AuthService,
10-
CoreAuthModule,
11-
LoggedInUserAdapterService,
12-
LoginAdapterService,
13-
} from '@project-lib/core/auth';
14-
import {
15-
APPLICATION_STORE,
16-
APP_SESSION_STORE,
17-
AnyAdapter,
18-
ApiService,
19-
UserSessionStoreService,
20-
} from '@project-lib/core/index';
21-
import {
22-
InMemoryStorageService,
23-
LOCAL_STORAGE,
24-
SESSION_STORAGE,
25-
} from 'ngx-webstorage-service';
8+
import {AuthService, CoreAuthModule} from '@project-lib/core/auth';
269
import {HttpClientModule} from '@angular/common/http';
27-
import {SignUpAdapter} from '@project-lib/core/auth/adapters/signup-adapter.service';
2810
import {NgxPermissionsService, NgxPermissionsStore} from 'ngx-permissions';
2911
import {AuthModule} from '@project-lib/components/index';
3012
import {environment} from '@main-project/boiler/env/environment';
@@ -43,16 +25,6 @@ import {APP_CONFIG} from '@project-lib/app-config';
4325
CoreAuthModule,
4426
],
4527
providers: [
46-
// AuthService,
47-
// UserSessionStoreService,
48-
// {provide: APPLICATION_STORE, useExisting: LOCAL_STORAGE},
49-
// {provide: APP_SESSION_STORE, useExisting: SESSION_STORAGE},
50-
// InMemoryStorageService,
51-
// ApiService,
52-
// SignUpAdapter,
53-
// LoggedInUserAdapterService,
54-
// LoginAdapterService,
55-
// AnyAdapter,
5628
NgxPermissionsStore,
5729
{
5830
provide: APP_CONFIG,

projects/arc-docs/src/app/docs/getting-started/components/introduction/introduction.component.html

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,26 @@ <h2 class="nb-card-header-title">What is Arc-Angular-Boilerplate</h2>
66
</nb-card-header>
77
<nb-card-body>
88
<p>
9+
Arc-Boilerplate provides a standard architecture that helps to
10+
standardize and ensure uniformity across all your projects. This
11+
standardized approach is essential for maintaining consistency,
12+
efficiency.<br />
913
Arc-Boilerplate is a feature-rich library specifically designed to
10-
enhance your Angular development experience. It provides a curated
14+
enhance your Angular development experience. It offers a curated
1115
collection of Angular components, directives, services, and utilities,
12-
all carefully crafted to accelerate your development workflow and
13-
promote best practices.
16+
all meticulously crafted to accelerate your development workflow and
17+
promote best practices. <br />This library not only saves time but
18+
also helps maintain a cohesive and professional framework that can be
19+
easily adapted to specific needs, ultimately enhancing your
20+
development process and the overall quality of your applications.<br />
21+
One of the key features of Arc-Boilerplate is its adherence to a
22+
multi-project structure. This approach offers several benefits,
23+
including improved organization, easier maintenance, and enhanced
24+
scalability. By structuring your projects in this way, you can manage
25+
complex applications more effectively, ensure better separation of
26+
concerns, and streamline the development process. This ultimately
27+
leads to more robust and maintainable codebases, making your Angular
28+
development faster and more efficient.
1429
</p>
1530
</nb-card-body>
1631
</nb-card>
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
<div class="cloning wrapper">
2+
<nb-layout>
3+
<nb-layout-column>
4+
<nb-card id="prerequisites" class="section">
5+
<nb-card-header>
6+
<h2 class="section-title">Prerequisites</h2>
7+
</nb-card-header>
8+
<nb-card-body>
9+
<div class="explore">
10+
<p>
11+
Before proceeding with the cloning process, ensure that you have
12+
the following:
13+
</p>
14+
<ul>
15+
<li>
16+
Git installed on your local machine. If not, you can download
17+
and install it from
18+
<a href="https://git-scm.com/">Git Official Website</a>.
19+
</li>
20+
</ul>
21+
</div>
22+
</nb-card-body>
23+
</nb-card>
24+
25+
<nb-card id="cloning-process" class="section">
26+
<nb-card-header>
27+
<h2 class="section-title">Cloning Process</h2>
28+
</nb-card-header>
29+
<nb-card-body>
30+
<p>
31+
Follow these steps to clone the boilerplate from the Git repository:
32+
</p>
33+
<ol>
34+
<li>Open Terminal/Command Prompt</li>
35+
<div *ngFor="let data of yourDataList">
36+
<li>
37+
{{ data.lable }}
38+
<lib-cli-wrapper [command]="data.listData"></lib-cli-wrapper>
39+
</li>
40+
</div>
41+
</ol>
42+
</nb-card-body>
43+
</nb-card>
44+
45+
<nb-card id="usage" class="section">
46+
<nb-card-header>
47+
<h2 class="section-title">Usage</h2>
48+
</nb-card-header>
49+
<nb-card-body>
50+
<ol>
51+
<li>
52+
<h3>Installing Dependencies</h3>
53+
<p>
54+
Before running the project, you need to install its
55+
dependencies. Run the following command:
56+
</p>
57+
<div class="cli-wrapper">
58+
<div class="cli">
59+
<div class="cli-header">
60+
<h5>bash</h5>
61+
</div>
62+
<div class="cli-content">
63+
<code> npm i </code>
64+
</div>
65+
</div>
66+
</div>
67+
</li>
68+
</ol>
69+
</nb-card-body>
70+
</nb-card>
71+
72+
<nb-card id="running" class="section">
73+
<nb-card-header>
74+
<h2 class="section-title">Run Project</h2>
75+
</nb-card-header>
76+
<nb-card-body>
77+
<p>To run the project locally, use the following command:</p>
78+
<div class="cli-wrapper">
79+
<div class="cli">
80+
<div class="cli-header">
81+
<h5>bash</h5>
82+
</div>
83+
<div class="cli-content">
84+
<code> ng serve </code>
85+
</div>
86+
</div>
87+
</div>
88+
</nb-card-body>
89+
</nb-card>
90+
91+
<nb-card id="additional-resources" class="section">
92+
<nb-card-header>
93+
<h2 class="section-title">Additional Resources</h2>
94+
</nb-card-header>
95+
<nb-card-body>
96+
<div class="explore">
97+
<ul>
98+
<li><a href="https://git-scm.com/doc">Git Documentation</a></li>
99+
<li>
100+
<a
101+
href="https://docs.github.com/en/get-started/quickstart/fork-a-repo#step-2-create-a-local-clone-of-your-fork"
102+
>GitHub Help - Cloning a Repository</a
103+
>
104+
</li>
105+
</ul>
106+
</div>
107+
</nb-card-body>
108+
</nb-card>
109+
</nb-layout-column>
110+
</nb-layout>
111+
</div>

projects/arc-docs/src/styles.scss

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -61,42 +61,7 @@ router-outlet.main-router + * {
6161
font-size: 13px;
6262
}
6363
}
64-
.google-btn {
65-
width: 24.125rem;
66-
height: 4rem;
67-
border-radius: 0.375rem;
68-
font-size: 1.25rem;
69-
font-family: #{nb-theme(font-family-primary)};
70-
font-weight: 600;
71-
line-height: 1.5rem;
72-
background-color: map.get($font, 'light');
73-
border: 0.063rem solid map.get($color, 'border-disable');
74-
position: absolute;
75-
76-
&:hover {
77-
border-color: map-get($font, 'placeholder');
78-
}
79-
80-
&:active {
81-
border-color: map-get($font, 'primary');
82-
}
83-
}
8464

85-
.sign-up-button {
86-
button {
87-
font-weight: normal;
88-
border: 1px solid #d9d9d9;
89-
background: #fff;
90-
text-transform: inherit;
91-
font-size: 13px;
92-
&:hover {
93-
border: 1px solid #8f8f8f;
94-
}
95-
img {
96-
margin-right: 5px;
97-
}
98-
}
99-
}
10065

10166
.footer {
10267
color: #525252;

projects/arc/src/app/app.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {OverlayModule} from '@angular/cdk/overlay';
2121
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
2222
import {GanttModule} from '@project-lib/components/index';
2323
import {SelectModule} from '@project-lib/components/selector';
24-
import {HeaderComponent} from '@project-lib/components/header /header.component';
24+
import {HeaderComponent} from '@project-lib/components/header/header.component';
2525
import {SidebarComponent} from '@project-lib/components/sidebar/sidebar.component';
2626

2727
@NgModule({

0 commit comments

Comments
 (0)