diff options
| author | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-24 18:36:43 -0600 |
|---|---|---|
| committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-24 18:36:43 -0600 |
| commit | a78b1e23aa089d58e0ab654a050558c004603443 (patch) | |
| tree | e7538e643dc22058cf9ebf5b58c828264157e65a /src/routes/team/PersonBio.svelte | |
| parent | 38c12ca79b8212af01e3155b998385da247c9508 (diff) | |
| download | mistymountainstherapy-a78b1e23aa089d58e0ab654a050558c004603443.tar.gz mistymountainstherapy-a78b1e23aa089d58e0ab654a050558c004603443.zip | |
Updates
Diffstat (limited to 'src/routes/team/PersonBio.svelte')
| -rw-r--r-- | src/routes/team/PersonBio.svelte | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/routes/team/PersonBio.svelte b/src/routes/team/PersonBio.svelte deleted file mode 100644 index 437f57b..0000000 --- a/src/routes/team/PersonBio.svelte +++ /dev/null @@ -1,20 +0,0 @@ -<script> - export let bio; - let showMore = false; -</script> - -<main> - {#if showMore} - <p>{bio}</p> - <button on:click={() => showMore = false}>Show Less</button> - {:else} - <p>{bio.substr(0, bio.lastIndexOf(' ', 150)) + '...'}</p> - <button on:click={() => showMore = true}>Show More</button> - {/if} -</main> - -<style> - p { - white-space: pre-line; - } -</style>
\ No newline at end of file |
