Skip to content

Commit

Permalink
last copy update
Browse files Browse the repository at this point in the history
  • Loading branch information
lassejaco committed Jan 3, 2024
1 parent 8baf3e2 commit 1a4e90d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 24 deletions.
9 changes: 0 additions & 9 deletions devcon/cms/pages/Index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ section6:
button: View Full Archive →
section1:
body: >
##
**Welcome to Devcon!**\
## Discover Ethereum and its community at Devcon, the conference for
developers, thinkers, and makers and a place for learning, knowledge
sharing, and fun.
Expand Down Expand Up @@ -81,4 +73,3 @@ section5:
## **Devcon Archive**
button: View Full Archive →
---

33 changes: 19 additions & 14 deletions devcon/src/components/domain/index/hero/dc7/typewriter/index.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
import { preloadFonts } from './utils';
import { TypeShuffle } from './typeShuffle';
import React from 'react'
import { preloadFonts } from './utils'
import { TypeShuffle } from './typeShuffle'

preloadFonts('biu0hfr').then(() => {
document.body.classList.remove('loading');
// const Typewriter = props => {
// React.useEffect(() => {}, [])

// return <div>{}</div>
// }

const textElement = document.querySelector('.content');

const ts = new TypeShuffle(textElement);
ts.trigger('fx1');
preloadFonts('biu0hfr').then(() => {
document.body.classList.remove('loading')

[...document.querySelectorAll('.effects > button')].forEach(button => {
button.addEventListener('click', () => {
ts.trigger(`fx${button.dataset.fx}`);
});
});
const textElement = document.querySelector('.content')

});
const ts = new TypeShuffle(textElement)
ts.trigger('fx1')
;[...document.querySelectorAll('.effects > button')].forEach(button => {
button.addEventListener('click', () => {
ts.trigger(`fx${button.dataset.fx}`)
})
})
})
2 changes: 1 addition & 1 deletion devcon/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default pageHOC(function Index(props: any) {
</div>
</div>

<Link to="https://blog.ethereum.org/en/2023/02/28/devcon-7-update">
<Link to="https://blog.ethereum.org/2024/01/03/devcon-sea-announcement">
<Button fat color="purple-1" fill href="">
{data.pages.section2?.button}
</Button>
Expand Down

0 comments on commit 1a4e90d

Please sign in to comment.