Commit a6f13056 authored by Vincent Woltmann's avatar Vincent Woltmann
Browse files

Initial Commit

parents
[package]
name = "sticker_maker"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
<!doctype html>
<html lang="de">
<head>
<title>
#LaschetLasset
</title>
<meta charset="utf-8">
<style>
#sticker { width: 100%; }
textarea { display: block; width: 100%}
</style>
</head>
<body>
<h1>
#LaschetLasset
</h1>
<p>
Ob gewürfelte Noten, katastrophaler Katastrophenschutz oder unpassendes Lachen:
Laschet und die CDU zeigen regelmäßig, dass sie nicht zum sinnvollen Regieren in der Lage sind.
Erstelle daher jetzt hier deine ganz persönliche #LaschetLasset Valentinskarte:
</p>
<textarea id="greetings">
Willst du mit mir deine Zukunft zerstören?
</textarea>
<svg id="sticker" version="1.1" viewBox="0 0 3412 1706" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect x=".00012207" y="2.2278" width="3412" height="1702.2" fill="#e42129" stroke-linecap="round" stroke-width="17.772"/>
<image x="1598" y="2.6645e-14" width="1814" height="1709.8" preserveAspectRatio="none" xlink:href="./laschet.png"/>
<foreignObject
x="80" y="50" width="2400" height="1000"
>
<xhtml:div style="display:flex; height: 100%; align-items: center">
<xhtml:p
style="font-size: 220px; color: white; font-family:'Jost*'; font-weight: 600; text-align: center; line-height: 1"
id="text-box">
</xhtml:p>
</xhtml:div>
</foreignObject>
<image x="50" y="1100" width="560.2" preserveAspectRatio="none" xlink:href="./fff_logo.jpg"/>
</svg>
<script>
const textarea = document.getElementById("greetings");
const text = document.getElementById("text-box");
textarea.addEventListener("input", (event) => {
text.innerText = textarea.value;
});
</script>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<svg width="3412" height="1706" version="1.1" viewBox="0 0 3412 1706" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect x=".00012207" y="2.2278" width="3412" height="1702.2" fill="#e42129" stroke-linecap="round" stroke-width="17.772"/>
<image x="1598" y="2.6645e-14" width="1814" height="1709.8" preserveAspectRatio="none" xlink:href="./laschet.png"/>
<text x="199.63347" y="345.19675" fill="#ffffff" font-family="'Jost*'" font-size="226.67px" font-weight="bold" letter-spacing="0px" style="line-height:1.25" xml:space="preserve">
<tspan x="0" dy="0">
Willst du mit mir
</tspan>
<tspan x="0" dy="1.2em">
deine Zukunft
</tspan>
<tspan x="0" dy="1.2em">
zerstören?
</tspan>
</text>
<image x="50" y="1100" width="560.2" preserveAspectRatio="none" xlink:href="./fff_logo.jpg"/>
</svg>
fn main() {
println!("Hello, world!");
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment