From d6a395ee94a5441250845eec3dbd30f67602d18c Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 14 Sep 2025 22:12:09 +0100 Subject: [PATCH] Split about page into fragments --- .../page-specific/about/ApiSection.svelte | 7 + .../about/AttributionsSection.svelte | 161 +++++ .../page-specific/about/AuthorSection.svelte | 162 +++++ .../about/BuildingSection.svelte | 63 ++ .../page-specific/about/LicenseSection.svelte | 133 ++++ .../about/SelfHostingSection.svelte | 18 + src/routes/about/(sections)/api/+page.svelte | 10 + .../(sections)/attributions/+page.svelte | 10 + .../about/(sections)/author/+page.svelte | 10 + .../about/(sections)/building/+page.svelte | 10 + .../about/(sections)/license/+page.svelte | 10 + .../(sections)/self-hosting/+page.svelte | 10 + src/routes/about/+layout.svelte | 14 + src/routes/about/+page.svelte | 579 ++---------------- src/styles/page-specific/about-page.scss | 130 ++++ 15 files changed, 803 insertions(+), 524 deletions(-) create mode 100644 src/lib/components/page-specific/about/ApiSection.svelte create mode 100644 src/lib/components/page-specific/about/AttributionsSection.svelte create mode 100644 src/lib/components/page-specific/about/AuthorSection.svelte create mode 100644 src/lib/components/page-specific/about/BuildingSection.svelte create mode 100644 src/lib/components/page-specific/about/LicenseSection.svelte create mode 100644 src/lib/components/page-specific/about/SelfHostingSection.svelte create mode 100644 src/routes/about/(sections)/api/+page.svelte create mode 100644 src/routes/about/(sections)/attributions/+page.svelte create mode 100644 src/routes/about/(sections)/author/+page.svelte create mode 100644 src/routes/about/(sections)/building/+page.svelte create mode 100644 src/routes/about/(sections)/license/+page.svelte create mode 100644 src/routes/about/(sections)/self-hosting/+page.svelte create mode 100644 src/routes/about/+layout.svelte create mode 100644 src/styles/page-specific/about-page.scss diff --git a/src/lib/components/page-specific/about/ApiSection.svelte b/src/lib/components/page-specific/about/ApiSection.svelte new file mode 100644 index 0000000..7f939a7 --- /dev/null +++ b/src/lib/components/page-specific/about/ApiSection.svelte @@ -0,0 +1,7 @@ + +
+

API

+

+ Yes, we have an API! It's free to use, doesn't require an API key nor CORS. +

+
\ No newline at end of file diff --git a/src/lib/components/page-specific/about/AttributionsSection.svelte b/src/lib/components/page-specific/about/AttributionsSection.svelte new file mode 100644 index 0000000..df97460 --- /dev/null +++ b/src/lib/components/page-specific/about/AttributionsSection.svelte @@ -0,0 +1,161 @@ + + +
+

Attributions

+ +

Sponsors

+ {#if !loadingSponsors && sponsors.length > 0} +
+ {#each sponsors as sponsor} + + {sponsor.name + {sponsor.name || sponsor.login} + + {/each} +
+ {:else} + + {/if} + +

Contributors

+ {#if !loadingContributors && contributors.length > 0} +
+ {#each contributors as contributor} + + {contributor.login} + {contributor.login} + + {/each} +
+ {:else} + + {/if} + +

Stargazers

+ {#if !loadingStargazers && stargazers.length > 0} +
+ {#each stargazers as stargazer} + + {stargazer.login} + {stargazer.login} + + {/each} +
+ {:else} + + {/if} +
+ + diff --git a/src/lib/components/page-specific/about/AuthorSection.svelte b/src/lib/components/page-specific/about/AuthorSection.svelte new file mode 100644 index 0000000..a762f82 --- /dev/null +++ b/src/lib/components/page-specific/about/AuthorSection.svelte @@ -0,0 +1,162 @@ + + +
+

Author

+

About Me

+
+
+

+ This was built by me, {author.name} + (@{author.github} on GitHub). + I'm an open source developer, passionate about Linux, security and the web. +

+

+ 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. +

+
+ {author.name} +
+ + +

Sponsorship

+

+ 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. +

+ But running these projects does cost money. And maintaining them takes time. + So, if you've found this app useful, please consider sponsoring me. + My sponsors mean the world to me, and it's because of their generosity that this app can remain free for everyone. +

+ + +

More Apps

+

+ If you've found this app useful, you might also like some of my other projects: +

+
+ +
+ +
+ + diff --git a/src/lib/components/page-specific/about/BuildingSection.svelte b/src/lib/components/page-specific/about/BuildingSection.svelte new file mode 100644 index 0000000..806f6e3 --- /dev/null +++ b/src/lib/components/page-specific/about/BuildingSection.svelte @@ -0,0 +1,63 @@ + + +
+

Building from Source

+

Prerequisites

+

+ Make sure you have Node.js (v22 or higher) and Git installed on your machine. +

+

Setup

+
+ git clone git@github.com:Lissy93/networking-toolbox.git + cd networking-toolbox + npm install + npm start +
+ +

Dev

+
+ npm run dev +
+ +

Check 'n Test

+
+ npm run test + npm run tsc + npm run lint +
+ +

Deploying

+ + +

Contributing

+

+ Contributions of any kind are welcome (and much appreciated!)
+ Please read our contribution guidelines + before submitting a pull request. +

+ +

Bugs

+

+ Found something that's not working as expected? + You can raise an issue here + and I'll look into getting it fixed for you.
+ For security issues, please see our security.txt +

+
\ No newline at end of file diff --git a/src/lib/components/page-specific/about/LicenseSection.svelte b/src/lib/components/page-specific/about/LicenseSection.svelte new file mode 100644 index 0000000..2a31bb1 --- /dev/null +++ b/src/lib/components/page-specific/about/LicenseSection.svelte @@ -0,0 +1,133 @@ + + +
+

License

+ +

+ {site.title} is licensed under the + {license.name} License + © {author.name} {license.date} +

+ +

Conditions

+ + +

Full License

+ +
+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.
+
+ +
+ + diff --git a/src/lib/components/page-specific/about/SelfHostingSection.svelte b/src/lib/components/page-specific/about/SelfHostingSection.svelte new file mode 100644 index 0000000..3c3df89 --- /dev/null +++ b/src/lib/components/page-specific/about/SelfHostingSection.svelte @@ -0,0 +1,18 @@ + + +
+

Self-Hosting

+

+ {site.title} can be easily deployed to your own server. + Just run the following command: +

+
+ docker run -p 8080:8080 lissy93/networking-toolbox +
+

+ You can also checkout our docker-compose.yml, + using the lissy93/networking-toolbox image from DockerHub. +

+
\ No newline at end of file diff --git a/src/routes/about/(sections)/api/+page.svelte b/src/routes/about/(sections)/api/+page.svelte new file mode 100644 index 0000000..e2d2a11 --- /dev/null +++ b/src/routes/about/(sections)/api/+page.svelte @@ -0,0 +1,10 @@ + + + + API - Networking Toolbox + + + + diff --git a/src/routes/about/(sections)/attributions/+page.svelte b/src/routes/about/(sections)/attributions/+page.svelte new file mode 100644 index 0000000..efe1dd9 --- /dev/null +++ b/src/routes/about/(sections)/attributions/+page.svelte @@ -0,0 +1,10 @@ + + + + Attributions - Networking Toolbox + + + + diff --git a/src/routes/about/(sections)/author/+page.svelte b/src/routes/about/(sections)/author/+page.svelte new file mode 100644 index 0000000..43b6fb0 --- /dev/null +++ b/src/routes/about/(sections)/author/+page.svelte @@ -0,0 +1,10 @@ + + + + Author - Networking Toolbox + + + + diff --git a/src/routes/about/(sections)/building/+page.svelte b/src/routes/about/(sections)/building/+page.svelte new file mode 100644 index 0000000..4ced44d --- /dev/null +++ b/src/routes/about/(sections)/building/+page.svelte @@ -0,0 +1,10 @@ + + + + Building from Source - Networking Toolbox + + + + diff --git a/src/routes/about/(sections)/license/+page.svelte b/src/routes/about/(sections)/license/+page.svelte new file mode 100644 index 0000000..18b3a29 --- /dev/null +++ b/src/routes/about/(sections)/license/+page.svelte @@ -0,0 +1,10 @@ + + + + License - Networking Toolbox + + + + diff --git a/src/routes/about/(sections)/self-hosting/+page.svelte b/src/routes/about/(sections)/self-hosting/+page.svelte new file mode 100644 index 0000000..44521d4 --- /dev/null +++ b/src/routes/about/(sections)/self-hosting/+page.svelte @@ -0,0 +1,10 @@ + + + + Self-Hosting - Networking Toolbox + + + + diff --git a/src/routes/about/+layout.svelte b/src/routes/about/+layout.svelte new file mode 100644 index 0000000..34a419c --- /dev/null +++ b/src/routes/about/+layout.svelte @@ -0,0 +1,14 @@ + + +
+ +
+ + diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte index c4b3725..0d43fc9 100644 --- a/src/routes/about/+page.svelte +++ b/src/routes/about/+page.svelte @@ -1,56 +1,18 @@ @@ -62,473 +24,69 @@ -
- - -
-

About {site.title}

-

- Networking Toolbox is a collection of free, open-source networking utilities designed to simplify common network-related tasks for system administrators and network engineers. -

-
-
- -
- - -
-
-

On this page

- -
-
-

External links

- -
-
- -
-

API

-

- Yes, we have an API! It's free to use, doesn't require an API key nor CORS. -

-
- - -
-

Self-Hosting

-

- {site.title} can be easily deployed to your own server. - Just run the following command: -

-
- docker run -p 8080:8080 lissy93/networking-toolbox -
-

- You can also checkout our docker-compose.yml, - using the lissy93/networking-toolbox image from DockerHub. -

-
- - -
-

Building from Source

-

Prerequisites

-

- Make sure you have Node.js (v22 or higher) and Git installed on your machine. -

-

Setup

-
- git clone git@github.com:Lissy93/networking-toolbox.git - cd networking-toolbox - npm install - npm start -
- -

Dev

-
- npm run dev -
- -

Check 'n Test

-
- npm run test - npm run tsc - npm run lint -
- -

Deploying

-
    -
  • - Option #1 - Source:
    - Run npm run build, and then upload the contents of ./dist - to any web server, CDN or static hosting provider -
  • -
  • - Option #2 - Cloud:
    - Just fork the repo, - and import into Vercel, Netlify or any other cloud provider for instant deployment -
  • -
  • - Option #3 - Docker:
    - Build the Docker image, with docker build -t networking-toolbox . - then run docker run -p 8080:8080 networking-toolbox -
  • -
- -

Contributing

-

- Contributions of any kind are welcome (and much appreciated!)
- Please read our contribution guidelines - before submitting a pull request. -

- -

Bugs

-

- Found something that's not working as expected? - You can raise an issue here - and I'll look into getting it fixed for you.
- For security issues, please see our security.txt -

-
- - - - - - -
-

Author

-

About Me

-
-
-

- This was built by me, {author.name} - (@{author.github} on GitHub). - I'm an open source developer, passionate about Linux, security and the web. -

-

- 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. -

-
- {author.name} -
- - -

Sponsorship

-

- 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. -

- But running these projects does cost money. And maintaining them takes time. - So, if you've found this app useful, please consider sponsoring me. - My sponsors mean the world to me, and it's because of their generosity that this app can remain free for everyone. -

- - -

More Apps

-

- If you've found this app useful, you might also like some of my other projects: -

-
- -
- - -
- - -
-

Attributions

-

Sponsors

-

Contributors

-

Stargazers

-
- - -
-

License

-
- - - + +
+

About {site.title}

+

+ Networking Toolbox is a collection of free, open-source networking utilities designed to simplify common network-related tasks for system administrators and network engineers. +

+
+ +
+ + +
+
+

On this page

+ +
+
+

External links

+ +
+
+ + + + + + diff --git a/src/styles/page-specific/about-page.scss b/src/styles/page-specific/about-page.scss new file mode 100644 index 0000000..3759ecd --- /dev/null +++ b/src/styles/page-specific/about-page.scss @@ -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); } +}