-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more members info and put title on home page for members (#65)
- Loading branch information
Showing
6 changed files
with
167 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
<script lang="ts"> | ||
import Member from "$lib/components/Member.svelte"; | ||
import members from "$lib/data/members.json"; | ||
import Title from "$lib/components/Title.svelte"; | ||
</script> | ||
|
||
<div | ||
class="grid grid-cols-1 justify-center justify-items-center px-20 py-48 md:grid-cols-3 md:px-48" | ||
> | ||
{#each members as member} | ||
<Member | ||
name={member.name} | ||
role={member.role} | ||
photo={member.photo} | ||
socialMedia={member.socialMedia} | ||
></Member> | ||
{/each} | ||
</div> | ||
<section> | ||
<Title title="Chocomiembros" /> | ||
<div | ||
class="grid grid-cols-2 justify-center justify-items-center pb-2 pt-16 md:grid-cols-3 md:px-40" | ||
> | ||
{#each members as member} | ||
<Member | ||
name={member.name} | ||
role={member.role} | ||
photo={member.photo} | ||
socialMedia={member.socialMedia} | ||
></Member> | ||
{/each} | ||
</div> | ||
<div class="flex flex-col items-center pb-20"> | ||
<button class="py rounded-full bg-lime-500 px-8 font-fira font-semibold text-black"> | ||
<a href="/members"> Ver más </a> | ||
</button> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters