123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- <template>
- <footer class="flex flex-col p-6">
- <nav class="grid gap-4 grid-cols-2 md:grid-cols-4">
- <div class="flex flex-col space-y-2">
- <h4 class="my-2">Hoppscotch</h4>
- <ul class="space-y-4">
- <li>
- <SmartChangeLanguage />
- </li>
- <li>
- <SmartColorModePicker />
- </li>
- </ul>
- </div>
- <div class="flex flex-col space-y-2">
- <h4 class="my-2">Solutions</h4>
- <ul class="space-y-2">
- <li
- v-for="(item, index) in navigation.solutions"
- :key="`item-${index}`"
- >
- <SmartAnchor
- :label="item.name"
- :to="item.link"
- class="footer-nav"
- />
- </li>
- </ul>
- </div>
- <div class="flex flex-col space-y-2">
- <h4 class="my-2">Platform</h4>
- <ul class="space-y-2">
- <li
- v-for="(item, index) in navigation.platform"
- :key="`item-${index}`"
- >
- <SmartAnchor
- :label="item.name"
- :to="item.link"
- class="footer-nav"
- />
- </li>
- </ul>
- </div>
- <div class="flex flex-col space-y-2">
- <h4 class="my-2">Company</h4>
- <ul class="space-y-2">
- <li
- v-for="(item, index) in navigation.company"
- :key="`item-${index}`"
- >
- <SmartAnchor
- :label="item.name"
- :to="item.link"
- class="footer-nav"
- />
- </li>
- </ul>
- </div>
- </nav>
- </footer>
- </template>
- <script>
- import { defineComponent } from "@nuxtjs/composition-api"
- export default defineComponent({
- data() {
- return {
- navigation: {
- solutions: [
- {
- name: "RESTful",
- link: "/",
- },
- {
- name: "WebSocket",
- link: "/realtime",
- },
- {
- name: "SSE",
- link: "/realtime",
- },
- {
- name: "Socket.IO",
- link: "/realtime",
- },
- {
- name: "MQTT",
- link: "/realtime",
- },
- {
- name: "GraphQL",
- link: "/graphql",
- },
- ],
- platform: [
- {
- name: "API Designing",
- link: "/",
- },
- {
- name: "API Development",
- link: "/",
- },
- {
- name: "API Testing",
- link: "/",
- },
- {
- name: "API Deployment",
- link: "/",
- },
- {
- name: "API Documentation",
- link: "/documentation",
- },
- {
- name: "Integrations",
- link: "/",
- },
- ],
- company: [
- {
- name: "About",
- link: "/",
- },
- {
- name: "Careers",
- link: "/careers",
- },
- {
- name: "Support",
- link: "/",
- },
- {
- name: "Contact",
- link: "/",
- },
- {
- name: "Blog",
- link: "https://blog.hoppscotch.io",
- },
- {
- name: "Community",
- link: "/",
- },
- {
- name: "Open Source",
- link: "https://github.com/hoppscotch",
- },
- ],
- },
- }
- },
- })
- </script>
- <style scoped lang="scss">
- .footer-nav {
- @apply px-2 py-1;
- @apply -mx-2 -my-1;
- @apply hover:text-secondaryDark;
- @apply focus-visible:text-secondaryDark;
- }
- </style>
|