format and remove github workflow

This commit is contained in:
Akis 2022-08-12 14:15:39 +03:00
parent 67f63c88ab
commit 235c05eafa
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED
17 changed files with 85 additions and 113 deletions

View File

@ -1,11 +0,0 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"

View File

@ -1,24 +0,0 @@
name: Build to build branch
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm install
npm run build
- name: Deploy to build branch
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: build # The branch the action should deploy to.
folder: build # The folder the action should deploy.
commit-message: Successfully built
clean: true
single-commit: false

View File

@ -45,7 +45,7 @@
}
.gitcolored {
background-color: #F05032;
background-color: #f05032;
color: #fff;
font-size: 20px;
display: flex;

View File

@ -13,7 +13,7 @@
id="contact-form"
>
<div class="note">
<div class="i-fa6-solid:lock"></div>
<div class="i-fa6-solid:lock" />
<b>Your IP will be logged for anti-abuse measures.</b>
</div>
<div class="meta">
@ -42,7 +42,7 @@
placeholder="Your message"
/>
<div class="note">
<div class="i-fa6-solid:circle-info"></div>
<div class="i-fa6-solid:circle-info" />
<b>The submit button will be visible when you complete the Captcha.</b>
</div>
<HCaptcha

View File

@ -7,7 +7,14 @@
"category": "Instances",
"projectWebsite": "https://invidious.io/"
},
{ "name": "Librarian (LBRY)", "description": "A frontend for Odysee.", "website": "https://lbry.projectsegfau.lt/", "icon": "https://codeberg.org/librarian/librarian/raw/branch/main/static/img/librarian.svg", "category": "Instances", "projectWebsite": "https://codeberg.org/librarian/librarian" },
{
"name": "Librarian (LBRY)",
"description": "A frontend for Odysee.",
"website": "https://lbry.projectsegfau.lt/",
"icon": "https://codeberg.org/librarian/librarian/raw/branch/main/static/img/librarian.svg",
"category": "Instances",
"projectWebsite": "https://codeberg.org/librarian/librarian"
},
{
"name": "Libreddit",
"description": "A frontend for Reddit.",

View File

@ -27,8 +27,7 @@
<input type="checkbox" id="toggle-menu" />
<label class="menu-icon" for="toggle-menu">
<div id="menu-icon" class="i-fa6-solid:bars">
</div>
<div id="menu-icon" class="i-fa6-solid:bars" />
</label>
<div class="links">
@ -42,10 +41,10 @@
>
{/each}
<a href="https://matrix.to/#/#project-segfault:projectsegfau.lt/">
<div class="i-simple-icons:matrix"></div>
<div class="i-simple-icons:matrix" />
</a>
<a href="https://git.projectsegfau.lt/ProjectSegfault/">
<div class="i-simple-icons:git"></div>
<div class="i-simple-icons:git" />
</a>
<div>
<ThemeToggle />

View File

@ -17,11 +17,9 @@
<DarkMode bind:theme />
{#if theme === "dark"}
<div on:click={toggle} class="i-fa6-solid:sun">
</div>
<div on:click={toggle} class="i-fa6-solid:sun" />
{:else if theme === "light"}
<div on:click={toggle} class="i-fa6-solid:moon">
</div>
<div on:click={toggle} class="i-fa6-solid:moon" />
{/if}
<style>

View File

@ -15,7 +15,7 @@ html {
--text: #ffffffde;
--grey: #5454547a;
--alt: #333;
--alt-text: #ddd
--alt-text: #ddd;
}
html.light {

View File

@ -26,7 +26,10 @@
<div class="buttons">
<a href="/instances">Explore our services</a>
<a href="/projects">Explore our projects</a>
<a href="/donate"><div class="i-fa6-solid:money-bill"></div> Donate</a>
<a href="/donate"
><div class="i-fa6-solid:money-bill" />
Donate</a
>
</div>
</Hero>
@ -38,9 +41,9 @@
<div class="announcement">
<div class="general">
{#if announcements.severity === "info"}
<div class="i-fa6-solid:circle-info"></div>
<div class="i-fa6-solid:circle-info" />
{:else}
<div class="i-fa6-solid:triangle-exclamation"></div>
<div class="i-fa6-solid:triangle-exclamation" />
{/if}
<span>
{dayjs

View File

@ -28,9 +28,13 @@
icon={item.icon}
>
<LinksOuter>
<Link url={item.projectWebsite} classes="web">
<Link
url={item.projectWebsite}
classes="web"
>
<div class="projectWebsite">
<div class="i-fa6-solid:globe" /><span>Project website</span>
<div class="i-fa6-solid:globe" />
<span>Project website</span>
</div>
</Link>
</LinksOuter>

View File

@ -15,13 +15,13 @@
<LinksOuter>
{#if website}
<Link url={website} classes="web">
<div class="i-fa6-solid:globe"></div>
<div class="i-fa6-solid:globe" />
</Link>
{/if}
{#if git}
<Link url={git} classes="gitcolored">
<div class="i-simple-icons:git"></div>
<div class="i-simple-icons:git" />
</Link>
{/if}
</LinksOuter>

View File

@ -15,43 +15,43 @@
<LinksOuter>
{#if matrix}
<Link url={matrix} classes="matrixcolored">
<div class="i-simple-icons:matrix"></div>
<div class="i-simple-icons:matrix" />
</Link>
{/if}
{#if discord}
<Link url={discord} classes="discordcolored">
<div class="i-simple-icons:discord"></div>
<div class="i-simple-icons:discord" />
</Link>
{/if}
{#if git}
<Link url={git} classes="gitcolored">
<div class="i-simple-icons:git"></div>
<div class="i-simple-icons:git" />
</Link>
{/if}
{#if website}
<Link url={website} classes="web">
<div class="i-fa6-solid:globe"></div>
<div class="i-fa6-solid:globe" />
</Link>
{/if}
{#if email}
<Link url="mailto:{email}" classes="email">
<div class="i-fa6-solid:envelope"></div>
<div class="i-fa6-solid:envelope" />
</Link>
{/if}
{#if pgp}
<Link url={pgp} classes="pgp">
<div class="i-fa6-solid:key"></div>
<div class="i-fa6-solid:key" />
</Link>
{/if}
{#if picture}
<Link url={picture} classes="picture">
<div class="i-fa6-solid:camera"></div>
<div class="i-fa6-solid:camera" />
</Link>
{/if}
</LinksOuter>

View File

@ -1,13 +1,9 @@
import { sveltekit } from "@sveltejs/kit/vite";
import unoCSS from "unocss/vite";
/** @type {import('vite').UserConfig} */
const config = {
plugins: [
sveltekit(),
unoCSS()
]
plugins: [sveltekit(), unoCSS()]
};
export default config;