Skip to content

Commit e3f935a

Browse files
committed
literally 1984
1 parent 2e41476 commit e3f935a

File tree

7 files changed

+235
-229
lines changed

7 files changed

+235
-229
lines changed

Diff for: package-lock.json

+200-200
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@
1010
},
1111
"private": true,
1212
"dependencies": {
13-
"@angular/animations": "~13.3.0",
14-
"@angular/common": "~13.3.0",
15-
"@angular/compiler": "~14.2.2",
16-
"@angular/core": "~13.3.0",
17-
"@angular/forms": "~13.3.0",
18-
"@angular/platform-browser": "~13.3.0",
19-
"@angular/platform-browser-dynamic": "~13.3.0",
20-
"@angular/router": "~13.3.0",
13+
"@angular/animations": "~14.2.9",
14+
"@angular/common": "~14.2.9",
15+
"@angular/compiler": "~14.2.9",
16+
"@angular/core": "~14.2.9",
17+
"@angular/forms": "~14.2.9",
18+
"@angular/platform-browser": "~14.2.9",
19+
"@angular/platform-browser-dynamic": "~14.2.9",
20+
"@angular/router": "~14.2.9",
2121
"rxjs": "~7.5.0",
2222
"tslib": "^2.3.0",
2323
"zone.js": "~0.11.6"
2424
},
2525
"devDependencies": {
26-
"@angular-devkit/build-angular": "~14.2.3",
27-
"@angular/cli": "~14.2.3",
28-
"@angular/compiler-cli": "~14.0.4",
26+
"@angular-devkit/build-angular": "~14.2.8",
27+
"@angular/cli": "~14.2.8",
28+
"@angular/compiler-cli": "~14.2.9",
2929
"@types/jasmine": "~4.0.3",
3030
"@types/node": "^18.7.18",
3131
"jasmine-core": "~4.2.0",
@@ -36,4 +36,4 @@
3636
"karma-jasmine-html-reporter": "~2.0.0",
3737
"typescript": "~4.7.4"
3838
}
39-
}
39+
}

Diff for: src/app/home/home.component.css

+17-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
.image-background img {
1+
.image-background img, .nineTeenEightyFourBackground img {
22
width: 100%;
33
height: 100%;
44
}
55

6-
.image-background h1 {
6+
.image-background h1, .nineTeenEightyFourBackground h1 {
77
margin-top: 200px;
88
text-align: center;
99
font-size: 2.4rem;
@@ -17,6 +17,13 @@
1717
background-size: 100% 100%;
1818
}
1919

20+
.nineTeenEightyFourBackground {
21+
width: 100%;
22+
height: 45% !important;
23+
background-image: url("/assets/pictures/burnie.gif");
24+
background-size: 100% 100%;
25+
}
26+
2027
.main {
2128
display: flex;
2229
flex-direction: column;
@@ -39,6 +46,11 @@
3946
background-color: #902923;
4047
}
4148

42-
.literally1984 {
43-
background-image: url("http://toastytech.com/evil/ie1984.gif");
44-
}
49+
#nineteen-eighty-four {
50+
position: absolute;
51+
right: 50%;
52+
}
53+
54+
#nineteen-eighty-four:hover {
55+
cursor: pointer;
56+
}

Diff for: src/app/home/home.component.html

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<app-header></app-header>
22
<div class="main">
33

4-
<div class="image-background">
4+
<div [ngClass]="is1984 ? 'nineTeenEightyFourBackground' : 'image-background'">
55
<h1>Totally the best website you've ever seen</h1>
66
</div>
77

@@ -48,22 +48,16 @@ <h1>Yes you read that right</h1>
4848
nnnDagon orr'e zhro Azathoth wgah'n athgor n'gha ftaghu kn'a, nnn'ai naflYoggoth lloig nggoka r'luh R'lyeh
4949
y'hah R'lyeh gnaiih.
5050
<br>
51-
<br>
52-
Azathoth athg kn'a Tsathoggua Yoggoth n'gha sgn'wahl kadishtu nnnlloig, zhro R'lyeh ilyaa throd y-Dagon
53-
ftaghu Chaugnar Faugn vulgtm, chtenff s'uhn athg gnaiih hafh'drn hupadgh uaaah. Vulgtlagln hlirgh naflnglui
54-
mg Yoggothyar Cthulhu hrii f'vulgtm, y-orr'e tharanak hai uh'e shugg grah'n, R'lyeh uaaah ngzhro ya
55-
f'shtunggli cathg. H'Nyarlathotep nnnsgn'wahl hrii Tsathoggua mnahn' mg wgah'n vulgtlagln, gnaiih nog uh'e
56-
ah Azathoth s'uhn Dagon Yoggothoth, lloig r'luh Hastur chtenff ee f''bthnk. Stell'bsna h'ooboshu vulgtm mg
57-
s'uhn goka stell'bsna chtenff throd, sll'ha vulgtlagln ph'sgn'wahl y-kn'a h'lloig ch' hai r'luhor,
58-
naflfhtagn Dagon li'hee Dagon nnnilyaa kadishtu ehyeog.
51+
<br>nineTeenEightyFourgon li'hee Dagon nnnilyaa kadishtu ehyeog.
5952
<br>
6053
<br>
6154
Uh'e f'orr'e hriioth chtenff syha'h uh'e naflch' ph'vulgtm gof'nn gotha uln, tharanak hlirgh ehye n'gha
6255
lloig hupadgh naep Shub-Niggurath.
6356
</div>
6457
<br>
6558
<h3>But bet you couldn't read that right</h3>
59+
<img id="nineteen-eighty-four" src="/assets/pictures/1984.gif" alt="1984" height="31" width="88" (click)="is1984 = !is1984">
6660
</div>
6761
</div>
6862

69-
<button id="literally1984"></button>
63+

Diff for: src/app/home/home.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import { Component, OnInit } from '@angular/core';
66
styleUrls: ['./home.component.css']
77
})
88
export class HomeComponent implements OnInit {
9-
9+
is1984: boolean = false;
10+
1011
constructor() { }
1112

1213
ngOnInit(): void {
1314
}
14-
1515
}

Diff for: src/assets/pictures/1984.gif

1.95 KB
Loading

Diff for: src/assets/pictures/burnie.gif

24.7 KB
Loading

0 commit comments

Comments
 (0)