Skip to content

Commit

Permalink
household preview
Browse files Browse the repository at this point in the history
  • Loading branch information
jho44 committed Aug 16, 2023
1 parent 0f67166 commit 9e88028
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
4 changes: 4 additions & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
import './styles.css';
</script>

<svelte:head>
<title>Playdate</title>
<meta name="description" content="Playdate app" />
</svelte:head>
<div class="app">
<!-- <Header /> -->
<main>
Expand Down
17 changes: 10 additions & 7 deletions src/routes/household/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,6 @@
}
</script>

<svelte:head>
<title>Household</title>
<meta name="description" content="Playdate app" />
</svelte:head>
<div>
<Modal showModal={showClickToTextLink}>
<h2 slot="header">Pre-filled SMS Invite</h2>
Expand Down Expand Up @@ -369,6 +365,12 @@
Everything you enter on this page is shared with your Circle. Don't enter sensitive
information.
</p>
{#if $page.data.householdInfo.name}
<p class="subtitle-2">
Click <a href={`/household/${householdId}`} class="link">here</a> to see what your circle can
see.
</p>
{/if}
<p class="subtitle">Kids</p>
{#each kids as kid, ind}
<div class="card">
Expand Down Expand Up @@ -459,6 +461,10 @@
</div>

<style>
.link {
text-decoration: underline;
color: #4578ff;
}
.sms {
background: #6ad36a;
color: white;
Expand Down Expand Up @@ -530,9 +536,6 @@
font-weight: 400;
font-size: 20px;
line-height: 30px;
display: flex;
align-items: center;
color: #5a5a5a;
}
Expand Down
4 changes: 0 additions & 4 deletions src/routes/household/[householdId]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
const { householdInfo: household, authorized } = data;
</script>

<svelte:head>
<title>Household</title>
<meta name="description" content="Playdate app" />
</svelte:head>
<div class:mb={authorized} class:full-screen={!authorized}>
<NavBar pageName={household.name} />
{#if authorized}
Expand Down

0 comments on commit 9e88028

Please sign in to comment.