Compare commits

...

No commits in common. "master" and "pages" have entirely different histories.

32 changed files with 1 additions and 1925 deletions

133
.gitignore vendored
View file

@ -1,133 +0,0 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional stylelint cache
.stylelintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# vuepress v2.x temp and cache directory
.temp
.cache
# Docusaurus cache and generated files
.docusaurus
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
src/_cache
.dccache

110
LICENSE
View file

@ -1,110 +0,0 @@
Creative Commons Legal Code CC0 1.0 Universal Official translations of this
legal tool are available
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL
SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN ATTORNEY-CLIENT
RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS"
BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE OF THIS
DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND DISCLAIMS
LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT OR THE
INFORMATION OR WORKS PROVIDED HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator and
subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for the
purpose of contributing to a commons of creative, cultural and scientific works
("Commons") that the public can reliably and without fear of later claims of
infringement build upon, modify, incorporate in other works, reuse and
redistribute as freely as possible in any form whatsoever and for any purposes,
including without limitation commercial purposes. These owners may contribute
to the Commons to promote the ideal of a free culture and the further
production of creative, cultural and scientific works, or to gain reputation or
greater distribution for their Work in part through the use and efforts of
others.
For these and/or other purposes and motivations, and without any expectation of
additional consideration or compensation, the person associating CC0 with a
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
publicly distribute the Work under its terms, with knowledge of his or her
Copyright and Related Rights in the Work and the meaning and intended legal
effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not limited to,
the following:
the right to reproduce, adapt, distribute, perform, display, communicate,
and translate a Work; moral rights retained by the original author(s)
and/or performer(s); publicity and privacy rights pertaining to a person's
image or likeness depicted in a Work; rights protecting against unfair
competition in regards to a Work, subject to the limitations in paragraph
4(a), below; rights protecting the extraction, dissemination, use and reuse
of data in a Work; database rights (such as those arising under Directive
96/9/EC of the European Parliament and of the Council of 11 March 1996 on
the legal protection of databases, and under any national implementation
thereof, including any amended or successor version of such directive); and
other similar, equivalent or corresponding rights throughout the world
based on applicable law or treaty, and any national implementations
thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention of,
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
and Related Rights and associated claims and causes of action, whether now
known or unknown (including existing as well as future claims and causes of
action), in the Work (i) in all territories worldwide, (ii) for the maximum
duration provided by applicable law or treaty (including future time
extensions), (iii) in any current or future medium and for any number of
copies, and (iv) for any purpose whatsoever, including without limitation
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
the Waiver for the benefit of each member of the public at large and to the
detriment of Affirmer's heirs and successors, fully intending that such Waiver
shall not be subject to revocation, rescission, cancellation, termination, or
any other legal or equitable action to disrupt the quiet enjoyment of the Work
by the public as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason be
judged legally invalid or ineffective under applicable law, then the Waiver
shall be preserved to the maximum extent permitted taking into account
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
is so judged Affirmer hereby grants to each affected person a royalty-free, non
transferable, non sublicensable, non exclusive, irrevocable and unconditional
license to exercise Affirmer's Copyright and Related Rights in the Work (i) in
all territories worldwide, (ii) for the maximum duration provided by applicable
law or treaty (including future time extensions), (iii) in any current or
future medium and for any number of copies, and (iv) for any purpose
whatsoever, including without limitation commercial, advertising or promotional
purposes (the "License"). The License shall be deemed effective as of the date
CC0 was applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder of the
License, and in such case Affirmer hereby affirms that he or she will not (i)
exercise any of his or her remaining Copyright and Related Rights in the Work
or (ii) assert any associated claims and causes of action with respect to the
Work, in either case contrary to Affirmer's express Statement of Purpose.
4. Limitations and Disclaimers.
No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document. Affirmer
offers the Work as-is and makes no representations or warranties of any
kind concerning the Work, express, implied, statutory or otherwise,
including without limitation warranties of title, merchantability, fitness
for a particular purpose, non infringement, or the absence of latent or
other defects, accuracy, or the present or absence of errors, whether or
not discoverable, all to the greatest extent permissible under applicable
law. Affirmer disclaims responsibility for clearing rights of other
persons that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work. Further,
Affirmer disclaims responsibility for obtaining any necessary consents,
permissions or other rights required for any use of the Work. Affirmer
understands and acknowledges that Creative Commons is not a party to this
document and has no duty or obligation with respect to this CC0 or use of
the Work.

View file

@ -1,7 +0,0 @@
# Server Template Page
This is the template I use for the landing page on my numerous servers.
It is build with [Lume](https://lume.land) and deployed manually.
All it does is make basic pages with a favicon, a main image along with corresponding meta tags.

View file

@ -1,29 +0,0 @@
import lume from "lume/mod.ts";
import base_path from "lume/plugins/base_path.ts";
import inline from "lume/plugins/inline.ts";
import jsx_preact from "lume/plugins/jsx_preact.ts";
import lightningCss from "lume/plugins/lightningcss.ts";
import metas from "lume/plugins/metas.ts";
import minify_html from "lume/plugins/minify_html.ts";
import og_images from "lume/plugins/og_images.ts";
import robots from "lume/plugins/robots.ts";
const site = lume({
emptyDest: true,
src: "src",
dest: "dist",
});
site.use(base_path());
site.use(inline());
site.use(lightningCss())
site.use(jsx_preact());
site.use(metas());
site.use(minify_html());
site.use(og_images());
site.use(robots());
site.copy([".png", ".jpg"], (file) => `${file.replace("/img", "").split(".")[0].split("_icon")[0]}${file.replace("/img", "")}`);
site.copy(".domains", "jeanne/.domains")
export default site;

View file

@ -1,17 +0,0 @@
{
"compilerOptions": {
"jsx": "precompile",
"jsxImportSource": "npm:preact",
"types": [
"lume/types.ts"
]
},
"tasks": {
"lume": "echo \"import 'lume/cli.ts'\" | deno run -A -",
"build": "deno task lume",
"serve": "deno task lume -s"
},
"imports": {
"lume/": "https://deno.land/x/lume@v2.1.2/"
}
}

1513
deno.lock

File diff suppressed because it is too large Load diff

1
index.html Normal file
View file

@ -0,0 +1 @@
<!doctype html><html lang=en><meta charset=utf-8><meta content="width=device-width,initial-scale=1"name=viewport><title>Jeanne - Landing Page</title><link href=jeanne_icon.png rel=icon><style>body,html{min-width:100%;min-height:100%}body{color:#fff;text-align:center;background-color:#000;flex-direction:column;justify-content:center;align-items:center;max-width:80%;height:100%;margin:auto;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}img{max-width:40vh;max-height:55vh}@media only screen and (width>=1000px){img{max-width:50%;max-height:80%}}a{color:#c8c8c8cc}a:hover{color:#c8c8c8}</style><meta content=website property=og:type><meta content="Server Landing Page"property=og:site_name><meta content="Jeanne - Landing Page"property=og:title><meta content="A landing page for one of my many random servers."property=og:description><meta content=http://localhost/jeanne/ property=og:url><meta content=https://jeanne.froth.zone/jeanne.jpg property=og:image><meta content=summary_large_image name=twitter:card><meta content=@weezerfan94 name=twitter:site><meta content="A landing page for one of my many random servers."name=description><meta content="index, follow"name=robots><meta content=#000000 name=theme-color><meta content="Lume v2.1.2"name=generator><body><img alt=Jeanne src=jeanne.jpg title=Jeanne>

View file

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 156 KiB

View file

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View file

@ -1,3 +0,0 @@
export default (o: { char: string }) => (
<link rel="icon" href={`${o.char.toLowerCase()}_icon.png`} />
);

View file

@ -1,3 +0,0 @@
export default (o: { char: string }) => (
<img alt={o.char} title={o.char} src={`${o.char.toLowerCase()}.jpg`} />
);

View file

@ -1,22 +0,0 @@
import Favicon from "../components/favicon.tsx";
import Image from "../components/image.tsx";
interface OurData extends Lume.Data {
character: string;
}
export default (data: OurData, helpers: Lume.Helpers) => (
<html lang="en">
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{data.metas?.title}</title>
<Favicon char={data.character} />
{/* @ts-expect-error */}
<link rel="stylesheet" href="/styles.css" inline />
</head>
<body>
<Image char={data.character} />
</body>
</html>
);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

View file

@ -1,22 +0,0 @@
export const layout = "layouts/layout.tsx";
export default function* () {
const characters = ["Kaguya", "Mio", "Haruhi", "Kosaki", "Jeanne"];
for (const character of characters) {
yield {
url: `/${character.toLowerCase()}/`,
character,
metas: {
title: `${character} - Landing Page`,
site: "Server Landing Page",
description: "A landing page for one of my many random servers.",
icon: `https://${character.toLowerCase()}.froth.zone/${character.toLowerCase()}_icon.png`,
image: `https://${character.toLowerCase()}.froth.zone/${character.toLowerCase()}.jpg`,
robots: true,
generator: true,
twitter: "@weezerfan94",
color: "#000000",
},
};
}
}

View file

@ -1,22 +0,0 @@
export const layout = "layouts/layout.tsx";
export default function* () {
const characters = ["Rin", "Sakura", "Saber", "Illya"];
for (const character of characters) {
yield {
url: `/${character.toLowerCase()}/`,
character,
metas: {
title: `${character} - Froth.zone Nameserver`,
site: "Nameserver Landing Page",
description: "A landing page for the froth.zone nameservers",
icon: `https://${character.toLowerCase()}.froth.zone/${character.toLowerCase()}_icon.png`,
image: `https://${character.toLowerCase()}.froth.zone/${character.toLowerCase()}.jpg`,
robots: true,
generator: true,
twitter: "@weezerfan94",
color: "#000000",
},
};
}
}

View file

@ -1,44 +0,0 @@
body,
html {
min-width: 100%;
min-height: 100%;
}
body {
background-color: #000000;
color: rgba(255, 255, 255, 1);
max-width: 80%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
height: 100%;
margin: auto;
}
/* For mobile phones: */
img {
max-height: 55vh;
max-width: 40vh;
}
@media only screen and (min-width: 1000px) {
img {
max-height: 80%;
max-width: 50%;
}
}
a {
color: rgba(200, 200, 200, 0.8);
}
a:hover {
color: rgba(200, 200, 200, 1);
}