diff options
| author | secondl1ght <[email protected]> | 2022-07-20 18:27:48 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-07-20 18:27:48 -0600 |
| commit | 2ae0dd320d31f968f138f842b6fb58b04468f34e (patch) | |
| tree | 56f1716092ade322d49e3469d0c403077fed6cb5 /src/lib/utils.js | |
| parent | 794edcbde0eead1fef9ac8f5f258750c4f4fdb0f (diff) | |
| download | coinos-ui-2ae0dd320d31f968f138f842b6fb58b04468f34e.tar.gz coinos-ui-2ae0dd320d31f968f138f842b6fb58b04468f34e.zip | |
initial draft of landing page
Diffstat (limited to 'src/lib/utils.js')
| -rw-r--r-- | src/lib/utils.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/utils.js b/src/lib/utils.js new file mode 100644 index 00000000..ba0d8335 --- /dev/null +++ b/src/lib/utils.js @@ -0,0 +1,3 @@ +export function scroll(section) { + section.scrollIntoView({ behavior: 'smooth' }); +} |
