Skip to content

Commit f07c1b9

Browse files
PANSTER.DanielPANSTER.Daniel
authored andcommitted
fix thumb screen previews on About page
1 parent 924d36c commit f07c1b9

File tree

5 files changed

+32
-17
lines changed

5 files changed

+32
-17
lines changed

src/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="w3-sidebar w3-bar-block w3-black w3-top" style="z-index:3;width:10%;">
22
<div class="w3-container w3-display-container w3-padding-16">
33
<h3>
4-
<b>3D Test</b>
4+
<b><!--3D Test--></b>
55
</h3>
66
</div>
77
<code>

src/app/home/home.component.html

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,30 @@ <h1>
1616
<b>Note: This page is not responsive for mobile screens yet.</b>
1717
</p>
1818
</div>
19-
<ul>
20-
<li>Cube - Three.js</li>
21-
<a routerLink="cube-threejs">
22-
<!-- possible property binding
23-
<img src="{{imgURL}}">
24-
<img [src]="imgURL">
25-
-->
26-
<img [src]="imgURL_cube_threejs" alt="" height="150" width="150">
27-
</a>
28-
<li>CSS3D - Three.js</li>
29-
<a routerLink="css3d-threejs">
30-
<img [src]="imgURL_css3d_threejs" alt="" height="150" width="150">
31-
</a>
32-
</ul>
19+
20+
<!-- thumb naming-->
21+
<div class="w3-row">
22+
<div class="w3-col s3 w3-center">
23+
<p>Cube - Three.js</p>
24+
</div>
25+
<div class="w3-col s3 w3-center">
26+
<p>CSS3D - Three.js</p>
27+
</div>
28+
<div class="w3-col s6"></div>
29+
</div>
30+
31+
<!--thumbs-->
32+
<div class="w3-row">
33+
<div class="w3-col s3 w3-center">
34+
<a routerLink="cube-threejs">
35+
<img [src]="imgURL_cube_threejs" alt="" height="150" width="150">
36+
</a>
37+
</div>
38+
<div class="w3-col s3 w3-center">
39+
<a routerLink="css3d-threejs">
40+
<img [src]="imgURL_css3d_threejs" alt="" height="150" width="150">
41+
</a>
42+
</div>
43+
<div class="w3-col s6"></div>
44+
</div>
3345
</div>

src/app/home/home.component.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ import { Component, OnInit } from '@angular/core';
77
})
88
export class HomeComponent implements OnInit {
99

10-
public imgURL_cube_threejs = "assets/texture/cube_threejs.jpg";
11-
public imgURL_css3d_threejs = "/assets/texture/css3d_threejs.jpg";
10+
// thumbnails
11+
public imgURL_cube_threejs = "assets/screens/thumb_cube_threejs.jpg";
12+
public imgURL_css3d_threejs = "assets/screens/thumb_css3d_threejs.jpg";
13+
14+
1215
constructor() { }
1316

1417
ngOnInit() {
File renamed without changes.

0 commit comments

Comments
 (0)