\ No newline at end of file
diff --git a/src/app/public/home.component.ts b/src/app/public/home.component.ts
new file mode 100644
index 0000000..235818a
--- /dev/null
+++ b/src/app/public/home.component.ts
@@ -0,0 +1,10 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ templateUrl: 'home.component.html'
+})
+export class HomeComponent implements OnInit {
+ constructor() { }
+
+ ngOnInit() { }
+}
\ No newline at end of file
diff --git a/src/app/public/public-routing.module.ts b/src/app/public/public-routing.module.ts
new file mode 100644
index 0000000..e8ea587
--- /dev/null
+++ b/src/app/public/public-routing.module.ts
@@ -0,0 +1,25 @@
+import { NgModule } from '@angular/core';
+import { RouterModule, Routes } from '@angular/router';
+import { PublicComponent } from './public.component';
+import { HomeComponent } from './home.component';
+import { SobreComponent } from './sobre.component';
+
+const rotas: Routes = [
+ {
+ path: '', component: PublicComponent, children: [
+ { path: 'sobre', component: SobreComponent },
+ { path: '', component: HomeComponent }
+ ]
+ },
+
+];
+
+@NgModule({
+ imports: [
+ RouterModule.forChild(rotas)
+ ],
+ exports: [
+ RouterModule
+ ]
+})
+export class PublicRoutingModule { }
\ No newline at end of file
diff --git a/src/app/public/public.component.html b/src/app/public/public.component.html
new file mode 100644
index 0000000..586bb19
--- /dev/null
+++ b/src/app/public/public.component.html
@@ -0,0 +1,25 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/src/app/public/public.component.ts b/src/app/public/public.component.ts
new file mode 100644
index 0000000..5e6d290
--- /dev/null
+++ b/src/app/public/public.component.ts
@@ -0,0 +1,8 @@
+import { Component } from '@angular/core';
+
+@Component({
+ templateUrl: './public.component.html'
+})
+export class PublicComponent {
+
+}
diff --git a/src/app/public/public.module.ts b/src/app/public/public.module.ts
new file mode 100644
index 0000000..e785e0a
--- /dev/null
+++ b/src/app/public/public.module.ts
@@ -0,0 +1,26 @@
+import { NgModule } from '@angular/core';
+import { BrowserModule } from '@angular/platform-browser';
+import { FormsModule } from '@angular/forms';
+import { HttpModule } from '@angular/http';
+import { RouterModule } from '@angular/router';
+import { PublicComponent } from './public.component';
+import { HomeComponent } from './home.component';
+import { SobreComponent } from './sobre.component';
+import { PublicRoutingModule } from './public-routing.module';
+
+@NgModule({
+ imports: [
+ BrowserModule,
+ FormsModule,
+ HttpModule,
+ PublicRoutingModule
+ ],
+ declarations: [
+ PublicComponent,
+ HomeComponent,
+ SobreComponent
+ ],
+ providers: [
+ ],
+})
+export class PublicModule { }
\ No newline at end of file
diff --git a/src/app/public/sobre.component.html b/src/app/public/sobre.component.html
new file mode 100644
index 0000000..15cc00f
--- /dev/null
+++ b/src/app/public/sobre.component.html
@@ -0,0 +1,7 @@
+
Eventos++
+
+
Eventos++ é um sistema open-source, desenvolvido com uma arquitetura modular
+ utilizando Angular.
+
O objetivo principal é o apoio ao desenvolvimento de habilidades de programação na turma
+ de Linguagem de Programação para Web dos cursos de computação do Centro Universitário
+ Luterano de Palmas
\ No newline at end of file
diff --git a/src/app/public/sobre.component.ts b/src/app/public/sobre.component.ts
new file mode 100644
index 0000000..88d4d75
--- /dev/null
+++ b/src/app/public/sobre.component.ts
@@ -0,0 +1,11 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ templateUrl: 'sobre.component.html'
+})
+
+export class SobreComponent implements OnInit {
+ constructor() { }
+
+ ngOnInit() { }
+}
\ No newline at end of file
diff --git a/src/assets/.gitkeep b/src/assets/.gitkeep
new file mode 100644
index 0000000..e69de29
diff --git a/src/assets/css/style.css b/src/assets/css/style.css
new file mode 100644
index 0000000..e69de29
diff --git a/src/assets/dados/cidades.json b/src/assets/dados/cidades.json
new file mode 100644
index 0000000..3ab6e2f
--- /dev/null
+++ b/src/assets/dados/cidades.json
@@ -0,0 +1,38 @@
+[
+ {
+ "nome": "Palmas",
+ "uf": "TO"
+ },
+ {
+ "nome": "Paraíso do Tocantins",
+ "uf": "TO"
+ },
+ {
+ "nome": "Gurupi",
+ "uf": "TO"
+ },
+ {
+ "nome": "Araguaína",
+ "uf": "TO"
+ },
+ {
+ "nome": "Porto Nacional",
+ "uf": "TO"
+ },
+ {
+ "nome": "Belo Horizonte",
+ "uf": "MG"
+ },
+ {
+ "nome": "Goiânia",
+ "uf": "GO"
+ },
+ {
+ "nome": "São Paulo",
+ "uf": "SP"
+ },
+ {
+ "nome": "Rio de Janeiro",
+ "uf": "RJ"
+ }
+]
\ No newline at end of file
diff --git a/src/assets/dados/estados.json b/src/assets/dados/estados.json
new file mode 100644
index 0000000..9b61fa1
--- /dev/null
+++ b/src/assets/dados/estados.json
@@ -0,0 +1,22 @@
+[
+ {
+ "uf": "TO",
+ "nome": "Tocantins"
+ },
+ {
+ "uf": "GO",
+ "nome": "Goiás"
+ },
+ {
+ "uf": "MG",
+ "nome": "Minas Gerais"
+ },
+ {
+ "uf": "SP",
+ "nome": "São Paulo"
+ },
+ {
+ "uf": "RJ",
+ "nome": "Rio de Janeiro"
+ }
+]
\ No newline at end of file
diff --git a/src/assets/dados/eventos.json b/src/assets/dados/eventos.json
new file mode 100644
index 0000000..a8888ec
--- /dev/null
+++ b/src/assets/dados/eventos.json
@@ -0,0 +1,35 @@
+[
+ {
+ "id": 1,
+ "nome": "XIX Congresso de Computação e Sistemas de Informação",
+ "sigla": "ENCOINFO",
+ "inicio": "2017-05-15",
+ "termino": "2017-05-18",
+ "local": "Centro Universitário Luterano de Palmas",
+ "cidade": "Palmas",
+ "estado": "TO",
+ "url": "http://ulbra-to.br/encoinfo"
+ },
+ {
+ "id": 2,
+ "nome": "XIII Simpósio Brasileiro de Sistemas de Informação",
+ "sigla": "SBSI",
+ "inicio": "2017-06-05",
+ "termino": "2017-06-08",
+ "local": "Universidade Federal de Lavras",
+ "cidade": "Lavras",
+ "estado": "MG",
+ "url": "http://sbsi2017.dcc.ufla.br/"
+ },
+ {
+ "id": 3,
+ "nome": "XXXVII Congresso da Sociedade Brasileira de Computação",
+ "sigla": "CSBC",
+ "inicio": "2017-07-02",
+ "termino": "2017-07-06",
+ "local": "Universidade Presbiteriana Mackenzie",
+ "cidade": "São Paulo",
+ "estado": "SP",
+ "url": "http://csbc2017.mackenzie.br/"
+ }
+]
\ No newline at end of file
diff --git a/src/assets/images/angular.png b/src/assets/images/angular.png
new file mode 100644
index 0000000..a1d9790
Binary files /dev/null and b/src/assets/images/angular.png differ
diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts
new file mode 100644
index 0000000..3612073
--- /dev/null
+++ b/src/environments/environment.prod.ts
@@ -0,0 +1,3 @@
+export const environment = {
+ production: true
+};
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
new file mode 100644
index 0000000..b7f639a
--- /dev/null
+++ b/src/environments/environment.ts
@@ -0,0 +1,8 @@
+// The file contents for the current environment will overwrite these during build.
+// The build system defaults to the dev environment which uses `environment.ts`, but if you do
+// `ng build --env=prod` then `environment.prod.ts` will be used instead.
+// The list of which env maps to which file can be found in `.angular-cli.json`.
+
+export const environment = {
+ production: false
+};
diff --git a/src/favicon.ico b/src/favicon.ico
new file mode 100644
index 0000000..8081c7c
Binary files /dev/null and b/src/favicon.ico differ
diff --git a/src/index-jit.html b/src/index-jit.html
new file mode 100644
index 0000000..d83bb5d
--- /dev/null
+++ b/src/index-jit.html
@@ -0,0 +1,20 @@
+
+
+
+
+
+ Sistema Eventos
+
+
+
+
+
+
+
+
+
+
+ Aguarde, carregando...
+
+
+
\ No newline at end of file
diff --git a/src/main-aot.ts b/src/main-aot.ts
new file mode 100644
index 0000000..ba0ee66
--- /dev/null
+++ b/src/main-aot.ts
@@ -0,0 +1,4 @@
+import { platformBrowser } from '@angular/platform-browser';
+import { AppModuleNgFactory } from '../aot/src/app/app.module.ngfactory';
+
+platformBrowser().bootstrapModuleFactory(AppModuleNgFactory);
diff --git a/src/main-jit.ts b/src/main-jit.ts
new file mode 100644
index 0000000..f43008b
--- /dev/null
+++ b/src/main-jit.ts
@@ -0,0 +1,10 @@
+import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
+import { enableProdMode } from '@angular/core';
+import { AppModule } from './app/app.module';
+import { environment } from './environments/environment';
+
+if (environment.production) {
+ enableProdMode();
+}
+
+platformBrowserDynamic().bootstrapModule(AppModule);
diff --git a/src/polyfills.ts b/src/polyfills.ts
index da6be00..53bdaf1 100644
--- a/src/polyfills.ts
+++ b/src/polyfills.ts
@@ -1,11 +1,68 @@
-import 'core-js/es6';
+/**
+ * This file includes polyfills needed by Angular and is loaded before the app.
+ * You can add your own extra polyfills to this file.
+ *
+ * This file is divided into 2 sections:
+ * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
+ * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
+ * file.
+ *
+ * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
+ * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
+ * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
+ *
+ * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
+ */
+
+/***************************************************************************************************
+ * BROWSER POLYFILLS
+ */
+
+/** IE9, IE10 and IE11 requires all of the following polyfills. **/
+// import 'core-js/es6/symbol';
+// import 'core-js/es6/object';
+// import 'core-js/es6/function';
+// import 'core-js/es6/parse-int';
+// import 'core-js/es6/parse-float';
+// import 'core-js/es6/number';
+// import 'core-js/es6/math';
+// import 'core-js/es6/string';
+// import 'core-js/es6/date';
+// import 'core-js/es6/array';
+// import 'core-js/es6/regexp';
+// import 'core-js/es6/map';
+// import 'core-js/es6/set';
+
+/** IE10 and IE11 requires the following for NgClass support on SVG elements */
+// import 'classlist.js'; // Run `npm install --save classlist.js`.
+
+/** IE10 and IE11 requires the following to support `@angular/animation`. */
+// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
+
+
+/** Evergreen browsers require these. **/
+import 'core-js/es6/reflect';
import 'core-js/es7/reflect';
-require('zone.js/dist/zone');
-
-if (process.env.ENV === 'production') {
- // Production
-} else {
- // Development and test
- Error['stackTraceLimit'] = Infinity;
- require('zone.js/dist/long-stack-trace-zone');
-}
+
+
+/** ALL Firefox browsers require the following to support `@angular/animation`. **/
+// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
+
+
+
+/***************************************************************************************************
+ * Zone JS is required by Angular itself.
+ */
+import 'zone.js/dist/zone'; // Included with Angular CLI.
+
+
+
+/***************************************************************************************************
+ * APPLICATION IMPORTS
+ */
+
+/**
+ * Date, currency, decimal and percent pipes.
+ * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
+ */
+// import 'intl'; // Run `npm install --save intl`.
diff --git a/src/styles.css b/src/styles.css
new file mode 100644
index 0000000..a7e9944
--- /dev/null
+++ b/src/styles.css
@@ -0,0 +1,5 @@
+/* You can add global styles to this file, and also import other style files */
+.navbar {
+ margin-top: 30px;
+ margin-bottom: 30px;
+}
\ No newline at end of file
diff --git a/src/test.ts b/src/test.ts
new file mode 100644
index 0000000..9bf7226
--- /dev/null
+++ b/src/test.ts
@@ -0,0 +1,32 @@
+// This file is required by karma.conf.js and loads recursively all the .spec and framework files
+
+import 'zone.js/dist/long-stack-trace-zone';
+import 'zone.js/dist/proxy.js';
+import 'zone.js/dist/sync-test';
+import 'zone.js/dist/jasmine-patch';
+import 'zone.js/dist/async-test';
+import 'zone.js/dist/fake-async-test';
+import { getTestBed } from '@angular/core/testing';
+import {
+ BrowserDynamicTestingModule,
+ platformBrowserDynamicTesting
+} from '@angular/platform-browser-dynamic/testing';
+
+// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
+declare var __karma__: any;
+declare var require: any;
+
+// Prevent Karma from running prematurely.
+__karma__.loaded = function () {};
+
+// First, initialize the Angular testing environment.
+getTestBed().initTestEnvironment(
+ BrowserDynamicTestingModule,
+ platformBrowserDynamicTesting()
+);
+// Then we find all the tests.
+const context = require.context('./', true, /\.spec\.ts$/);
+// And load the modules.
+context.keys().map(context);
+// Finally, start Karma to run the tests.
+__karma__.start();
diff --git a/src/tsconfig.app.json b/src/tsconfig.app.json
new file mode 100644
index 0000000..53d5570
--- /dev/null
+++ b/src/tsconfig.app.json
@@ -0,0 +1,14 @@
+{
+ "extends": "../tsconfig.json",
+ "compilerOptions": {
+ "outDir": "../out-tsc/app",
+ "module": "es2015",
+ "baseUrl": "",
+ "types": []
+ },
+ "exclude": [
+ "test.ts",
+ "**/*.spec.ts",
+ "*-aot.ts"
+ ]
+}
diff --git a/src/tsconfig.spec.json b/src/tsconfig.spec.json
new file mode 100644
index 0000000..510e3f1
--- /dev/null
+++ b/src/tsconfig.spec.json
@@ -0,0 +1,20 @@
+{
+ "extends": "../tsconfig.json",
+ "compilerOptions": {
+ "outDir": "../out-tsc/spec",
+ "module": "commonjs",
+ "target": "es5",
+ "baseUrl": "",
+ "types": [
+ "jasmine",
+ "node"
+ ]
+ },
+ "files": [
+ "test.ts"
+ ],
+ "include": [
+ "**/*.spec.ts",
+ "**/*.d.ts"
+ ]
+}
diff --git a/src/typings.d.ts b/src/typings.d.ts
new file mode 100644
index 0000000..ef5c7bd
--- /dev/null
+++ b/src/typings.d.ts
@@ -0,0 +1,5 @@
+/* SystemJS module definition */
+declare var module: NodeModule;
+interface NodeModule {
+ id: string;
+}