Merge branch 'main' of ssh://git.hofer.link:2222/philipp/aef-website
This commit is contained in:
78
src/index.rs
78
src/index.rs
@@ -29,7 +29,7 @@ pub(super) async fn index(cookies: CookieJar, headers: HeaderMap) -> Markup {
|
||||
blockquote {
|
||||
"Digital Shadows confronts visitors with their digital self – copied, measured, analyzed. An experiment on data power, visibility, and control in the digital age."
|
||||
footer {
|
||||
cite { "— René Mayrhofer" }
|
||||
cite { "— Digital Shadow Team" }
|
||||
}
|
||||
}
|
||||
p {
|
||||
@@ -37,72 +37,32 @@ pub(super) async fn index(cookies: CookieJar, headers: HeaderMap) -> Markup {
|
||||
}
|
||||
|
||||
h2 {
|
||||
mark { "TODO: Hier weitermachen" }
|
||||
"What to do with this information?"
|
||||
}
|
||||
|
||||
h2 { "Features" }
|
||||
h3 { "Sample Form" }
|
||||
form {
|
||||
fieldset {
|
||||
label for="name" {
|
||||
"Name"
|
||||
input type="text" id="name" name="name" placeholder="Your name" required;
|
||||
}
|
||||
|
||||
label for="email" {
|
||||
"Email"
|
||||
input
|
||||
type="email"
|
||||
id="email"
|
||||
name="email"
|
||||
placeholder="your@email.com"
|
||||
required;
|
||||
}
|
||||
|
||||
label for="message" {
|
||||
"Message"
|
||||
textarea
|
||||
id="message"
|
||||
name="message"
|
||||
placeholder="Your message here..."
|
||||
rows="4" {}
|
||||
}
|
||||
div.grid.gap-lg {
|
||||
article {
|
||||
header {
|
||||
"Visit our booth"
|
||||
}
|
||||
|
||||
input type="submit" value="Send Message";
|
||||
}
|
||||
"We will be delighted to see you at our booth in the Post City Linz, where our team will show you, what happens when your Digital Shadow becomes allmighty."
|
||||
|
||||
h3 { "Sample Grid" }
|
||||
div.grid {
|
||||
div {
|
||||
article {
|
||||
header { "Card 1" }
|
||||
p { "This is the first card in a responsive grid layout." }
|
||||
}
|
||||
footer {
|
||||
"Where: Postcity Linz"
|
||||
}
|
||||
div {
|
||||
article {
|
||||
header { "Card 2" }
|
||||
p {
|
||||
"This is the second card. Pico CSS handles the responsive behavior automatically."
|
||||
}
|
||||
}
|
||||
}
|
||||
article {
|
||||
header {
|
||||
"Play our game"
|
||||
}
|
||||
div {
|
||||
article {
|
||||
header { "Card 3" }
|
||||
p { "Third card completes our example grid layout." }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h3 { "Sample Buttons" }
|
||||
p {
|
||||
button { "Primary Button" }
|
||||
" "
|
||||
button.secondary { "Secondary Button" }
|
||||
" "
|
||||
button.contrast { "Contrast Button" }
|
||||
"Ever wandered through Linz with the aim to find (hidden) cameras? Well, if you are that kind of person than our 'Discover cameras' game will be ideal for you!"
|
||||
|
||||
footer {
|
||||
"Where: all over Linz"
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user