-
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 global variables and fonts to tailwind + work in projects route
- Loading branch information
1 parent
0ec2b70
commit 72444db
Showing
7 changed files
with
94 additions
and
1 deletion.
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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
@layer base { | ||
@font-face { | ||
font-family: "Fira Code"; | ||
src: local("fira-code"), url("/fonts/fira-code/FiraCode-VariableFont_wght.ttf"); | ||
} | ||
} |
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,16 @@ | ||
<script> | ||
import Tag from "./Tag.svelte"; | ||
export const term = '2024-1s'; | ||
export const name = 'Polipromedios'; | ||
export const category = 'web'; | ||
export const description = 'Descripción de un proyecto super genial, muy, muy, muy pero muy genial.'; | ||
export const authors = ['Person 1', 'Person 2']; | ||
</script> | ||
|
||
<div class="bg-card-color rounded-xl max-w-80 mx-4 p-4"> | ||
<span class="font-fira text-green font-medium">{term}</span> | ||
<h2 class="text-white font-fira text-xl font-medium">{name}</h2> | ||
<Tag category={category} /> | ||
<p class="text-[#dee5f2] font-content">{description}</p> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<script> | ||
export const category = 'web'; | ||
</script> | ||
|
||
<span class="font-fira font-bold px-6 py bg-card-color border-green border rounded-full text-white"> | ||
{category} | ||
</span> |
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,34 @@ | ||
{ | ||
"projects": [ | ||
{ | ||
"term": "2024-1s", | ||
"name": "Polipromedios", | ||
"category": "web", | ||
"description": "Descripción de un proyecto super genial, muy, muy, muy pero muy genial.", | ||
"authors": [ | ||
"Person 1", | ||
"Person 2" | ||
] | ||
}, | ||
{ | ||
"term": "2024-1s", | ||
"name": "Polipromedios", | ||
"category": "web", | ||
"description": "Descripción de un proyecto super genial, muy, muy, muy pero muy genial.", | ||
"authors": [ | ||
"Person 1", | ||
"Person 2" | ||
] | ||
}, | ||
{ | ||
"term": "2024-1s", | ||
"name": "Polipromedios", | ||
"category": "web", | ||
"description": "Descripción de un proyecto super genial, muy, muy, muy pero muy genial.", | ||
"authors": [ | ||
"Person 1", | ||
"Person 2" | ||
] | ||
} | ||
] | ||
} |
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,18 @@ | ||
<script> | ||
import ProjectCard from "$lib/components/ProjectCard.svelte"; | ||
import { projects } from "$lib/data/projects.json"; | ||
</script> | ||
|
||
<p class="font-content font-medium text-light-blue">Aquí ponemos los proyectos que nos enorgullecen... y lo que hay ¯\_(ツ)_/¯</p> | ||
<div class="flex flex-row flex-wrap mt-8"> | ||
{#each projects as project} | ||
<ProjectCard | ||
term={project.term} | ||
name={project.name} | ||
category={project.category} | ||
description={project.description} | ||
authors={project.authors} | ||
/> | ||
{/each} | ||
</div> |
Binary file not shown.
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