<?php

Route::group(['namespace' => 'Webprofile\Front'], function () {
    Route::get('/', 'FrontController@index');
    Route::get('page/{id}', 'PageController@index')->name('page');
    Route::get('post/{id}', 'PostController@index')->name('post');
    Route::get('archive', 'ArchiveController@index')->name('archive');
    Route::get('category/{id}', 'CategoryController@index')->name('category');
    Route::get('information/{id}', 'InformationController@index')->name('infomation');
    Route::get('agenda', 'AgendaController@index')->name('agenda');
    Route::get('error', 'ErrorController@index')->name('error');
    Route::get('download', 'DownloadController@index')->name('download');
    Route::get('downloadlink/{data}', 'DownloadController@downloadFile')->name('downloadFile');
    Route::get('team/{name}', 'PersonController@index')->name('team');
});
