Skip to content

Commit

Permalink
Added lists of navigation links for different sections and breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Sokilskill committed Jun 5, 2024
1 parent 4d016ee commit 3012404
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/data/navList.ts
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
import { ListNav } from '../types';
import { ListNav } from "../types";

export const listGoodness: ListNav[] = [
{ name: 'Вірні друзі', to: '#catalog' },
{ name: 'Обрати друга', to: '#reviews' },
{ name: 'Щасливчики', to: '#how-to-order' },
{ name: 'Стати волонтером', to: '#contact' },
{ name: "Вірні друзі", to: "#catalog" },
{ name: "Обрати друга", to: "#reviews" },
{ name: "Щасливчики", to: "#how-to-order" },
{ name: "Стати волонтером", to: "#contact" },
];

export const listAbout: ListNav[] = [
{ name: 'Про нас', to: '#about-us' },
{ name: 'Наші умови', to: '#terms' },
{ name: 'Наша команда', to: '#contact' },
{ name: 'Історія створення', to: '#contact' },
{ name: "Про нас", to: "#about-us" },
{ name: "Наші умови", to: "#terms" },
{ name: "Наша команда", to: "#contact" },
{ name: "Історія створення", to: "#contact" },
];
export const listContactDetails: ListNav[] = [
{ name: 'Локація', to: '#location' },
{ name: 'Контакти', to: '#contact' },
{ name: 'Інормація', to: '#info' },
{ name: "Локація", to: "#location" },
{ name: "Контакти", to: "#contact" },
{ name: "Інормація", to: "#info" },
];

export const navHeader: ListNav[] = [
{ name: 'Про нас', to: '#about-us' },
{ name: 'Вірні друзі', to: '#catalog' },
{ name: 'Наші умови', to: '#terms' },
{ name: 'Локація', to: '#location' },
{ name: 'Контакти', to: '#contact' },
export const mobileNavigationList: ListNav[] = [
{ name: "Про нас", to: "#about-us" },
{ name: "Вірні друзі", to: "#catalog" },
{ name: "Наші умови", to: "#terms" },
{ name: "Локація", to: "#location" },
{ name: "Контакти", to: "#contact" },
];

export const navHeaderDesktop: ListNav[] = [
{ name: 'Домашня', to: '/' },
{ name: 'Про нас', to: '#about-us' },
{ name: 'Вірні друзі', to: '#catalog' },
{ name: 'Наші умови', to: '#terms' },
{ name: 'Локація', to: '#location' },
{ name: 'Контакти', to: '#contact' },
{ name: "Домашня", to: "/" },
{ name: "Про нас", to: "#about-us" },
{ name: "Вірні друзі", to: "#catalog" },
{ name: "Наші умови", to: "#terms" },
{ name: "Локація", to: "#location" },
{ name: "Контакти", to: "#contact" },
];
1 change: 1 addition & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from "./Animal";
export * from "./ListNav";

0 comments on commit 3012404

Please sign in to comment.