<link rel=stylesheet href=/static/index.css> <link rel=stylesheet href=/static/modern-normalize.css> <script src=/static/index.js defer></script> </head> <body> <header> <nav> <a href=/ title=home>Ordinals<sup>alpha</sup></a> .* <a href=/clock title=clock>.*</a> <a href=/rare.txt title=rare>.*</a> .* <form action=/search method=get> <input type=text .*> <input class=icon type=image .*> </form> </nav> </header> <main> <h1>Foo</h1> </main> </body> </html> " ); } #[test] fn page_mainnet() { assert_regex_match!( Foo.page(Arc::new(PageConfig { chain: Chain::Mainnet, csp_origin: None, domain: None, index_sats: true, })), r".*<nav>\s*<a href=/ title=home>Ordinals<sup>alpha</sup></a>.*" ); } #[test] fn page_no_sat_index() { assert_regex_match!( Foo.page(Arc::new(PageConfig { chain: Chain::Mainnet, csp_origin: None, domain: None,
Inscription number 44,985,479
Genesis block 819,063
File type text
File size 1.01 KB
Creation date Nov 30,2023 2:14 am