mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-23 00:22:59 +05:30
remove unused, export classes prop as class
This commit is contained in:
parent
d99e92d0b3
commit
91f1265e7d
24
.vscode/i18n.code-snippets
vendored
24
.vscode/i18n.code-snippets
vendored
@ -1,24 +0,0 @@
|
||||
{
|
||||
// Place your ProjectSegfaultWebsite workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
|
||||
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
|
||||
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
|
||||
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
|
||||
// Placeholders with the same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "scope": "javascript,typescript",
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"i18n": {
|
||||
"scope": "svelte",
|
||||
"prefix": "i18n",
|
||||
"body": ["{\\$t('common.$1')}"],
|
||||
"description": "i18n Snippet for Project Segfault's website"
|
||||
}
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
# This repo is now a mirror of [our repo on Gitea](https://git.projectsegfau.lt/ProjectSegfault/website), open pull requests and issues at the Gitea repo.
|
||||
|
||||
# Project Segfault website
|
||||
|
||||
Live at [projectsegfau.lt](https://projectsegfau.lt).
|
||||
|
@ -1,6 +1,7 @@
|
||||
<script lang="ts">
|
||||
export let url: any;
|
||||
export let classes: string;
|
||||
let classes: string = "";
|
||||
export {classes as class};
|
||||
</script>
|
||||
|
||||
<a href={url} class={classes}>
|
||||
|
@ -30,7 +30,7 @@
|
||||
<LinksOuter>
|
||||
<Link
|
||||
url={item.projectWebsite}
|
||||
classes="web"
|
||||
class="web"
|
||||
>
|
||||
<div class="projectWebsite">
|
||||
<div class="i-fa6-solid:globe" />
|
||||
|
@ -14,13 +14,13 @@
|
||||
<CardInner title={name} {description}>
|
||||
<LinksOuter>
|
||||
{#if website}
|
||||
<Link url={website} classes="web">
|
||||
<Link url={website} class="web">
|
||||
<div class="i-fa6-solid:globe" />
|
||||
</Link>
|
||||
{/if}
|
||||
|
||||
{#if git}
|
||||
<Link url={git} classes="gitcolored">
|
||||
<Link url={git} class="gitcolored">
|
||||
<div class="i-simple-icons:git" />
|
||||
</Link>
|
||||
{/if}
|
||||
|
@ -14,43 +14,43 @@
|
||||
<CardInner title={name} {position} {description}>
|
||||
<LinksOuter>
|
||||
{#if matrix}
|
||||
<Link url={matrix} classes="matrixcolored">
|
||||
<Link url={matrix} class="matrixcolored">
|
||||
<div class="i-simple-icons:matrix" />
|
||||
</Link>
|
||||
{/if}
|
||||
|
||||
{#if discord}
|
||||
<Link url={discord} classes="discordcolored">
|
||||
<Link url={discord} class="discordcolored">
|
||||
<div class="i-simple-icons:discord" />
|
||||
</Link>
|
||||
{/if}
|
||||
|
||||
{#if git}
|
||||
<Link url={git} classes="gitcolored">
|
||||
<Link url={git} class="gitcolored">
|
||||
<div class="i-simple-icons:git" />
|
||||
</Link>
|
||||
{/if}
|
||||
|
||||
{#if website}
|
||||
<Link url={website} classes="web">
|
||||
<Link url={website} class="web">
|
||||
<div class="i-fa6-solid:globe" />
|
||||
</Link>
|
||||
{/if}
|
||||
|
||||
{#if email}
|
||||
<Link url="mailto:{email}" classes="email">
|
||||
<Link url="mailto:{email}" class="email">
|
||||
<div class="i-fa6-solid:envelope" />
|
||||
</Link>
|
||||
{/if}
|
||||
|
||||
{#if pgp}
|
||||
<Link url={pgp} classes="pgp">
|
||||
<Link url={pgp} class="pgp">
|
||||
<div class="i-fa6-solid:key" />
|
||||
</Link>
|
||||
{/if}
|
||||
|
||||
{#if picture}
|
||||
<Link url={picture} classes="picture">
|
||||
<Link url={picture} class="picture">
|
||||
<div class="i-fa6-solid:camera" />
|
||||
</Link>
|
||||
{/if}
|
||||
|
Loading…
Reference in New Issue
Block a user