mirror of
https://gitlab.com/Anson-Projects/zine.git
synced 2025-07-27 00:31:23 +00:00
Fixes #9, turns out id's are important
This commit is contained in:
@@ -89,7 +89,7 @@ fn generate_header() -> Markup {
|
||||
li { h1 { "The Biggs Brief" }}
|
||||
}
|
||||
ul {
|
||||
li { button data-target="about" onclick="toggleModal(event)" { "About" } }
|
||||
li { button data-target="modal-about" onclick="toggleModal(event)" { "About" } }
|
||||
li {
|
||||
|
||||
}
|
||||
@@ -123,11 +123,11 @@ fn about_modal(entries: Vec<utilities::Post>) -> Markup {
|
||||
links.sort();
|
||||
|
||||
html! {
|
||||
dialog id="about" {
|
||||
dialog id="modal-about" {
|
||||
article {
|
||||
header {
|
||||
a href="#" aria-label="Close" rel="prev" {}
|
||||
p { strong { "About" }}
|
||||
button aria-label="Close" rel="prev" data-target="modal-about" onclick="toggleModal(event)" {}
|
||||
h3 { "About" }
|
||||
}
|
||||
p {
|
||||
"I couldn't find a RSS reader that I liked so I decided to build my own."
|
||||
|
Reference in New Issue
Block a user