diff --git a/dsynth/src/app/app-routing.module.ts b/dsynth/src/app/app-routing.module.ts index 302b4ce..157a14e 100644 --- a/dsynth/src/app/app-routing.module.ts +++ b/dsynth/src/app/app-routing.module.ts @@ -1,8 +1,12 @@ -import {NgModule} from '@angular/core'; -import {RouterModule, Routes} from '@angular/router'; +import {NgModule} from "@angular/core"; +import {RouterModule, Routes} from "@angular/router"; +import {ContactComponent} from "./contact/contact.component"; -const routes: Routes = []; +const routes: Routes = [ + {path: "", component: ContactComponent}, + {path: "contact", component: ContactComponent}, +]; @NgModule({ imports: [RouterModule.forRoot(routes)], diff --git a/dsynth/src/app/app.component.css b/dsynth/src/app/app.component.css new file mode 100644 index 0000000..53e5a34 --- /dev/null +++ b/dsynth/src/app/app.component.css @@ -0,0 +1,13 @@ +.large-nav { + display: none; +} + +@media (min-width: 768px) { + .large-nav { + display: initial; + } + + .small-nav { + display: none; + } +} diff --git a/dsynth/src/app/app.component.html b/dsynth/src/app/app.component.html index 4afcada..f8bfcd8 100644 --- a/dsynth/src/app/app.component.html +++ b/dsynth/src/app/app.component.html @@ -1,5 +1,22 @@ +
+ +
+
+ + + + +
+ + + + + + + + + diff --git a/dsynth/src/app/contact/contact.component.ts b/dsynth/src/app/contact/contact.component.ts new file mode 100644 index 0000000..5985c9b --- /dev/null +++ b/dsynth/src/app/contact/contact.component.ts @@ -0,0 +1,16 @@ +import {Component, OnInit} from '@angular/core'; + +@Component({ + selector: "app-contact", + templateUrl: "./contact.component.html", + styleUrls: ["./contact.component.css"] +}) +export class ContactComponent implements OnInit { + + constructor() { + } + + ngOnInit(): void { + } + +} diff --git a/dsynth/src/assets/i18n/en.json b/dsynth/src/assets/i18n/en.json index 5b6b7cc..cf8bc55 100644 --- a/dsynth/src/assets/i18n/en.json +++ b/dsynth/src/assets/i18n/en.json @@ -1,5 +1,7 @@ { "nav": { + "title": "dsynth.net", + "lang_select": "Language", "test": "Hello" } } diff --git a/dsynth/src/styles.css b/dsynth/src/styles.css index f0e372c..b221685 100644 --- a/dsynth/src/styles.css +++ b/dsynth/src/styles.css @@ -1,10 +1,55 @@ -/* You can add global styles to this file, and also import other style files */ - -html, body { - height: 100%; -} - body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; + background: #303030; } + +.container { + width: 100%; + padding-right: 15px; + padding-left: 15px; + margin-right: auto; + margin-left: auto; + margin-top: 25px; +} + +@media (min-width: 576px) { + .container { + max-width: 540px; + } +} + +@media (min-width: 768px) { + .container { + max-width: 720px; + } +} + +@media (min-width: 992px) { + .container { + max-width: 960px; + } +} + +@media (min-width: 1200px) { + .container { + max-width: 1140px; + } +} + +@media (min-width: 1600px) { + .container { + max-width: 1440px; + } +} + +@media (min-width: 2200px) { + .container { + max-width: 2000px; + } +} + +.spacer { + flex: 1 1 auto; +} +