Skip to content

Commit

Permalink
Merge pull request #1270 from ThatConference/cs/digitalSigns
Browse files Browse the repository at this point in the history
feat: adds sings
  • Loading branch information
theClarkSell authored Jul 23, 2022
2 parents 79b01e9 + d582aba commit dfc8065
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/routes/signs/index.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<script>
const sponsorImages = [
'https://storage.googleapis.com/that-bucket/partnerlogos/CUNA-Mutual-Group.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/CUNA-Mutual-Group.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/Core-BTS.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/Core-BTS.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/unspecified.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/unspecified.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/Progress.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/NVISIA.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/ionic.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/grapecity.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/symplr.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/google-cloud.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/Trek.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/Algorand.svg',
'https://storage.googleapis.com/that-bucket/partnerlogos/Twilio.svg'
];
let currentImage = sponsorImages[0];
let counter = 0;
setInterval(() => {
currentImage = sponsorImages[counter];
counter++;
if (counter === sponsorImages.length) counter = 0;
}, 3000);
</script>

<div class="bg-[url('/images/sign-background.png')] bg-cover bg-center">
<div class="min-w-screen flex min-h-screen flex-col items-center justify-center">
<img class="h-10/12 -mt-32 w-10/12" src={currentImage} alt="" />
</div>
</div>
Binary file added static/images/sign-background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit dfc8065

@vercel
Copy link

@vercel vercel bot commented on dfc8065 Jul 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.