App.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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="search-bar">
  18. <History />
  19. <Results />
  20. <Search />
  21. </footer>
  22. </div>
  23. </template>
  24. <script>
  25. import HeaderMenu from './components/nav/HeaderMenu'
  26. import Search from './components/nav/Search'
  27. import Results from './components/nav/Results'
  28. import History from './components/nav/History'
  29. // import { mapState, mapActions } from 'vuex'
  30. export default {
  31. metaInfo: {
  32. // if no subcomponents specify a metaInfo.title, this title will be used
  33. title: 'Home',
  34. // all titles will be injected into this template
  35. titleTemplate: '%s | Guides de Paris'
  36. },
  37. components: {
  38. HeaderMenu,
  39. Search,
  40. Results,
  41. History
  42. }
  43. }
  44. </script>
  45. <style lang="scss" scoped>
  46. .container{
  47. font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  48. max-width: 1200px;
  49. }
  50. </style>