mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-12-02 01:35:02 +03:00
Split about page into fragments
This commit is contained in:
1 parent
af8e4e3925
commit
d6a395ee94
15 files changed
+803
-524
No files matched your search
@@ -0,0 +1,7 @@
|
||||
|
||||
<section id="api">
|
||||
<h2>API</h2>
|
||||
<p>
|
||||
Yes, we have an API! It's free to use, doesn't require an API key nor CORS.
|
||||
</p>
|
||||
</section>
|
||||
@@ -0,0 +1,161 @@
|
||||
<script lang="ts">
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
// Configuration
|
||||
const user = 'lissy93';
|
||||
const repo = 'networking-toolbox';
|
||||
const apiBase = 'https://readme-contribs.as93.net';
|
||||
const optionsLarge = '?avatarSize=72&perRow=10&limit=96';
|
||||
const optionsSmall = '?perRow=16&limit=96';
|
||||
|
||||
const githubApi = `https://api.github.com/repos/${user}/${repo}`;
|
||||
|
||||
// Fallback iframe URLs
|
||||
const sponsorsUrl = `${apiBase}/sponsors/${user}${optionsLarge}`;
|
||||
const contributorsUrl = `${apiBase}/contributors/${user}/${repo}${optionsLarge}`;
|
||||
const stargazersUrl = `${apiBase}/stargazers/${user}/${repo}${optionsSmall}`;
|
||||
|
||||
// State
|
||||
let sponsors: Array<{login: string, name?: string, avatarUrl: string}> = [];
|
||||
let contributors: Array<{login: string, avatar_url: string}> = [];
|
||||
let stargazers: Array<{login: string, avatar_url: string}> = [];
|
||||
let loadingSponsors = true;
|
||||
let loadingContributors = true;
|
||||
let loadingStargazers = true;
|
||||
|
||||
onMount(async () => {
|
||||
// Fetch sponsors
|
||||
try {
|
||||
const sponsorsRes = await fetch('https://github-sponsors-api.as93.net/lissy93');
|
||||
sponsors = sponsorsRes.ok ? await sponsorsRes.json() : [];
|
||||
} finally {
|
||||
loadingSponsors = false;
|
||||
}
|
||||
|
||||
// Fetch contributors
|
||||
try {
|
||||
const contributorsRes = await fetch(`${githubApi}/contributors?per_page=100`);
|
||||
contributors = contributorsRes.ok ? await contributorsRes.json() : [];
|
||||
} finally {
|
||||
loadingContributors = false;
|
||||
}
|
||||
|
||||
// Fetch stargazers
|
||||
try {
|
||||
const stargazersRes = await fetch(`${githubApi}/stargazers?per_page=100`);
|
||||
stargazers = stargazersRes.ok ? await stargazersRes.json() : [];
|
||||
} finally {
|
||||
loadingStargazers = false;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<section id="attributions">
|
||||
<h2>Attributions</h2>
|
||||
|
||||
<h3>Sponsors</h3>
|
||||
{#if !loadingSponsors && sponsors.length > 0}
|
||||
<div class="avatars-grid">
|
||||
{#each sponsors as sponsor}
|
||||
<a href="https://github.com/{sponsor.login}" target="_blank" rel="noopener" class="avatar-link">
|
||||
<img src={sponsor.avatarUrl} alt={sponsor.name || sponsor.login} class="avatar large" />
|
||||
<span>{sponsor.name || sponsor.login}</span>
|
||||
</a>
|
||||
{/each}
|
||||
</div>
|
||||
{:else}
|
||||
<iframe class="readme-contribs sponsors" src={sponsorsUrl} title="sponsors"></iframe>
|
||||
{/if}
|
||||
|
||||
<h3>Contributors</h3>
|
||||
{#if !loadingContributors && contributors.length > 0}
|
||||
<div class="avatars-grid">
|
||||
{#each contributors as contributor}
|
||||
<a href="https://github.com/{contributor.login}" target="_blank" rel="noopener" class="avatar-link">
|
||||
<img src={contributor.avatar_url} alt={contributor.login} class="avatar large" />
|
||||
<span>{contributor.login}</span>
|
||||
</a>
|
||||
{/each}
|
||||
</div>
|
||||
{:else}
|
||||
<iframe class="readme-contribs contributors" src={contributorsUrl} title="contributors"></iframe>
|
||||
{/if}
|
||||
|
||||
<h3>Stargazers</h3>
|
||||
{#if !loadingStargazers && stargazers.length > 0}
|
||||
<div class="avatars-grid small">
|
||||
{#each stargazers as stargazer}
|
||||
<a href="https://github.com/{stargazer.login}" target="_blank" rel="noopener" class="avatar-link small-link">
|
||||
<img src={stargazer.avatar_url} alt={stargazer.login} class="avatar small" />
|
||||
<span>{stargazer.login}</span>
|
||||
</a>
|
||||
{/each}
|
||||
</div>
|
||||
{:else}
|
||||
<iframe class="readme-contribs stargazers" src={stargazersUrl} title="stargazers"></iframe>
|
||||
{/if}
|
||||
</section>
|
||||
|
||||
<style>
|
||||
.readme-contribs {
|
||||
border: none;
|
||||
width: 100%;
|
||||
max-height: 512px;
|
||||
&.sponsors, &.contributors {
|
||||
min-height: 240px;
|
||||
}
|
||||
&.stargazers {
|
||||
min-height: 360px;
|
||||
}
|
||||
}
|
||||
|
||||
.avatars-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--spacing-xs);
|
||||
margin: var(--spacing-md) 0;
|
||||
&.small {
|
||||
gap: var(--spacing-2xs);
|
||||
}
|
||||
}
|
||||
.avatar-link {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-decoration: none;
|
||||
color: var(--text-primary);
|
||||
transition: transform 0.2s;
|
||||
&:hover img {
|
||||
transform: scale(1.1);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
span {
|
||||
margin-top: var(--spacing-xs);
|
||||
font-size: var(--font-size-2xs);
|
||||
text-align: center;
|
||||
word-break: break-word;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
max-width: 60px;
|
||||
text-overflow: ellipsis;
|
||||
opacity: 0.8;
|
||||
}
|
||||
&.small-link span {
|
||||
max-width: 40px;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.avatar {
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--border-primary);
|
||||
transition: all 0.15s ease-in-out;
|
||||
&.large {
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
}
|
||||
&.small {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,162 @@
|
||||
<script lang="ts">
|
||||
import { author } from '$lib/constants/site';
|
||||
|
||||
|
||||
const moreApps = [
|
||||
{
|
||||
name: 'domain-locker',
|
||||
title: 'Domain Locker',
|
||||
icon: 'https://storage.googleapis.com/as93-screenshots/project-logos/domain-locker.png',
|
||||
description: 'Domain name portfolio app for monitoring your domains',
|
||||
color: '#9571ff',
|
||||
},
|
||||
{
|
||||
name: 'web-check',
|
||||
title: 'Web Check',
|
||||
description: 'The ultimate all-in-one OSINT tool for analyzing any website',
|
||||
icon: 'https://raw.githubusercontent.com/Lissy93/web-check/master/public/android-chrome-192x192.png',
|
||||
color: '#9fef00',
|
||||
},
|
||||
{
|
||||
name: 'permissionator',
|
||||
title: 'Permissionator',
|
||||
description: 'A Linux chmod calculator, for generating safe file permissions',
|
||||
icon: 'https://github.com/Lissy93/permissionator/blob/main/public/logo.png?raw=true',
|
||||
color: '#05df72',
|
||||
},
|
||||
{
|
||||
name: 'personal-security-checklist',
|
||||
title: 'Digital Defense',
|
||||
description: 'The ultimate security checklist, for protecting your data online',
|
||||
icon: 'https://storage.googleapis.com/as93-screenshots/project-logos/digital-defense.png',
|
||||
color: '#a78bfa',
|
||||
},
|
||||
{
|
||||
name: 'awesome-privacy',
|
||||
title: 'Awesome Privacy',
|
||||
icon: 'https://storage.googleapis.com/as93-screenshots/project-logos/awesome-privacy.png',
|
||||
description: 'A curated list of services which respects your privacy',
|
||||
color: '#fc60a8',
|
||||
},
|
||||
{
|
||||
name: 'dashy',
|
||||
title: 'Dashy',
|
||||
description: 'A self-hostable personal server dashboard',
|
||||
icon: 'https://i.ibb.co/yhbt6CY/dashy.png',
|
||||
color: '#00efe3',
|
||||
},
|
||||
];
|
||||
</script>
|
||||
|
||||
<section id="author">
|
||||
<h2>Author</h2>
|
||||
<h3>About Me</h3>
|
||||
<div class="author-section">
|
||||
<div class="author-bio">
|
||||
<p>
|
||||
This was built by me, <a href="{author.url}" target="_blank" rel="noopener noreferrer">{author.name}</a>
|
||||
(<a target="_blank" rel="noopener noreferrer" href="{author.githubUrl}">@{author.github}</a> on GitHub).
|
||||
I'm an open source developer, passionate about Linux, security and the web.
|
||||
</p>
|
||||
<p>
|
||||
I build free and open source software for the developers, sysadmins and sometimes humans.
|
||||
My objective is to build tools that respect a user's privacy and are accessible to everyone.
|
||||
I have a particular interest in security, Linux and self-hosting.
|
||||
But also just love to build things that are fun and (sometimes, maybe) useful.
|
||||
</p>
|
||||
</div>
|
||||
<img class="profile-photo" src="{author.avatar}" alt="{author.name}" width="128" />
|
||||
</div>
|
||||
<div class="link-button blue">
|
||||
<a href="https://aliciasykes.com" target="_blank">Website</a>
|
||||
</div>
|
||||
|
||||
<h3>Sponsorship</h3>
|
||||
<p>
|
||||
I have developed, open sourced and maintain 100+ applications and libraries, used by over 1 million people every year.
|
||||
And pretty much everything I build is free to use, open source, and without ads, tracking or paywalls. Because I believe software should be free and accessible to everyone.
|
||||
<br><br>
|
||||
But running these projects does cost money. And maintaining them takes time.
|
||||
So, if you've found this app useful, please consider <a href="{author.sponsor}" target="_blank" rel="noopener noreferrer">sponsoring me</a>.
|
||||
My sponsors mean the world to me, and it's because of their generosity that this app can remain free for everyone.
|
||||
</p>
|
||||
<div class="link-button pink">
|
||||
<a href="https://github.com/sponsors/lissy93" target="_blank">Sponsor</a>
|
||||
</div>
|
||||
|
||||
<h3>More Apps</h3>
|
||||
<p>
|
||||
If you've found this app useful, you might also like some of my other projects:
|
||||
</p>
|
||||
<div class="more-app-list">
|
||||
<div class="links-grid">
|
||||
{#each moreApps as app}
|
||||
<a class="link-card" style="--app-color: {app.color}" href="https://github.com/lissy93/{app.name}" target="_blank" rel="noopener noreferrer">
|
||||
<h4>{app.title}</h4>
|
||||
<div class="right">
|
||||
<img src="{app.icon}" alt="{app.title}" width="40" height="40" />
|
||||
<p>{app.description}</p>
|
||||
</div>
|
||||
</a>
|
||||
{/each}
|
||||
</div>
|
||||
</div>
|
||||
<div class="link-button purple">
|
||||
<a href="https://lissy93.github.io" target="_blank">More Apps</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<style lang="scss">
|
||||
.author-section {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: var(--spacing-md);
|
||||
|
||||
p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.profile-photo {
|
||||
border-radius: var(--radius-sm);
|
||||
width: 96px;
|
||||
height: fit-content;
|
||||
border: 2px solid var(--color-primary);
|
||||
box-shadow: 0px 0px 5px var(--color-primary-hover);
|
||||
}
|
||||
}
|
||||
|
||||
.more-app-list {
|
||||
.links-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
|
||||
|
||||
.link-card {
|
||||
border-width: 2px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: var(--spacing-sm);
|
||||
padding: var(--spacing-md);
|
||||
|
||||
h4 {
|
||||
font-size: var(--font-size-lg);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.right {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: var(--spacing-md);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border-color: var(--app-color, var(--color-primary));
|
||||
|
||||
h4 {
|
||||
color: var(--app-color, var(--color-primary));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,63 @@
|
||||
<script lang="ts">
|
||||
</script>
|
||||
|
||||
<section id="building">
|
||||
<h2>Building from Source</h2>
|
||||
<h3>Prerequisites</h3>
|
||||
<p>
|
||||
Make sure you have <a href="https://nodejs.org/en/download/" target="_blank" rel="noopener noreferrer">Node.js</a> (v22 or higher) and <a href="https://git-scm.com/downloads" target="_blank" rel="noopener noreferrer">Git</a> installed on your machine.
|
||||
</p>
|
||||
<h3>Setup</h3>
|
||||
<div class="code">
|
||||
<code>git clone git@github.com:Lissy93/networking-toolbox.git</code>
|
||||
<code>cd networking-toolbox</code>
|
||||
<code>npm install</code>
|
||||
<code>npm start</code>
|
||||
</div>
|
||||
|
||||
<h3>Dev</h3>
|
||||
<div class="code">
|
||||
<code>npm run dev</code>
|
||||
</div>
|
||||
|
||||
<h3>Check 'n Test</h3>
|
||||
<div class="code">
|
||||
<code>npm run test</code>
|
||||
<code>npm run tsc</code>
|
||||
<code>npm run lint</code>
|
||||
</div>
|
||||
|
||||
<h3>Deploying</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<strong>Option #1 - Source:</strong><br>
|
||||
Run <code>npm run build</code>, and then upload the contents of <code>./dist</code>
|
||||
to any web server, CDN or static hosting provider
|
||||
</li>
|
||||
<li>
|
||||
<strong>Option #2 - Cloud:</strong><br>
|
||||
Just <a href="https://github.com/Lissy93/networking-toolbox/fork">fork the repo</a>,
|
||||
and import into Vercel, Netlify or any other cloud provider for instant deployment
|
||||
</li>
|
||||
<li>
|
||||
<strong>Option #3 - Docker:</strong><br>
|
||||
Build the Docker image, with <code>docker build -t networking-toolbox .</code>
|
||||
then run <code>docker run -p 8080:8080 networking-toolbox</code>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3>Contributing</h3>
|
||||
<p>
|
||||
Contributions of any kind are welcome (and much appreciated!)<br>
|
||||
Please read our <a href="https://github.com/lissy93/networking-toolbox/blob/main/CONTRIBUTING.md" target="_blank" rel="noopener noreferrer">contribution guidelines</a>
|
||||
before submitting a pull request.
|
||||
</p>
|
||||
|
||||
<h3>Bugs</h3>
|
||||
<p>
|
||||
Found something that's not working as expected?
|
||||
You can raise an issue <a href="https://github.com/Lissy93/networking-toolbox/issues/new/choose" target="_blank" rel="noopener noreferrer">here</a>
|
||||
and I'll look into getting it fixed for you.<br>
|
||||
For security issues, please see our <a href="/security.txt"><code>security.txt</code></a>
|
||||
</p>
|
||||
</section>
|
||||
@@ -0,0 +1,133 @@
|
||||
<script lang="ts">
|
||||
import { site, author, license } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
<section id="license">
|
||||
<h2>License</h2>
|
||||
|
||||
<p class="license-summary">
|
||||
<a href={site.url}>{site.title}</a> is licensed under the
|
||||
<a href="https://gist.github.com/Lissy93/143d2ee01ccc5c052a17">{license.name} License</a>
|
||||
© <a href={author.url}>{author.name}</a> {license.date}
|
||||
</p>
|
||||
|
||||
<h3>Conditions</h3>
|
||||
<ul class="license-tldr">
|
||||
<li class="license-tldr-item can">
|
||||
<div class="item-head">You Can</div>
|
||||
<ul>
|
||||
<li>Use commercially</li>
|
||||
<li>Modify the code</li>
|
||||
<li>Distribute the code</li>
|
||||
<li>Sublicense the app</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="license-tldr-item cannot">
|
||||
<div class="item-head">You Cannot</div>
|
||||
<ul>
|
||||
<li>Hold the author liable</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="license-tldr-item must">
|
||||
<div class="item-head">You Must</div>
|
||||
<ul>
|
||||
<li>Include the original copyright</li>
|
||||
<li>Include the below license in full</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3>Full License</h3>
|
||||
|
||||
<pre class="license-content">
|
||||
Copyright (c) 2025 Alicia Sykes [aliciasykes.com]
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in the
|
||||
Software without restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
|
||||
Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
</pre>
|
||||
|
||||
</section>
|
||||
|
||||
<style>
|
||||
|
||||
.license-tldr {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: var(--spacing-sm);
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
max-width: 38rem;
|
||||
@media (max-width: 600px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.license-tldr-item {
|
||||
background: var(--bg-tertiary);
|
||||
border-radius: var(--radius-sm);
|
||||
box-shadow: var(--shadow-sm);
|
||||
.item-head {
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--spacing-xs);
|
||||
background: var(--color-primary);
|
||||
color: var(--bg-secondary);
|
||||
padding: var(--spacing-xs);
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: var(--font-size-md);
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
&.can {
|
||||
.item-head { background: var(--color-success); }
|
||||
ul li:before { content: '✓'; color: var(--color-success); }
|
||||
}
|
||||
&.cannot {
|
||||
.item-head { background: var(--color-error); }
|
||||
ul li:before { content: '✕'; color: var(--color-error); }
|
||||
}
|
||||
&.must {
|
||||
.item-head { background: var(--color-info); }
|
||||
ul li:before { content: '!'; color: var(--color-info); }
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: var(--spacing-sm) 0;
|
||||
li {
|
||||
padding: 0 var(--spacing-sm);
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px solid var(--border-primary);
|
||||
}
|
||||
&:before {
|
||||
margin-right: var(--spacing-sm);
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.license-content {
|
||||
overflow-x: auto;
|
||||
width: fit-content;
|
||||
max-width: 100%;
|
||||
padding: var(--spacing-sm);
|
||||
background: var(--bg-tertiary);
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: var(--font-size-xs);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,18 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
<section id="self-hosting">
|
||||
<h2>Self-Hosting</h2>
|
||||
<p>
|
||||
{site.title} can be easily deployed to your own server.
|
||||
Just run the following command:
|
||||
</p>
|
||||
<div class="code">
|
||||
<code>docker run -p 8080:8080 lissy93/networking-toolbox</code>
|
||||
</div>
|
||||
<p>
|
||||
You can also checkout our <a href="https://github.com/Lissy93/networking-toolbox/blob/main/docker-compose.yml"><code>docker-compose.yml</code></a>,
|
||||
using the <a href="https://hub.docker.com/r/lissy93/networking-toolbox"><code>lissy93/networking-toolbox</code></a> image from DockerHub.
|
||||
</p>
|
||||
</section>
|
||||
@@ -0,0 +1,10 @@
|
||||
<script lang="ts">
|
||||
import ApiSection from '$lib/components/page-specific/about/ApiSection.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>API - Networking Toolbox</title>
|
||||
<meta name="description" content="Learn about our free API for networking tools - no authentication required" />
|
||||
</svelte:head>
|
||||
|
||||
<ApiSection />
|
||||
@@ -0,0 +1,10 @@
|
||||
<script lang="ts">
|
||||
import AttributionsSection from '$lib/components/page-specific/about/AttributionsSection.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Attributions - Networking Toolbox</title>
|
||||
<meta name="description" content="Acknowledgments, sponsors, and contributors to Networking Toolbox" />
|
||||
</svelte:head>
|
||||
|
||||
<AttributionsSection />
|
||||
@@ -0,0 +1,10 @@
|
||||
<script lang="ts">
|
||||
import AuthorSection from '$lib/components/page-specific/about/AuthorSection.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Author - Networking Toolbox</title>
|
||||
<meta name="description" content="About the author and creator of Networking Toolbox" />
|
||||
</svelte:head>
|
||||
|
||||
<AuthorSection />
|
||||
@@ -0,0 +1,10 @@
|
||||
<script lang="ts">
|
||||
import BuildingSection from '$lib/components/page-specific/about/BuildingSection.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Building from Source - Networking Toolbox</title>
|
||||
<meta name="description" content="Build and develop Networking Toolbox from source code" />
|
||||
</svelte:head>
|
||||
|
||||
<BuildingSection />
|
||||
@@ -0,0 +1,10 @@
|
||||
<script lang="ts">
|
||||
import LicenseSection from '$lib/components/page-specific/about/LicenseSection.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>License - Networking Toolbox</title>
|
||||
<meta name="description" content="Licensing information for Networking Toolbox" />
|
||||
</svelte:head>
|
||||
|
||||
<LicenseSection />
|
||||
@@ -0,0 +1,10 @@
|
||||
<script lang="ts">
|
||||
import SelfHostingSection from '$lib/components/page-specific/about/SelfHostingSection.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Self-Hosting - Networking Toolbox</title>
|
||||
<meta name="description" content="Deploy Networking Toolbox to your own server with Docker" />
|
||||
</svelte:head>
|
||||
|
||||
<SelfHostingSection />
|
||||
@@ -0,0 +1,14 @@
|
||||
<script>
|
||||
import '../../styles/page-specific/about-page.scss';
|
||||
</script>
|
||||
|
||||
<main class="card about-content">
|
||||
<slot />
|
||||
</main>
|
||||
|
||||
<style lang="scss">
|
||||
.about-content {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
</style>
|
||||
+55
-524
@@ -1,56 +1,18 @@
|
||||
<script lang="ts">
|
||||
export const prerender = true;
|
||||
|
||||
|
||||
import '../../styles/pages.scss';
|
||||
import { site, author, license, pages } from '$lib/constants/site';
|
||||
import { site, pages } from '$lib/constants/site';
|
||||
import ToolsCarousel from '$lib/components/global/ToolsCarousel.svelte';
|
||||
import { SUB_NAV } from '$lib/constants/nav';
|
||||
|
||||
const moreApps = [
|
||||
{
|
||||
name: 'domain-locker',
|
||||
title: 'Domain Locker',
|
||||
icon: 'https://storage.googleapis.com/as93-screenshots/project-logos/domain-locker.png',
|
||||
description: 'Domain name portfolio app for monitoring your domains',
|
||||
color: '#9571ff',
|
||||
},
|
||||
{
|
||||
name: 'web-check',
|
||||
title: 'Web Check',
|
||||
description: 'The ultimate all-in-one OSINT tool for analyzing any website',
|
||||
icon: 'https://raw.githubusercontent.com/Lissy93/web-check/master/public/android-chrome-192x192.png',
|
||||
color: '#9fef00',
|
||||
},
|
||||
{
|
||||
name: 'permissionator',
|
||||
title: 'Permissionator',
|
||||
description: 'A Linux chmod calculator, for generating safe file permissions',
|
||||
icon: 'https://github.com/Lissy93/permissionator/blob/main/public/logo.png?raw=true',
|
||||
color: '#05df72',
|
||||
},
|
||||
{
|
||||
name: 'personal-security-checklist',
|
||||
title: 'Digital Defense',
|
||||
description: 'The ultimate security checklist, for protecting your data online',
|
||||
icon: 'https://storage.googleapis.com/as93-screenshots/project-logos/digital-defense.png',
|
||||
color: '#a78bfa',
|
||||
},
|
||||
{
|
||||
name: 'awesome-privacy',
|
||||
title: 'Awesome Privacy',
|
||||
icon: 'https://storage.googleapis.com/as93-screenshots/project-logos/awesome-privacy.png',
|
||||
description: 'A curated list of services which respects your privacy',
|
||||
color: '#fc60a8',
|
||||
},
|
||||
{
|
||||
name: 'dashy',
|
||||
title: 'Dashy',
|
||||
description: 'A self-hostable personal server dashboard',
|
||||
icon: 'https://i.ibb.co/yhbt6CY/dashy.png',
|
||||
color: '#00efe3',
|
||||
},
|
||||
];
|
||||
|
||||
// Import section components
|
||||
import ApiSection from '$lib/components/page-specific/about/ApiSection.svelte';
|
||||
import SelfHostingSection from '$lib/components/page-specific/about/SelfHostingSection.svelte';
|
||||
import BuildingSection from '$lib/components/page-specific/about/BuildingSection.svelte';
|
||||
import AuthorSection from '$lib/components/page-specific/about/AuthorSection.svelte';
|
||||
import AttributionsSection from '$lib/components/page-specific/about/AttributionsSection.svelte';
|
||||
import LicenseSection from '$lib/components/page-specific/about/LicenseSection.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -62,473 +24,69 @@
|
||||
<meta property="og:url" content="{site.url}/about" />
|
||||
</svelte:head>
|
||||
|
||||
<div class="card about-content">
|
||||
|
||||
<!-- Section 0: Hero -->
|
||||
<div class="hero">
|
||||
<h2>About {site.title}</h2>
|
||||
<p class="lead">
|
||||
Networking Toolbox is a collection of free, open-source networking utilities designed to simplify common network-related tasks for system administrators and network engineers.
|
||||
</p>
|
||||
</div>
|
||||
<section>
|
||||
<ToolsCarousel
|
||||
sections={SUB_NAV}
|
||||
speedBase={36}
|
||||
gap="var(--spacing-sm)"
|
||||
pauseOnHover
|
||||
reverseAlternate
|
||||
/>
|
||||
</section>
|
||||
<!-- Links #1: GitHub -->
|
||||
<!-- Links #1: Live Demo, DockerHub, CodeBerg Mirror, Sponsor, More Apps -->
|
||||
<section class="contents">
|
||||
<div>
|
||||
<h3>On this page</h3>
|
||||
<ul>
|
||||
<li><a href="#api">API</a></li>
|
||||
<li><a href="#self-hosting">Self-Hosting</a></li>
|
||||
<li><a href="#building">Developing</a></li>
|
||||
<li><a href="#author">Author</a></li>
|
||||
<li><a href="#more-apps">Attributions</a></li>
|
||||
<li><a href="#license">License</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<h3>External links</h3>
|
||||
<ul>
|
||||
<li><a href="{site.repo}">Source on GitHub</a></li>
|
||||
<li><a href="{site.repo}">CodeBerg mirror</a></li>
|
||||
<li><a href="{site.repo}">DockerHub</a></li>
|
||||
<li><a href="{site.repo}">More apps...</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Section 2: API -->
|
||||
<section id="api">
|
||||
<h2>API</h2>
|
||||
<p>
|
||||
Yes, we have an API! It's free to use, doesn't require an API key nor CORS.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<!-- Section 3: Self-Hosting -->
|
||||
<section id="self-hosting">
|
||||
<h2>Self-Hosting</h2>
|
||||
<p>
|
||||
{site.title} can be easily deployed to your own server.
|
||||
Just run the following command:
|
||||
</p>
|
||||
<div class="code">
|
||||
<code>docker run -p 8080:8080 lissy93/networking-toolbox</code>
|
||||
</div>
|
||||
<p>
|
||||
You can also checkout our <a href="https://github.com/Lissy93/networking-toolbox/blob/main/docker-compose.yml"><code>docker-compose.yml</code></a>,
|
||||
using the <a href="https://hub.docker.com/r/lissy93/networking-toolbox"><code>lissy93/networking-toolbox</code></a> image from DockerHub.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<!-- Section 4: Building -->
|
||||
<section id="building">
|
||||
<h2>Building from Source</h2>
|
||||
<h3>Prerequisites</h3>
|
||||
<p>
|
||||
Make sure you have <a href="https://nodejs.org/en/download/" target="_blank" rel="noopener noreferrer">Node.js</a> (v22 or higher) and <a href="https://git-scm.com/downloads" target="_blank" rel="noopener noreferrer">Git</a> installed on your machine.
|
||||
</p>
|
||||
<h3>Setup</h3>
|
||||
<div class="code">
|
||||
<code>git clone git@github.com:Lissy93/networking-toolbox.git</code>
|
||||
<code>cd networking-toolbox</code>
|
||||
<code>npm install</code>
|
||||
<code>npm start</code>
|
||||
</div>
|
||||
|
||||
<h3>Dev</h3>
|
||||
<div class="code">
|
||||
<code>npm run dev</code>
|
||||
</div>
|
||||
|
||||
<h3>Check 'n Test</h3>
|
||||
<div class="code">
|
||||
<code>npm run test</code>
|
||||
<code>npm run tsc</code>
|
||||
<code>npm run lint</code>
|
||||
</div>
|
||||
|
||||
<h3>Deploying</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<strong>Option #1 - Source:</strong><br>
|
||||
Run <code>npm run build</code>, and then upload the contents of <code>./dist</code>
|
||||
to any web server, CDN or static hosting provider
|
||||
</li>
|
||||
<li>
|
||||
<strong>Option #2 - Cloud:</strong><br>
|
||||
Just <a href="https://github.com/Lissy93/networking-toolbox/fork">fork the repo</a>,
|
||||
and import into Vercel, Netlify or any other cloud provider for instant deployment
|
||||
</li>
|
||||
<li>
|
||||
<strong>Option #3 - Docker:</strong><br>
|
||||
Build the Docker image, with <code>docker build -t networking-toolbox .</code>
|
||||
then run <code>docker run -p 8080:8080 networking-toolbox</code>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3>Contributing</h3>
|
||||
<p>
|
||||
Contributions of any kind are welcome (and much appreciated!)<br>
|
||||
Please read our <a href="https://github.com/lissy93/networking-toolbox/blob/main/CONTRIBUTING.md" target="_blank" rel="noopener noreferrer">contribution guidelines</a>
|
||||
before submitting a pull request.
|
||||
</p>
|
||||
|
||||
<h3>Bugs</h3>
|
||||
<p>
|
||||
Found something that's not working as expected?
|
||||
You can raise an issue <a href="https://github.com/Lissy93/networking-toolbox/issues/new/choose" target="_blank" rel="noopener noreferrer">here</a>
|
||||
and I'll look into getting it fixed for you.<br>
|
||||
For security issues, please see our <a href="/security.txt"><code>security.txt</code></a>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- Section 5: Actual About -->
|
||||
<!-- <section id="about">
|
||||
<h2>About Networking Toolbox</h2>
|
||||
<h3>What</h3>
|
||||
<p>
|
||||
Networking Toolbox is an all-in-one suite of 100+ networking utilities,
|
||||
designed to make common network-related tasks easier and more efficient.
|
||||
</p>
|
||||
<h3>Why</h3>
|
||||
<p>
|
||||
My motive for building this, is that these are basic networking tasks that
|
||||
I find myself doing frequently, yet nothing existing on the web quite fit my use case.
|
||||
<br><br>
|
||||
Some websites came close, but I dislike ads, paywalls, tracking, and clunky UIs. And most importantly, I wanted a single place with all the tools I needed.
|
||||
And often when I needed these utilities, it was because I was working on a server without internet access, so I needed something with offline functionality.
|
||||
<br>
|
||||
<br>
|
||||
Then, I wanted to help make life <i>slightly</i> easier for sysadmins, so I've polished, tested, documented and open sourced this project.
|
||||
It can now be used by anyone, anywhere, anytime. Totally free either at <a href="#-">networking-toolbox.net</a> or self-hosted.
|
||||
</p>
|
||||
<h3>Where</h3>
|
||||
<p>
|
||||
I am running a free, public instance at <a href="https://networking-toolbox.net" target="_blank" rel="noopener noreferrer">networking-toolbox.net</a>,
|
||||
which you're free to use (for commercial and personal use), however you like. There's no tracking, no ads, no paywall, no bs.
|
||||
<br><br>
|
||||
You can also self-host it on your own server, using Docker or any static hosting provider
|
||||
</p>
|
||||
<h3>How</h3>
|
||||
<p>
|
||||
This project is built with <a href="https://svelte.dev" target="_blank" rel="noopener noreferrer">SvelteKit</a> and
|
||||
<a href="https://www.typescriptlang.org" target="_blank" rel="noopener noreferrer">TypeScript</a>.
|
||||
It's a static web app, that can be deployed anywhere, including serverless platforms like Vercel or Netlify.
|
||||
It can also be self-hosted using Docker or any static hosting provider.
|
||||
</p>
|
||||
|
||||
</section> -->
|
||||
|
||||
<!-- Section 6: Author -->
|
||||
<section id="author">
|
||||
<h2>Author</h2>
|
||||
<h3>About Me</h3>
|
||||
<div class="author-section">
|
||||
<div class="author-bio">
|
||||
<p>
|
||||
This was built by me, <a href="{author.url}" target="_blank" rel="noopener noreferrer">{author.name}</a>
|
||||
(<a target="_blank" rel="noopener noreferrer" href="{author.githubUrl}">@{author.github}</a> on GitHub).
|
||||
I'm an open source developer, passionate about Linux, security and the web.
|
||||
</p>
|
||||
<p>
|
||||
I build free and open source software for the developers, sysadmins and sometimes humans.
|
||||
My objective is to build tools that respect a user's privacy and are accessible to everyone.
|
||||
I have a particular interest in security, Linux and self-hosting.
|
||||
But also just love to build things that are fun and (sometimes, maybe) useful.
|
||||
</p>
|
||||
</div>
|
||||
<img class="profile-photo" src="{author.avatar}" alt="{author.name}" width="128" />
|
||||
</div>
|
||||
<div class="link-button blue">
|
||||
<a href="https://aliciasykes.com" target="_blank">Website</a>
|
||||
</div>
|
||||
|
||||
<h3>Sponsorship</h3>
|
||||
<p>
|
||||
I have developed, open sourced and maintain 100+ applications and libraries, used by over 1 million people every year.
|
||||
And pretty much everything I build is free to use, open source, and without ads, tracking or paywalls. Because I believe software should be free and accessible to everyone.
|
||||
<br><br>
|
||||
But running these projects does cost money. And maintaining them takes time.
|
||||
So, if you've found this app useful, please consider <a href="{author.sponsor}" target="_blank" rel="noopener noreferrer">sponsoring me</a>.
|
||||
My sponsors mean the world to me, and it's because of their generosity that this app can remain free for everyone.
|
||||
</p>
|
||||
<div class="link-button pink">
|
||||
<a href="https://github.com/sponsors/lissy93" target="_blank">Sponsor</a>
|
||||
</div>
|
||||
|
||||
<h3>More Apps</h3>
|
||||
<p>
|
||||
If you've found this app useful, you might also like some of my other projects:
|
||||
</p>
|
||||
<div class="more-app-list">
|
||||
<div class="links-grid">
|
||||
{#each moreApps as app}
|
||||
<a class="link-card" style="--app-color: {app.color}" href="https://github.com/lissy93/{app.name}" target="_blank" rel="noopener noreferrer">
|
||||
<h4>{app.title}</h4>
|
||||
<div class="right">
|
||||
<img src="{app.icon}" alt="{app.title}" width="40" height="40" />
|
||||
<p>{app.description}</p>
|
||||
</div>
|
||||
</a>
|
||||
{/each}
|
||||
</div>
|
||||
</div>
|
||||
<div class="link-button purple">
|
||||
<a href="https://lissy93.github.io" target="_blank">More Apps</a>
|
||||
</div>
|
||||
<!-- About, more apps, sponsor -->
|
||||
</section>
|
||||
|
||||
<!-- Section 7: License -->
|
||||
<section id="attributions">
|
||||
<h2>Attributions</h2>
|
||||
<h3>Sponsors</h3>
|
||||
<h3>Contributors</h3>
|
||||
<h3>Stargazers</h3>
|
||||
</section>
|
||||
|
||||
<!-- Section 7: License -->
|
||||
<section id="license">
|
||||
<h2>License</h2>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- Section 0: Hero -->
|
||||
<div class="hero">
|
||||
<h2>About {site.title}</h2>
|
||||
<p class="lead">
|
||||
Networking Toolbox is a collection of free, open-source networking utilities designed to simplify common network-related tasks for system administrators and network engineers.
|
||||
</p>
|
||||
</div>
|
||||
<section>
|
||||
<ToolsCarousel
|
||||
sections={SUB_NAV}
|
||||
speedBase={36}
|
||||
gap="var(--spacing-sm)"
|
||||
pauseOnHover
|
||||
reverseAlternate
|
||||
/>
|
||||
</section>
|
||||
<!-- Links #1: GitHub -->
|
||||
<!-- Links #1: Live Demo, DockerHub, CodeBerg Mirror, Sponsor, More Apps -->
|
||||
<section class="contents">
|
||||
<div>
|
||||
<h3>On this page</h3>
|
||||
<ul>
|
||||
<li><a href="#api">API</a></li>
|
||||
<li><a href="#self-hosting">Self-Hosting</a></li>
|
||||
<li><a href="#building">Developing</a></li>
|
||||
<li><a href="#author">Author</a></li>
|
||||
<li><a href="#more-apps">Attributions</a></li>
|
||||
<li><a href="#license">License</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<h3>External links</h3>
|
||||
<ul>
|
||||
<li><a href="{site.repo}">Source on GitHub</a></li>
|
||||
<li><a href="{site.repo}">CodeBerg mirror</a></li>
|
||||
<li><a href="{site.repo}">DockerHub</a></li>
|
||||
<li><a href="{site.repo}">More apps...</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<ApiSection />
|
||||
<SelfHostingSection />
|
||||
<BuildingSection />
|
||||
<AuthorSection />
|
||||
<AttributionsSection />
|
||||
<LicenseSection />
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
hr {
|
||||
border: none;
|
||||
border-top: 1px solid var(--border-primary);
|
||||
margin: var(--spacing-lg) 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-bottom: var(--spacing-sm);
|
||||
opacity: 0.8;
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--color-primary);
|
||||
text-decoration: none;
|
||||
transition: color var(--transition-fast);
|
||||
|
||||
&:hover {
|
||||
color: var(--color-primary-dark);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
p, ul, .code {
|
||||
margin: var(--spacing-sm) 0 var(--spacing-md) 0;
|
||||
color: var(--text-primary);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.code {
|
||||
background-color: var(--bg-secondary);
|
||||
padding: var(--spacing-sm);
|
||||
border-radius: var(--radius-sm);
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
background: var(--bg-tertiary);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
padding-left: var(--spacing-md);
|
||||
}
|
||||
|
||||
.about-content {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
|
||||
section {
|
||||
margin-bottom: var(--spacing-xl);
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px solid var(--border-primary);
|
||||
padding-bottom: var(--spacing-xl);
|
||||
}
|
||||
|
||||
h2, h3 {
|
||||
color: var(--text-primary);
|
||||
// margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.hero {
|
||||
margin-bottom: var(--spacing-xl);
|
||||
margin-bottom: var(--spacing-xl);
|
||||
h2 {
|
||||
font-size: var(--font-size-2xl);
|
||||
margin-bottom: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.lead {
|
||||
font-size: var(--font-size-md);
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
}
|
||||
|
||||
.features-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: var(--spacing-lg);
|
||||
margin-top: var(--spacing-lg);
|
||||
|
||||
.feature-card {
|
||||
padding: var(--spacing-lg);
|
||||
background-color: var(--bg-secondary);
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--border-primary);
|
||||
|
||||
h4 {
|
||||
color: var(--color-primary);
|
||||
margin-bottom: var(--spacing-sm);
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tech-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
padding: var(--spacing-sm) 0;
|
||||
border-bottom: 1px solid var(--border-primary);
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
strong {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.links-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: var(--spacing-md);
|
||||
margin-top: var(--spacing-lg);
|
||||
|
||||
.link-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--spacing-md);
|
||||
padding: var(--spacing-lg);
|
||||
background-color: var(--bg-secondary);
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--border-primary);
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
transition: all var(--transition-fast);
|
||||
|
||||
&:hover {
|
||||
background-color: var(--surface-hover);
|
||||
border-color: var(--color-primary);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
color: var(--color-primary);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
h4 {
|
||||
color: var(--text-primary);
|
||||
margin: 0 0 var(--spacing-xs) 0;
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.copyright {
|
||||
font-size: var(--font-size-sm);
|
||||
color: var(--text-secondary);
|
||||
text-align: center;
|
||||
margin-top: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.author-section {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: var(--spacing-md);
|
||||
p:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.profile-photo {
|
||||
border-radius: var(--radius-sm);
|
||||
width: 96px;
|
||||
height: fit-content;
|
||||
border: 2px solid var(--color-primary);
|
||||
box-shadow: 0px 0px 5px var(--color-primary-hover);
|
||||
}
|
||||
}
|
||||
|
||||
.more-app-list {
|
||||
.links-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
|
||||
.link-card {
|
||||
border-width: 2px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: var(--spacing-sm);
|
||||
padding: var(--spacing-md);
|
||||
h4 {
|
||||
font-size: var(--font-size-lg);
|
||||
margin: 0;
|
||||
}
|
||||
.right {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: var(--spacing-md);
|
||||
}
|
||||
&:hover {
|
||||
border-color: var(--app-color, var(--color-primary));
|
||||
h4 {
|
||||
color: var(--app-color, var(--color-primary));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.contents {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
@@ -537,32 +95,5 @@ ul {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.link-button {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
margin-top: var(--spacing-md);
|
||||
a {
|
||||
color: var(--bg-secondary);
|
||||
background: var(--color-primary);
|
||||
padding: var(--spacing-sm) var(--spacing-md);
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: var(--font-size-md);
|
||||
text-decoration: none;
|
||||
transition: filter 0.3s, transform 0.3s, box-shadow 0.3s;
|
||||
min-width: 7.5rem;
|
||||
text-align: center;
|
||||
&:hover {
|
||||
filter: brightness(1.1);
|
||||
transform: translateY(-3px) scale(1.04);
|
||||
box-shadow: 4px 4px 0px #ffffff3d;
|
||||
}
|
||||
}
|
||||
&.purple a { background: var(--color-purple); }
|
||||
&.pink a { background: var(--color-pink); }
|
||||
&.blue a { background: var(--color-info); }
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@@ -0,0 +1,130 @@
|
||||
|
||||
|
||||
section:not(.row) {
|
||||
margin-bottom: var(--spacing-xl);
|
||||
color: var(--text-primary);
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px solid var(--border-primary);
|
||||
padding-bottom: var(--spacing-xl);
|
||||
}
|
||||
h2, h3 {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
p, ul, li, .code {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-bottom: var(--spacing-sm);
|
||||
opacity: 0.8;
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--color-primary);
|
||||
text-decoration: none;
|
||||
transition: color var(--transition-fast);
|
||||
|
||||
&:hover {
|
||||
color: var(--color-primary-dark);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
p, ul, .code {
|
||||
margin: var(--spacing-sm) 0 var(--spacing-md) 0;
|
||||
color: var(--text-primary);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.code {
|
||||
background-color: var(--bg-secondary);
|
||||
padding: var(--spacing-sm);
|
||||
border-radius: var(--radius-sm);
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
background: var(--bg-tertiary);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
padding-left: var(--spacing-md);
|
||||
}
|
||||
|
||||
.links-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: var(--spacing-md);
|
||||
margin-top: var(--spacing-lg);
|
||||
|
||||
.link-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--spacing-md);
|
||||
padding: var(--spacing-lg);
|
||||
background-color: var(--bg-secondary);
|
||||
border-radius: var(--radius-lg);
|
||||
border: 1px solid var(--border-primary);
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
transition: all var(--transition-fast);
|
||||
|
||||
&:hover {
|
||||
background-color: var(--surface-hover);
|
||||
border-color: var(--color-primary);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
color: var(--color-primary);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
h4 {
|
||||
color: var(--text-primary);
|
||||
margin: 0 0 var(--spacing-xs) 0;
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.link-button {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
margin-top: var(--spacing-md);
|
||||
|
||||
a {
|
||||
color: var(--bg-secondary);
|
||||
background: var(--color-primary);
|
||||
padding: var(--spacing-sm) var(--spacing-md);
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: var(--font-size-md);
|
||||
text-decoration: none;
|
||||
transition: filter 0.3s, transform 0.3s, box-shadow 0.3s;
|
||||
min-width: 7.5rem;
|
||||
text-align: center;
|
||||
|
||||
&:hover {
|
||||
filter: brightness(1.1);
|
||||
transform: translateY(-3px) scale(1.04);
|
||||
box-shadow: 4px 4px 0px #ffffff3d;
|
||||
}
|
||||
}
|
||||
|
||||
&.purple a { background: var(--color-purple); }
|
||||
&.pink a { background: var(--color-pink); }
|
||||
&.blue a { background: var(--color-info); }
|
||||
}
|
||||
Reference in new issue
Block a user