Skip to content

Commit 00e5934

Browse files
committed
feat: stubbed in various unreal pages
1 parent 60fd00a commit 00e5934

13 files changed

+145
-1
lines changed

src/app/start/start.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@
4545
</ecsact-sidenav-section>
4646
<ecsact-sidenav-section title="Unreal Engine">
4747
<a routerLink="/start/unreal" routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}">Setup</a>
48+
<a routerLink="/start/unreal/runtime" routerLinkActive="active">Runtime</a>
4849
<a routerLink="/start/unreal/codegen" routerLinkActive="active">Codegen</a>
50+
<a routerLink="/start/unreal/runner" routerLinkActive="active">Runner</a>
51+
<a routerLink="/start/unreal/subsystems" routerLinkActive="active">Subsystems</a>
4952
</ecsact-sidenav-section>
5053
<ecsact-sidenav-section title="Godot">
5154
<a routerLink="/start/godot" routerLinkActive="active"

src/app/start/unreal/BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ ng_project(
1111
],
1212
deps = [
1313
"//src/app/start/unreal/codegen",
14+
"//src/app/start/unreal/runtime",
15+
"//src/app/start/unreal/runner",
16+
"//src/app/start/unreal/subsystems",
1417
"//:node_modules/@angular/common",
1518
"//:node_modules/@angular/core",
1619
"//:node_modules/@angular/router",
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
load("//tools:ng.bzl", "ng_project")
2+
3+
package(default_visibility = ["//:__subpackages__"])
4+
5+
ng_project(
6+
name = "runner",
7+
srcs = [
8+
"unreal-runner.component.html",
9+
"unreal-runner.component.ts",
10+
],
11+
deps = [
12+
"//:node_modules/@angular/common",
13+
"//:node_modules/@angular/core",
14+
"//:node_modules/@angular/router",
15+
"//src/components/code-block-variation",
16+
"//src/components/prism",
17+
],
18+
)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<article>
2+
<h1>Ecsact Runner</h1>
3+
</article>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
2+
import {RouterLink} from '@angular/router';
3+
import {PrismComponent} from '../../../../components/prism/prism.component';
4+
5+
@Component({
6+
templateUrl: './unreal-runner.component.html',
7+
changeDetection: ChangeDetectionStrategy.OnPush,
8+
standalone: true,
9+
imports: [RouterLink, PrismComponent],
10+
})
11+
export class UnrealRunnerComponent implements OnInit {
12+
constructor() {}
13+
14+
ngOnInit(): void {}
15+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
load("//tools:ng.bzl", "ng_project")
2+
3+
package(default_visibility = ["//:__subpackages__"])
4+
5+
ng_project(
6+
name = "runtime",
7+
srcs = [
8+
"unreal-runtime.component.html",
9+
"unreal-runtime.component.ts",
10+
],
11+
deps = [
12+
"//:node_modules/@angular/common",
13+
"//:node_modules/@angular/core",
14+
"//:node_modules/@angular/router",
15+
"//src/components/code-block-variation",
16+
"//src/components/prism",
17+
],
18+
)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<article>
2+
<h1>Ecsact Runtime access</h1>
3+
<section>
4+
5+
</section>
6+
</article>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core';
2+
import {RouterLink} from '@angular/router';
3+
import {PrismComponent} from '../../../../components/prism/prism.component';
4+
5+
@Component({
6+
templateUrl: './unreal-runtime.component.html',
7+
changeDetection: ChangeDetectionStrategy.OnPush,
8+
standalone: true,
9+
imports: [RouterLink, PrismComponent],
10+
})
11+
export class UnrealRuntimeComponent implements OnInit {
12+
constructor() {}
13+
14+
ngOnInit(): void {}
15+
}

src/app/start/unreal/start-unreal-routing.module.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,30 @@ const routes: Routes = [
1616
m => m.UnrealCodegenComponent,
1717
),
1818
},
19+
{
20+
path: 'runner',
21+
pathMatch: 'full',
22+
loadComponent: () =>
23+
import('./runner/unreal-runner.component').then(
24+
m => m.UnrealRunnerComponent,
25+
),
26+
},
27+
{
28+
path: 'runtime',
29+
pathMatch: 'full',
30+
loadComponent: () =>
31+
import('./runtime/unreal-runtime.component').then(
32+
m => m.UnrealRuntimeComponent,
33+
),
34+
},
35+
{
36+
path: 'subsystems',
37+
pathMatch: 'full',
38+
loadComponent: () =>
39+
import('./subsystems/unreal-subsystems.component').then(
40+
m => m.UnrealSubsystemsComponent,
41+
),
42+
},
1943
];
2044

2145
@NgModule({

src/app/start/unreal/start-unreal.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ <h2 id="ecsact-unreal-plugin-features">Ecsact Unreal Plugin Features</h2>
6767
</a>
6868
<a
6969
class="aspect-video rounded-lg shadow-lg border border-transparent hover:border-secondary transition-colors bg-content-bg py-4 px-8"
70-
routerLink="/start/unreal/runner-subsystems">
70+
routerLink="/start/unreal/subsystems">
7171
<div>Ecsact Runner Subsystems</div>
7272
<div>TODO</div>
7373
</a>

0 commit comments

Comments
 (0)