diff options
author | gennyble <gen@nyble.dev> | 2023-12-27 05:34:40 -0600 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2023-12-27 05:34:40 -0600 |
commit | 0eefb6b385e78b142f691833c856c1cda01f20a0 (patch) | |
tree | 672411b8c5bdb54cab45141c7b927edb06688b7b /tests | |
download | cutie-0eefb6b385e78b142f691833c856c1cda01f20a0.tar.gz cutie-0eefb6b385e78b142f691833c856c1cda01f20a0.zip |
parses
Diffstat (limited to 'tests')
-rw-r--r-- | tests/homepage.rs | 7 | ||||
-rw-r--r-- | tests/nyble.html | 99 |
2 files changed, 106 insertions, 0 deletions
diff --git a/tests/homepage.rs b/tests/homepage.rs new file mode 100644 index 0000000..da36b1c --- /dev/null +++ b/tests/homepage.rs @@ -0,0 +1,7 @@ +use cutie::Html; + +#[test] +fn pares_homepage() { + let str = std::fs::read_to_string("tests/nyble.html").unwrap(); + let html = Html::parse(&str); +} diff --git a/tests/nyble.html b/tests/nyble.html new file mode 100644 index 0000000..41614ab --- /dev/null +++ b/tests/nyble.html @@ -0,0 +1,99 @@ +<html> + +<head> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta charset="utf-8" /> + <link rel="icon" type="image/png" href="/3directions.png" /> + <link rel="icon" type="image/svg+xml" href="/3directions.svg" /> + <title>nyble.dev</title> + <link rel="stylesheet" href="/styles/common.css" /> + <link rel="stylesheet" href="/styles/index.css" /> +</head> + +<body> + <ul id="nav-access"> + <li><a href="#content">Skip to main content</a></li> + </ul> + + <main id="content"> + <picture id="me"> + <source srcset="/index/overflow.webp" type="image/webp" /> + <img src="/index/overflow.png" + alt="myself with my head tilted back, arm outstretched holding a hat. There's a large amount of colorful noise covering my body." /> + </picture> + + <section id="contact"> + <h2>Contact~,.</h2> + <ul> + <li>Email! <a href="mailto:gen@nyble.dev">gen@nyble.dev</a></li> + <li>Github? <a href="https://github.com/gennyble">@gennyble</a></li> + <!-- well, i guess that's it. --> + <!-- <li>Twitter.. <a href="https://twitter.com/gennyble">@gennyble</a></li> --> + <li>Cohost: <a href="https://cohost.org/gen">cohost/gen</a></li> + <li>Fedi—<br /><a href="https://amble.quest/mel" style="margin-left: 1rem">@mel@amble.quest</a> + </li> + </ul> + </section> + + <section id="greeting" class="writing"> + <h1>Hello,</h1> + <p> + welcome to this small place. in the great vastness of the internet you've found your way here, thanks. + </p> + <p> + i'm some kind of software person trying to make things. written things, visual things, + <i>interesting</i> things. i enjoy image processing and small, intentional tools. + </p> + <p> + while i work out structuring here better, these are some pages you might like to visit + </p> + <ol> + <li><a href="sillygifs/">sillygifs.html</a> – some strange GIF files</li> + <li><a href="touching-grass/">touching-grass.html</a> – a short video and a long over-analysis + </li> + </ol> + + <p> + You can subscribe to the <a href="atom.xml">Atom feed</a> if you'd like. It gets updated if I + <a href="writing/">write</a> anything and also if I make something here that I want + to show :) + </p> + + <section id="scrap"> + <p><a href="scrap/">Scrap</a>; dropped things collected</p> + <ul> + <li><span>aug 7, 2023</span> wrench!</li> + </ul> + </section> + + <!-- maybe later --> + <!--<ol> + <li><a href="whenwasit/">whenwasit</a> – cli tool for preserving file times</li> + </ol>--> + + <!-- hi. are you reading this? --> + <!-- this is what we want. this is what we're working towards. a gentle graph of interconnected --> + <!-- things all reaching out and touching one another. --> + <!-- + <p> + this place has a loose organization. pages are scattered around and heavily interlinked forming + a sort of gentle graph. + </p> + <p> + at the bottom of each page are outgoing links, those that reach out + to other pages, and incoming links, pages that reference the current one. + </p> + --> + </section> + </main> + + <footer class="sized"> + <ul id="dates"> + <li id="dates-title"> times</li> + <li><abbr title="creation time">c</abbr> Aug. 16, 2022 03:38</li> + <li><abbr title="modification time">m</abbr> Oct. 19, 2023 04:01</li> + </ul> + </footer> +</body> + +</html> \ No newline at end of file |