Skip to content

Commit

Permalink
Temporarily remove the job board (#217)
Browse files Browse the repository at this point in the history
We are revamping our jobs program. In the meantime, I think we should
remove our now-defunct jobs page in order not to confuse people.
  • Loading branch information
egiurleo authored Feb 13, 2024
1 parent 3f9f153 commit 397c035
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 21 deletions.
3 changes: 0 additions & 3 deletions app/javascript/components/layout/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ const Footer = () => (
</div>
<div className="footer-col">
<p className="footer-col-item footer-col-title">Resources</p>
<a className="footer-col-item" href="/jobs">
Job Board
</a>
<a className="footer-col-item" href="/meetups">
Meetups
</a>
Expand Down
1 change: 0 additions & 1 deletion app/javascript/components/layout/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import 'stylesheets/header.scss';

const Header = () => {
const links = [
{ id: 1, text: 'Job Board', href: '/jobs' },
{ id: 2, text: 'Meetups', href: '/meetups' },
{ id: 3, text: 'Partner with Us', href: '/partner-with-us' },
];
Expand Down
4 changes: 2 additions & 2 deletions app/javascript/stylesheets/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ header {
}

nav.nav {
@apply hidden md:w-full md:flex md:justify-between;
@apply hidden md:w-full md:flex md:justify-between ml-5;

.menu {
@apply md:w-full md:self-center;
Expand All @@ -27,7 +27,7 @@ header {
@apply flex flex-row justify-around lg:justify-start;

li {
@apply lg:px-10;
@apply lg:px-5;
a {
@apply text-gray-600 text-base font-normal leading-5 transition-all cursor-pointer hover:underline md:hover:no-underline;

Expand Down
2 changes: 0 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@

get '/partner-with-us', to: 'site#sponsor_us'
get '/meetups', to: 'site#meetups'
get '/jobs', to: 'site#jobs'
get '/jobs/authenticate', to: 'site#jobs_authenticate'
get '/join-us', to: 'site#join_us'
get '/donate', to: 'site#donate'
get '/meetups/:year/:month/:day', to: 'site#past_meetup'
Expand Down
13 changes: 0 additions & 13 deletions spec/system/visit_site_pages_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,6 @@
visit sponsor_us_path
expect(page).to have_text('Partner with Us')
end
it 'visits jobs page' do
visit jobs_path

expect(page).to have_text('The WNB.rb job board is password protected')
expect(page).to have_current_path(jobs_authenticate_path)
expect(page).to have_button('View Job Board')

fill_in 'password', with: 'testing'

click_on 'View Job Board'

expect(page).to have_text('Jobs')
end

it 'visits join_us page' do
visit join_us_path
Expand Down

0 comments on commit 397c035

Please sign in to comment.