-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from GDYUClub/new-ver
Cleanup and Tweaks
- Loading branch information
Showing
10 changed files
with
110 additions
and
144 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { writable } from 'svelte/store'; | ||
|
||
export default writable('dark'); |
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,28 +1,7 @@ | ||
<script> | ||
// import * as Accordion from "$lib/components/ui/accordion"; | ||
import About from '.././about.svelte'; | ||
import About from '.././about.svelte' | ||
import navMode from '$lib/navMode' | ||
$navMode = "yellow" | ||
</script> | ||
|
||
<About/> | ||
|
||
<!-- <Accordion.Root class="w-3/5 sm:max-w-[70%] monofont"> | ||
<Accordion.Item value="item-1"> | ||
<Accordion.Trigger>Is it accessible?</Accordion.Trigger> | ||
<Accordion.Content> | ||
Yes. It adheres to the WAI-ARIA design pattern. | ||
</Accordion.Content> | ||
</Accordion.Item> | ||
<Accordion.Item value="item-2"> | ||
<Accordion.Trigger>Is it styled?</Accordion.Trigger> | ||
<Accordion.Content> | ||
Yes. It comes with default styles that matches the other components' | ||
aesthetic. | ||
</Accordion.Content> | ||
</Accordion.Item> | ||
<Accordion.Item value="item-3"> | ||
<Accordion.Trigger>Is it animated?</Accordion.Trigger> | ||
<Accordion.Content> | ||
Yes. It's animated by default, but you can disable it if you prefer. | ||
</Accordion.Content> | ||
</Accordion.Item> | ||
</Accordion.Root> --> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,52 @@ | ||
|
||
<script> | ||
import { onMount } from "svelte"; | ||
import ProjectCard from "$lib/components/ui/project-card/project-card.svelte"; | ||
export let clubProjects = []; | ||
onMount(async () => { | ||
const response = await fetch("/api/jam-games"); | ||
let jamGames = (await response.json()).data; | ||
jamGames.forEach((game) => { | ||
clubProjects.push({ | ||
name: game.game.title, | ||
author: game.game.user.name, | ||
url: game.game.url, | ||
image: game.game.cover, | ||
}); | ||
}); | ||
clubProjects = clubProjects; | ||
import navMode from '$lib/navMode' | ||
$navMode = "yellow" | ||
import { onMount } from "svelte"; | ||
import ProjectCard from "$lib/components/ui/project-card/project-card.svelte"; | ||
export let clubProjects = []; | ||
onMount(async () => { | ||
const response = await fetch("/api/jam-games"); | ||
let jamGames = (await response.json()).data; | ||
jamGames.forEach((game) => { | ||
clubProjects.push({ | ||
name: game.game.title, | ||
author: game.game.user.name, | ||
url: game.game.url, | ||
image: game.game.cover, | ||
}); | ||
}); | ||
clubProjects = clubProjects; | ||
}); | ||
</script> | ||
|
||
<div class="flex dark h-1000"> | ||
<div class="block w-full"> | ||
<div class="absolute lineBlockRight"> | ||
<div class="w-1/12"> | ||
<div> | ||
<div class="dotV pink" /> | ||
<div class="lineV pink" /> | ||
<div class="diamondNarrowV pink" /> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="dark w-full"> | ||
|
||
<div class="flex pt-10"> | ||
<div class="flex flex-col w-1/12"> | ||
|
||
</div> | ||
|
||
<div class="lg:ml-48 ml-10 lg:mr-36 mr-10 mt-28"> | ||
<div class="w-10/12"> | ||
<!-- TITLE --> | ||
<div class="yellowText blockHeaderText"> | ||
PROJECTS MADE BY OUR CLUB MEMBERS | ||
</div> | ||
<!-- PROJECT CARDS --> | ||
<div class="py-5 flex gap-4 flex-wrap"> | ||
{#each clubProjects as project } | ||
<ProjectCard project={project} /> | ||
{/each} | ||
{#each clubProjects as project } | ||
<ProjectCard project={project} /> | ||
{/each} | ||
</div> | ||
</div> | ||
|
||
<div class="flex flex-col w-1/12 pb-10"> | ||
<div class="pink dot mx-auto -mb-1"/> | ||
<div class="pink w-0.5 mx-auto grow"/> | ||
<div class="pink diamond mx-auto -mt-1"/> | ||
</div> | ||
</div> | ||
</div> |
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 was deleted.
Oops, something went wrong.
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