Skip to content

Commit

Permalink
Add new sponsors (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjagm authored Jul 22, 2024
1 parent 71a18df commit af4ba88
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pages/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ const Home = (props: any) => {
const [airbnb_logo, setAirbnb_logo] = useState('');
const [postman_logo, setPostman_logo] = useState('');
const [itflashcards_logo, setItflashcards_logo] = useState('');
const [route4me_logo, setRoute4me_logo] = useState('');
const [n8n_logo, setN8n_logo] = useState('');
const [endjin_logo, setEndjin_logo] = useState('');
const [llc_logo, setLlc_logo] = useState('');
const [common_room_logo, setCommon_room_logo] = useState('');
Expand All @@ -216,7 +218,9 @@ const Home = (props: any) => {
setCommon_room_logo('/img/logos/dark-mode/common-room_white.svg');
setSlack_logo('/img/logos/dark-mode/slack_white.svg');
setVPSserver_logo('/img/logos/sponsors/vps-server-logo.svg');
setItflashcards_logo('/img/logos/sponsors/it_flashcards.svg');
setItflashcards_logo('/img/logos/sponsors/it_flashcards-white.svg');
setRoute4me_logo('/img/logos/sponsors/route4me-logo-dark.svg');
setN8n_logo('/img/logos/sponsors/n8n-logo-dark.svg');
} else {
setAsyncapi_logo('/img/logos/sponsors/asyncapi-logo-dark.svg');
setAirbnb_logo('/img/logos/sponsors/airbnb-logo.png');
Expand All @@ -227,6 +231,8 @@ const Home = (props: any) => {
setSlack_logo('/img/logos/supported/slack-logo.svg');
setVPSserver_logo('/img/logos/sponsors/vps-server-logo.svg');
setItflashcards_logo('/img/logos/sponsors/it_flashcards.svg');
setRoute4me_logo('/img/logos/sponsors/route4me-logo-white.svg');
setN8n_logo('/img/logos/sponsors/n8n-logo-white.svg');
}
}, [resolvedTheme]);
return (
Expand Down Expand Up @@ -669,6 +675,12 @@ const Home = (props: any) => {
<a href='https://www.itflashcards.com/'>
<img src={itflashcards_logo} className=' w-44' />
</a>
<a href='https://www.route4me.com/'>
<img src={route4me_logo} className=' w-44' />
</a>
<a href='https://n8n.io/'>
<img src={n8n_logo} className=' w-44' />
</a>
<button className='w-[176px] h-[44px] mx-auto rounded-lg border-2 border-dotted bg-primary text-white font-semibold flex items-center justify-center space-x-2 cursor-pointer px-3'>
<svg
xmlns='http://www.w3.org/2000/svg'
Expand Down
6 changes: 6 additions & 0 deletions public/img/logos/sponsors/it_flashcards-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/img/logos/sponsors/n8n-logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/img/logos/sponsors/n8n-logo-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit af4ba88

Please sign in to comment.