App.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <template>
  2. <div id="root">
  3. <header role="banner">
  4. <div class="wrapper">
  5. <h1
  6. class="site-title"
  7. tabindex="0"
  8. >
  9. Les Guides de Paris
  10. </h1>
  11. <HeaderMenu />
  12. </div>
  13. </header>
  14. <section role="main-content">
  15. <RouterView />
  16. </section>
  17. <footer role="tools">
  18. <History />
  19. <Results />
  20. <div id="footer-bottom" class="row">
  21. <FooterTabs />
  22. <Search />
  23. </div>
  24. </footer>
  25. </div>
  26. </template>
  27. <script>
  28. import HeaderMenu from './components/nav/HeaderMenu'
  29. import History from './components/nav/History'
  30. import Results from './components/nav/Results'
  31. import Search from './components/nav/Search'
  32. import FooterTabs from './components/nav/FooterTabs'
  33. // import { mapState, mapActions } from 'vuex'
  34. export default {
  35. metaInfo: {
  36. // if no subcomponents specify a metaInfo.title, this title will be used
  37. title: 'Home',
  38. // all titles will be injected into this template
  39. titleTemplate: '%s | Guides de Paris'
  40. },
  41. components: {
  42. HeaderMenu,
  43. History,
  44. Results,
  45. Search,
  46. FooterTabs
  47. }
  48. }
  49. </script>
  50. <style lang="scss" scoped>
  51. .container{
  52. font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  53. max-width: 1200px;
  54. }
  55. </style>