Skip to content

Commit

Permalink
Merge pull request #203 from near-ndc/develop
Browse files Browse the repository at this point in the history
Close OG SBT (#197)
  • Loading branch information
Megha-Dev-19 authored Sep 5, 2023
2 parents abe94fd + 920a962 commit 409c7c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 23 deletions.
8 changes: 4 additions & 4 deletions src/components/common/ProgressTracker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ const ProgressTracker = () => {
</>
{/* to not show any countdown from 1 sept to 7 sept */}
{!electionStarted &&
countdown.days === 0 &&
countdown.hours === 0 &&
countdown.minutes === 0 &&
countdown.seconds === 0 ? null : (
countdown.days <= 0 &&
countdown.hours <= 0 &&
countdown.minutes <= 0 &&
countdown.seconds <= 0 ? null : (
<div
style={{ backgroundColor: '#F29BC0' }}
className="p-2 text-white font-semibold flex gap-x-8 justify-center items-center"
Expand Down
9 changes: 2 additions & 7 deletions src/pages/CommunitySBT.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,8 @@ const CommunitySBTPage = () => {
imageSrc={ImageSrc.OGSBT}
title="OG"
description="The OG SBT represents your commitment and dedication to NEAR, highlighting your continuous presence and involvement in shaping the NEAR ecosystem."
isAvailable={true}
onClick={() =>
window.open(
'https://docs.google.com/forms/d/e/1FAIpQLSfQ80mza1ssDRuEkjTl61ty0ORxm23whmwBDlaxWHjodTiz-w/viewform',
'_blank'
)
}
isAvailable={false}
buttonText="Closed"
/>
<ImageTextBlock
isAvailable={true}
Expand Down
13 changes: 1 addition & 12 deletions src/pages/unAuth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,6 @@ const Landing = () => {
involvement in shaping the NEAR ecosystem.
</p>
<div className="flex flex-wrap gap-5">
<button
onClick={() =>
window.open(
'https://docs.google.com/forms/d/e/1FAIpQLSfQ80mza1ssDRuEkjTl61ty0ORxm23whmwBDlaxWHjodTiz-w/viewform',
'_blank'
)
}
className="rounded-md border border-transparent bg-gradient-to-r from-purple-600 to-indigo-600 bg-origin-border px-5 py-2 text-base font-medium text-white shadow-sm hover:from-purple-700 hover:to-indigo-700"
>
Apply to OG SBT
</button>
<button
onClick={() =>
window.open(
Expand All @@ -68,7 +57,7 @@ const Landing = () => {
}
className="inline-flex rounded-md border border-purple-500 text-purple-500 border-1 px-5 py-2 text-base font-light text-black shadow-sm"
>
Learn More
Closed
</button>
</div>
</div>
Expand Down

0 comments on commit 409c7c1

Please sign in to comment.