Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit cd968cd

Browse files
committed
feat: updating get-started, intro and additional learning pages
Signed-off-by: Bozhidar Dryanovski <[email protected]>
1 parent dbeede0 commit cd968cd

12 files changed

+431
-183
lines changed

src/app/app-routing.module.ts

+6-5
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ import { TabPage } from './pages/tab.page';
4545
import { LandingPage } from './pages/landing.page';
4646
import { OverviewPage } from './pages/overview.page';
4747
import { ApproachesPage } from './pages/approaches.page';
48-
import { DifferencesPage } from './pages/differences.page';
49-
import { TemplateBuilderPage } from './pages/template-builder.page';
48+
// import { TemplateBuilderPage } from './pages/template-builder.page';
49+
import { AdditionalLearningPage } from './pages/additional-learning.page';
50+
5051
export const componentRoutes = [
5152
{ path: 'overview', component: OverviewPage },
5253
{ path: 'accordion', component: AccordionPage },
@@ -86,9 +87,9 @@ export const componentRoutes = [
8687
export const getStartedRoutes = [
8788
{ path: 'introduction', component: IntroPage },
8889
{ path: 'get-started', component: GettingStartedPage },
89-
{ path: 'differences', component: DifferencesPage },
90-
{ path: 'approaches', component: ApproachesPage },
91-
{ path: 'builder', component: TemplateBuilderPage },
90+
{ path: 'additional-learning', component: AdditionalLearningPage },
91+
{ path: 'additional-strategies', component: ApproachesPage },
92+
// { path: 'builder', component: TemplateBuilderPage },
9293
];
9394

9495
const routes: Routes = [

src/app/app.module.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ import { IntroPage } from './pages/intro.page';
5757
import { ApproachesPage } from './pages/approaches.page';
5858
import { MenuTitlePipe } from './pipes/menu-title.pipe';
5959
import { OverviewPage } from './pages/overview.page';
60-
import { DifferencesPage } from './pages/differences.page';
6160
import { TemplateBuilderPage } from './pages/template-builder.page';
6261
import { FormsModule } from '@angular/forms';
62+
import { AdditionalLearningPage } from './pages/additional-learning.page';
6363

6464
@NgModule({
6565
declarations: [
@@ -74,7 +74,7 @@ import { FormsModule } from '@angular/forms';
7474
ButtonPage,
7575
CardPage,
7676
CheckboxPage,
77-
DifferencesPage,
77+
AdditionalLearningPage,
7878
DatalistPage,
7979
FormPage,
8080
IconsPage,

src/app/pages/differences.page.ts renamed to src/app/pages/additional-learning.page.ts

+17-6
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,17 @@ import { Component } from '@angular/core';
88

99
@Component({
1010
template: `
11-
<h2 cds-text="title" cds-layout="m-t:lg">Key Differences in Clarity Angular and Clarity Core</h2>
11+
<h2 cds-text="display" cds-layout="m-t:lg">Additional Learning</h2>
12+
13+
<h3 cds-text="title" cds-layout="m-t:lg">Key Differences in Clarity Angular and Clarity Core</h3>
1214
1315
<p>
14-
Clarity Angular was designed to try and leverage many of the capabilities of Angular and it was aimed at solving problems with a certain approach. We had the intention to make a design system that also provided guard rails for developers to avoid common pitfalls. What we learned was those same guard rails acted like brick walls for certain valid use cases and made it harder to maintain. With Clarity Core, we've taken the learnings from our Clarity Angular architecture, blended in modern web standards, and crafted a consistent architecture that avoids the previous pitfalls and makes things easier to work with.
16+
We designed Clarity Angular to try and leverage many of the capabilities of Angular, and it was aimed at
17+
solving problems by using guard rails for developers to avoid common pitfalls. Unfortunately, what we learned
18+
was those same guard rails acted like brick walls for certain valid use cases. And it and made it harder to
19+
maintain. With Clarity Core, we've taken the learnings from our Clarity Angular architecture, blended in
20+
modern web standards, and crafted a consistent architecture that avoids the previous pitfalls and makes
21+
things easier to work with.
1522
</p>
1623
1724
<table cds-table="border:all" cds-layout="m-t:lg">
@@ -56,13 +63,17 @@ import { Component } from '@angular/core';
5663
</tbody>
5764
</table>
5865
59-
<h3 cds-text="subtitle" cds-layout="m-t:lg">How to learn more</h3>
66+
<a cds-layout="m-t:lg" href="https://clarity.design" target="_blank" class="btn btn-primary">Get started with Clarity Core</a>
67+
68+
<h3 cds-text="subtitle" cds-layout="m-t:lg">Additional reading</h3>
6069
6170
<p>
62-
We have written more content in our blog about the differences and architectural choices with Clarity Core. We encourage you to familiarize yourself with them, as they are useful also to learn from to apply to your own applications.
71+
We have written more content in our blog about the differences and architectural choices with Clarity Core.
72+
We encourage you to familiarize yourself with them, as they are useful also to learn from to apply to your
73+
own applications.
6374
</p>
6475
65-
<ul>
76+
<ul cds-layout="m-t:lg">
6677
<li><a href="https://medium.com/claritydesignsystem/clarity-core-72f6d3a029bc">Clarity Core - Our design system’s journey to framework independence.</a></li>
6778
<li><a href="https://medium.com/claritydesignsystem/claritys-future-user-focused-framework-independent-accessible-enterprise-ready-and-open-61a3f62eac93">Clarity’s future: user-focused, framework-independent, accessible, enterprise-ready, and open source.</a></li>
6879
<li><a href="https://medium.com/claritydesignsystem/level-up-your-application-by-adopting-clarity-core-8a5f3f863139">Level Up Your Application by Adopting Clarity Core</a></li>
@@ -74,4 +85,4 @@ import { Component } from '@angular/core';
7485
7586
`,
7687
})
77-
export class DifferencesPage {}
88+
export class AdditionalLearningPage {}

0 commit comments

Comments
 (0)