Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "feat: add election tab to navbar" #218

Merged
merged 1 commit into from
Nov 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/app/components/NavBar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Form, Link, NavLink, useLocation } from '@remix-run/react';
import classNames from 'classnames';
import { CirclePlus, DoorOpen, Home, Info, MenuIcon, MessageCircle, Settings, TriangleAlert, Vote } from 'lucide-react';
import { CirclePlus, DoorOpen, Home, Info, MenuIcon, MessageCircle, Settings, TriangleAlert } from 'lucide-react';
import { HTMLAttributes, useState } from 'react';
import { wrapper } from '~/lib/layout';
import { ThemeToggle } from './ThemeToggle';
Expand Down Expand Up @@ -41,11 +41,6 @@ const navItems = [
href: '/about',
icon: Info,
},
{
label: 'Election',
href: '/polls/1',
icon: Vote,
},
];

function User({ login, role }: { login: string; role: 'ADMIN' | 'USER' } & HTMLAttributes<HTMLDivElement>) {
Expand Down
2 changes: 1 addition & 1 deletion src/app/routes/_app._index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function Index() {
COUNCIL
</h1>
<p className='text-2xl text-center mb-4'>Official Website of the 42 Vienna Student Council</p>
<Link to='/polls/1'>
<Link to='/issues'>
<Button size='lg'>What's up?</Button>
</Link>
</div>
Expand Down
Loading