Skip to content

Commit

Permalink
[Issue-2791] Add link submit news (#2930)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierfacq authored Jul 2, 2024
1 parent 3044fe4 commit 6ea8d9a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/pages/__tests__/__snapshots__/news.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,15 @@ exports[`News page > renders correctly 1`] = `
>
View all
</a>
|
<a
class="px-2"
href="https://newsroom.eclipse.org/node/add/news"
rel="noreferrer"
target="_blank"
>
Submit news
</a>
</div>
<div
class="col-md-1"
Expand Down Expand Up @@ -390,6 +399,15 @@ exports[`News page > renders spinner when news not loaded 1`] = `
>
View all
</a>
|
<a
class="px-2"
href="https://newsroom.eclipse.org/node/add/news"
rel="noreferrer"
target="_blank"
>
Submit news
</a>
</div>
<div
class="col-md-1"
Expand Down
2 changes: 2 additions & 0 deletions src/pages/news.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ const NewsPage = (): JSX.Element => {
/>
: null}
<a href="https://newsroom.eclipse.org/eclipse/community-news" target='_blank' rel='noreferrer' className='px-2'>View all</a>
|
<a href="https://newsroom.eclipse.org/node/add/news" target='_blank' rel='noreferrer' className='px-2'>Submit news</a>
</div>
<div className='col-md-1' />
<div className='col-md-6'>
Expand Down

0 comments on commit 6ea8d9a

Please sign in to comment.