Skip to content

Commit

Permalink
audit update
Browse files Browse the repository at this point in the history
  • Loading branch information
ryzizub committed May 11, 2019
1 parent da4527f commit 04cc802
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 10 deletions.
3 changes: 2 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
"src/assets",
"src/robots.txt"
],
"styles": [
"src/styles.scss"
Expand Down
31 changes: 30 additions & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,38 @@
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{
"source": "*.js",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=10800"
}
]
},
{
"source": "*.css",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=10800"
}
]
},
{
"source": "**/*.@(jpg|jpeg|gif|png|svg)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=19000"
}
]
}
]
},
"storage": {
"rules": "storage.rules"
}
}
}
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</header>
<mat-sidenav #sidenav mode="over">
<mat-nav-list>
<img class="logo" src="assets/devfest-logo.svg"/>
<img class="logo" alt="Devfest logo" src="assets/devfest-logo.svg"/>
<a (click)="sidenav.toggle()" *ngFor="let nav of navLinks" [routerLink]="nav.path" mat-list-item>{{nav.label}}</a>
</mat-nav-list>
</mat-sidenav>
Expand Down
2 changes: 1 addition & 1 deletion src/app/app/navigation/navigation.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<mat-icon>menu</mat-icon>
</button>
<a *ngIf="!isHome" class="logo" mat-icon-button routerLink="home">
<img src="assets/devfest-logo.svg"/>
<img alt="Devfest logo" src="assets/devfest-logo.svg"/>
</a>
<span class="spacer"></span>
<nav *ngIf="!isMobile" mat-tab-nav-bar>
Expand Down
4 changes: 2 additions & 2 deletions src/app/home/home.component.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="container">
<div class="logo-date-holder">
<img src="assets/devfest-logo.svg"/>
<img src="assets/devfest-logo-time.svg"/>
<img alt="Devfest logo" src="assets/devfest-logo.svg"/>
<img alt="Devfest data" src="assets/devfest-logo-time.svg"/>
</div>
<div class="socials">
<a href="https://twitter.com/devfest_cz" mat-icon-button target="_blank">
Expand Down
11 changes: 7 additions & 4 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta content="The largest (not only) Google tech festival in Central Europe!" name="Description">
<meta name="keywords" content="event, gdg, gde, devfest, google, programming, android, chrome, polymer, developers, web, cloud, androiddev, firebase">
<meta name="keywords"
content="event, gdg, gde, devfest, google, programming, android, chrome, polymer, developers, web, cloud, androiddev, firebase">

<meta name="author" content="GUG.cz Czech republic">
<meta name="theme-color" content="#ffffff">
Expand Down Expand Up @@ -32,7 +34,6 @@

<!-- Material icons + Roboto font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">

<title>DevFest.cz 2019</title>
<base href="/">
Expand All @@ -41,14 +42,16 @@
<link rel="icon" type="image/x-icon" href="favicon.ico">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-117270075-1"></script>
<script>
<script async>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-117270075-1');
</script>
</head>

<body>
<app-root></app-root>
</body>
</html>

</html>
2 changes: 2 additions & 0 deletions src/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Allow: /
7 changes: 7 additions & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@import '@angular/material/prebuilt-themes/pink-bluegrey.css';
@import "colors";
@import url('https://fonts.googleapis.com/css?family=Roboto');


html, body {
width: 100%;
Expand All @@ -10,6 +12,7 @@ html, body {

* {
font-family: Roboto, serif;
font-display: auto;
}

.mat-tab-nav-bar {
Expand All @@ -19,3 +22,7 @@ html, body {
.mat-tab-group.mat-primary .mat-ink-bar, .mat-tab-nav-bar.mat-primary .mat-ink-bar {
background-color: #0bbcbc;
}

*{
font-family: 'Roboto', sans-serif;
}

0 comments on commit 04cc802

Please sign in to comment.