Skip to content

Commit

Permalink
close #86 Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierloeraflores committed Jun 1, 2024
1 parent 31983ec commit c541423
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 37 deletions.
50 changes: 30 additions & 20 deletions src/lib/components/education/education-card.svelte
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
<script lang="ts">
import { type Education } from '../../../types';
import {toast} from 'svelte-sonner'
import {Card, CardContent, CardTitle, CardDescription, CardFooter, CardHeader} from "$lib/components/ui/card"
import {GraduationCap } from 'lucide-svelte'
import { Separator} from '$lib/components/ui/separator'
import { type Education } from '../../../types';
import { toast } from 'svelte-sonner';
import {
Card,
CardContent,
CardTitle,
CardDescription,
CardFooter,
CardHeader
} from '$lib/components/ui/card';
import { GraduationCap } from 'lucide-svelte';
import { Separator } from '$lib/components/ui/separator';
export let edu: Education;
export let edu: Education;
</script>

<Card class="bg-background">
<CardHeader class="flex justify-items-center justify-center align-middle items-center">
<CardTitle class = "text-primary scroll-m-20 pb-2 sm:text-2xl text-xl font-semibold tracking-tight first:mt-0">{edu.degree}</CardTitle>
<CardDescription class="flex flex-row items-center justify-center ">
<span class="sm:text-lg text-md font-medium leading-none mr-2">{edu.dates}</span>
</CardDescription>
</CardHeader>
<CardContent class="flex justify-center items-centers justify-items-center">
<!-- <p class="text-lg font-medium leading-none mr-2">{edu.school}</p> -->
</CardContent>
<Separator />
<CardFooter class="flex flex-row p-4 w-full justify-evenly">
<a href="https://www.wgu.edu/" class="sm:text-lg text-md font-medium leading-none mr-2">{edu.school}, {edu.location}</a>
</CardFooter>
</Card>
<CardHeader class="flex items-center justify-center justify-items-center align-middle">
<CardTitle
class="scroll-m-20 pb-2 text-xl font-semibold tracking-tight text-primary first:mt-0 sm:text-2xl"
>{edu.degree}</CardTitle
>
<CardDescription class="flex flex-row items-center justify-center ">
<span class="text-md mr-2 font-medium leading-none sm:text-lg">{edu.dates}</span>
</CardDescription>
</CardHeader>
<CardContent class="items-centers flex justify-center justify-items-center"></CardContent>
<Separator />
<CardFooter class="flex w-full flex-row justify-evenly p-4">
<a href="https://www.wgu.edu/" class="text-md mr-2 font-medium leading-none sm:text-lg"
>{edu.school}, {edu.location}</a
>
</CardFooter>
</Card>
12 changes: 0 additions & 12 deletions src/lib/components/education/education.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,10 @@
import EducationCard from '$lib/components/education/education-card.svelte';
import { type Education } from '../../../types';
import { Section, Button } from '$lib';
import { toast } from 'svelte-sonner';
import {
Card,
CardContent,
CardTitle,
CardDescription,
CardFooter,
CardHeader
} from '$lib/components/ui/card';
import { GraduationCap } from 'lucide-svelte';
import { Separator } from '$lib/components/ui/separator';
import { Tabs, Trigger, Content, List } from '$lib/components/ui/tabs';
import * as Carousel from '$lib/components/ui/carousel';
export let educationData: Education[] = [];
let degreeCount = educationData.length;
</script>

<Section title="Education">
Expand Down
4 changes: 0 additions & 4 deletions src/lib/components/header/header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@
<DrawerContent class="text-lg font-bold">
<DrawerHeader>Menu</DrawerHeader>
<DrawerFooter>
<!-- <DrawerClose>
<a href="#about" on:click={drawerClick}>About</a>
</DrawerClose> -->
<DrawerClose>
<a href="#Portfolio" on:click={drawerClick}>Portfolio</a>
</DrawerClose>
Expand All @@ -89,7 +86,6 @@
</Drawer>
</div>
<div id="desktop" class="flex flex-row justify-between">
<!-- <a href="#About" on:click={anchorClick} class="mx-2">About</a> -->
<a href="#Portfolio" on:click={anchorClick} class="mx-2">Portfolio</a>
<a href="#Contact" on:click={anchorClick} class="mx-2">Contact</a>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// place files you want to import through the `$lib` alias in this folder.
import { Hero } from './components/hero';
import { Particles } from './components/particles';
import { Header } from './components/header';
Expand Down

0 comments on commit c541423

Please sign in to comment.