Updated
This commit is contained in:
		
							
								
								
									
										5
									
								
								src/app/components/console/console.component.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								src/app/components/console/console.component.scss
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
.console {
 | 
			
		||||
	background-color: #333;
 | 
			
		||||
	color: #00ff00;
 | 
			
		||||
	font-family: monospace !important;
 | 
			
		||||
}
 | 
			
		||||
@@ -1,13 +1,9 @@
 | 
			
		||||
@import url("https://fonts.googleapis.com/css?family=Arvo");
 | 
			
		||||
 | 
			
		||||
.typewriter {
 | 
			
		||||
    h1,h2,h3,h4,h5,h6 {
 | 
			
		||||
    & {
 | 
			
		||||
        overflow: hidden;
 | 
			
		||||
        margin: 0 auto;
 | 
			
		||||
        letter-spacing: .15em;
 | 
			
		||||
        animation: blink-caret 1s step-end infinite;
 | 
			
		||||
        display: inline;
 | 
			
		||||
        font-family: 'Arvo', serif;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @keyframes typing {
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										16
									
								
								src/app/services/quote.service.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								src/app/services/quote.service.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
import {Injectable} from '@angular/core';
 | 
			
		||||
 | 
			
		||||
@Injectable({providedIn: 'root'})
 | 
			
		||||
export class QuoteService {
 | 
			
		||||
	readonly quotes = [
 | 
			
		||||
		'When you are a kid you don\'t realize you are also watching your parents grow up',
 | 
			
		||||
		'Some one at Google was like "Yea, just have someone drive down every road on earth!"',
 | 
			
		||||
		'Anxiety is like when video game combat music is playing but you can\'t find the enemy',
 | 
			
		||||
		'Why do kamikaze pilots wear helmets?',
 | 
			
		||||
		'The cake is a lie!'
 | 
			
		||||
	];
 | 
			
		||||
 | 
			
		||||
	random() {
 | 
			
		||||
		return this.quotes[Math.round(Math.random() * this.quotes.length)];
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user