mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-03 17:35:23 +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
|
# Project Segfault website
|
||||||
|
|
||||||
Live at [projectsegfau.lt](https://projectsegfau.lt).
|
Live at [projectsegfau.lt](https://projectsegfau.lt).
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
export let url: any;
|
export let url: any;
|
||||||
export let classes: string;
|
let classes: string = "";
|
||||||
|
export {classes as class};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<a href={url} class={classes}>
|
<a href={url} class={classes}>
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<LinksOuter>
|
<LinksOuter>
|
||||||
<Link
|
<Link
|
||||||
url={item.projectWebsite}
|
url={item.projectWebsite}
|
||||||
classes="web"
|
class="web"
|
||||||
>
|
>
|
||||||
<div class="projectWebsite">
|
<div class="projectWebsite">
|
||||||
<div class="i-fa6-solid:globe" />
|
<div class="i-fa6-solid:globe" />
|
||||||
|
@ -14,13 +14,13 @@
|
|||||||
<CardInner title={name} {description}>
|
<CardInner title={name} {description}>
|
||||||
<LinksOuter>
|
<LinksOuter>
|
||||||
{#if website}
|
{#if website}
|
||||||
<Link url={website} classes="web">
|
<Link url={website} class="web">
|
||||||
<div class="i-fa6-solid:globe" />
|
<div class="i-fa6-solid:globe" />
|
||||||
</Link>
|
</Link>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if git}
|
{#if git}
|
||||||
<Link url={git} classes="gitcolored">
|
<Link url={git} class="gitcolored">
|
||||||
<div class="i-simple-icons:git" />
|
<div class="i-simple-icons:git" />
|
||||||
</Link>
|
</Link>
|
||||||
{/if}
|
{/if}
|
||||||
|
@ -14,43 +14,43 @@
|
|||||||
<CardInner title={name} {position} {description}>
|
<CardInner title={name} {position} {description}>
|
||||||
<LinksOuter>
|
<LinksOuter>
|
||||||
{#if matrix}
|
{#if matrix}
|
||||||
<Link url={matrix} classes="matrixcolored">
|
<Link url={matrix} class="matrixcolored">
|
||||||
<div class="i-simple-icons:matrix" />
|
<div class="i-simple-icons:matrix" />
|
||||||
</Link>
|
</Link>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if discord}
|
{#if discord}
|
||||||
<Link url={discord} classes="discordcolored">
|
<Link url={discord} class="discordcolored">
|
||||||
<div class="i-simple-icons:discord" />
|
<div class="i-simple-icons:discord" />
|
||||||
</Link>
|
</Link>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if git}
|
{#if git}
|
||||||
<Link url={git} classes="gitcolored">
|
<Link url={git} class="gitcolored">
|
||||||
<div class="i-simple-icons:git" />
|
<div class="i-simple-icons:git" />
|
||||||
</Link>
|
</Link>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if website}
|
{#if website}
|
||||||
<Link url={website} classes="web">
|
<Link url={website} class="web">
|
||||||
<div class="i-fa6-solid:globe" />
|
<div class="i-fa6-solid:globe" />
|
||||||
</Link>
|
</Link>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if email}
|
{#if email}
|
||||||
<Link url="mailto:{email}" classes="email">
|
<Link url="mailto:{email}" class="email">
|
||||||
<div class="i-fa6-solid:envelope" />
|
<div class="i-fa6-solid:envelope" />
|
||||||
</Link>
|
</Link>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if pgp}
|
{#if pgp}
|
||||||
<Link url={pgp} classes="pgp">
|
<Link url={pgp} class="pgp">
|
||||||
<div class="i-fa6-solid:key" />
|
<div class="i-fa6-solid:key" />
|
||||||
</Link>
|
</Link>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if picture}
|
{#if picture}
|
||||||
<Link url={picture} classes="picture">
|
<Link url={picture} class="picture">
|
||||||
<div class="i-fa6-solid:camera" />
|
<div class="i-fa6-solid:camera" />
|
||||||
</Link>
|
</Link>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user