Skip to content

Commit

Permalink
clickable household names
Browse files Browse the repository at this point in the history
  • Loading branch information
jho44 committed Aug 27, 2023
1 parent 370a40f commit 4669579
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
9 changes: 7 additions & 2 deletions src/routes/circle/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@
{/if}
{#each circleInfo as household}
<div class="card">
<p class="household-name">{household.name}</p>
<a class="household-name" href="/household/{household.id}">
{household.name}
</a>
<div>
{#each household.parents as parent}
<p
Expand Down Expand Up @@ -157,7 +159,10 @@
}
.household-name {
text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
text-decoration: underline;
color: #5a5a5a;
font-size: 1.4rem;
/* text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2); */
}
.card {
Expand Down
7 changes: 4 additions & 3 deletions src/routes/dashboard/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<p class="bold larger">{overlapDay}</p>
{#each overlapArr as overlap}
<div class="summary">
<a class="bold household" href="/household/{overlap.householdId}">
<a class="household" href="/household/{overlap.householdId}">
{households[overlap.householdId].name} (
{households[overlap.householdId].kids}
)
Expand Down Expand Up @@ -159,7 +159,7 @@

<p class="subtitle">Your Circle's Schedules</p>
{#each Object.entries(circleDatesMap) as [householdId, scheds]}
<a href="/household/{householdId}" class="bold larger"
<a href="/household/{householdId}" class="larger household"
>{households[householdId].name} ({households[householdId].kids.join(', ')})</a
>
{#each households[householdId].parents as contact}
Expand Down Expand Up @@ -250,7 +250,8 @@
text-align: center;
}
.household {
color: black;
text-decoration: underline;
color: #001430;
font-size: large;
}
.parent {
Expand Down

0 comments on commit 4669579

Please sign in to comment.