Skip to content

Commit

Permalink
cta btns
Browse files Browse the repository at this point in the history
  • Loading branch information
lulen11 committed May 8, 2020
1 parent c4a6bb0 commit c56420f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pages/imagine/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import WavyDonateSection from '../../components/wavyDonateSection';
import TypeformModal from '../../components/typeformModal';
import IntercomChat from '../../components/intercom';
import scrollToComponent from '../../utils/scrollToComponent';
import useDonate from '../../hooks/useDonate';

import styles from './style.scss';

const DoubleCurvedLine = dynamic(() => import('../../components/imaginationTv/doubleCurvedLine'));
Expand All @@ -23,6 +25,7 @@ const ImagiNationTV = (props) => {
const [showModal, setModal] = useState(false);
const toggleModal = () => setModal(!showModal);
const scrollToPanel = () => scrollToComponent(scrollToThisRef);
const [modalVisible, toggleDonateModal] = useDonate();

return (
<Layout>
Expand Down Expand Up @@ -65,7 +68,7 @@ const ImagiNationTV = (props) => {
theme={process.env.REACT_APP_THEME}
// onClickFunction={scrollHandler}
className={`${styles.triBtn} ${styles.watchBtn}`}
url="https://www.youtube.com/user/aimementoring/live"
url="https://docs.google.com/document/d/1MyE1Xv8OSsFnJLEL2WNhLL0DbsKJfMtmcrrUUa7BOh8/edit"
target="_blank"
type="link"
>
Expand All @@ -76,14 +79,14 @@ const ImagiNationTV = (props) => {
text="Film"
theme={process.env.REACT_APP_THEME}
className={`${styles.triBtn} ${styles.imagiDonate}`}
// onClickFunction={toggleDonateModal}
/>
<Button
type="link"
text="Fund"
className={`${styles.triBtn} ${styles.imagiHoodieBtn}`}
theme={process.env.REACT_APP_THEME}
url="/imagi-nation-tv"
onClickFunction={toggleDonateModal}

/>
</div>
</div>
Expand Down

1 comment on commit c56420f

@aime-bot
Copy link

Choose a reason for hiding this comment

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

Size Checks (0 failures)

Size Checks

Label Value Threshold Success
out/favicon.ico 2.09 KB 4 KB
out/index.html 59.57 KB 80 KB
out/service-worker.js 3.5 KB 8 KB
out 12.58 MB 60 MB
.next/service-worker.js 3.5 KB 5 KB

Heap Snapshot Checks (0 failures)

Heap Snapshot Checks

Label Value Threshold Success
Documents 3 11
Frames 1 5
JSHeapTotalSize 3657728 21889024
JSHeapUsedSize 2201256 13685832
LayoutCount 2 25
Nodes 684 1196
RecalcStyleCount 3 129

Axe Audits (1 failure)

Axe Audits

Label Value Threshold Success
aria-allowed-attr critical
aria-allowed-role none
aria-hidden-body none
aria-required-attr none
aria-required-children none
aria-required-parent none
aria-roles none
aria-valid-attr-value none
aria-valid-attr none
avoid-inline-spacing none
button-name none
bypass none
color-contrast serious
document-title none
duplicate-id-active none
duplicate-id none
empty-heading none
form-field-multiple-labels none
heading-order moderate moderate
html-has-lang none
html-lang-valid none
image-alt none
image-redundant-alt none
label-title-only none
landmark-banner-is-top-level none
landmark-contentinfo-is-top-level none
landmark-main-is-top-level none
landmark-no-duplicate-banner none
landmark-no-duplicate-contentinfo none
landmark-one-main moderate
landmark-unique moderate moderate
link-name serious
list serious serious
listitem serious none
meta-viewport-large none
meta-viewport critical
page-has-heading-one moderate
heading-order moderate moderate
label critical critical
landmark-unique moderate moderate
list serious serious
listitem serious none x
region moderate moderate

Unused Source Checks (3 failures)

Unused Source Checks

Label Value Threshold Success
http://localhost:3000/ 97.06% 65% x
... website/_next/static/css/styles.bf138587.chunk.css NaN% 35% x
... ite/_next/static/chunks/83.af59a0b0d3fc7f43e0fa.js 97.06% 70% x

Lighthouse Audits (0 failures)

Lighthouse Audits

Label Value Threshold Success
Performance 94 40
Accessibility 88 80
Best Practices 92 80
SEO 95 85
Progressive Web App 72 52

Please sign in to comment.