mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-08-02 11:18:00 +08:00

* [offers][feat] add event tracking and save to profile in form * [offers][refactor] refactor feature page * [offers][fix] fix offer table border for action column
31 lines
855 B
TypeScript
31 lines
855 B
TypeScript
import type { ProductNavigationItems } from '~/components/global/ProductNavigation';
|
|
|
|
const navigation: ProductNavigationItems = [
|
|
{ href: '/offers/submit', name: 'Analyze your offers' },
|
|
{ href: '/offers/features', name: 'Features' },
|
|
];
|
|
|
|
const navigationAuthenticated: ProductNavigationItems = [
|
|
{ href: '/offers/submit', name: 'Analyze your offers' },
|
|
{ href: '/offers/dashboard', name: 'Your repository' },
|
|
{ href: '/offers/features', name: 'Features' },
|
|
];
|
|
|
|
const config = {
|
|
googleAnalyticsMeasurementID: 'G-34XRGLEVCF',
|
|
logo: (
|
|
<img alt="Tech Offers Repo" className="h-8 w-auto" src="/offers-logo.svg" />
|
|
),
|
|
navigation,
|
|
showGlobalNav: false,
|
|
title: 'Tech Offers Repo',
|
|
titleHref: '/offers',
|
|
};
|
|
|
|
export const OffersNavigationAuthenticated = {
|
|
...config,
|
|
navigation: navigationAuthenticated,
|
|
};
|
|
|
|
export default config;
|