From 6885a88ba04f34b133d2f92d560c52a766130504 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Thu, 3 Mar 2022 23:15:01 -0500 Subject: more poems --- static/poems.js | 23 +++++++++++++++++++++++ static/script.js | 4 +++- static/styles.css | 2 +- 3 files changed, 27 insertions(+), 2 deletions(-) (limited to 'static') diff --git a/static/poems.js b/static/poems.js index 8c573a2..3b4c780 100644 --- a/static/poems.js +++ b/static/poems.js @@ -76,6 +76,29 @@ By shallow rivers to whose falls Melodious birds sing madrigals.`, "link": "https://en.wikipedia.org/wiki/The_Passionate_Shepherd_to_His_Love", }, + { + "line": "What lips my lips have kissed and where and why".split(' '), + "scansion": ['x', '/', 'x', '/', 'x', '/', 'x', '/', 'x', '/'], + "title": "Sonnet XLIII", + "collection": "", + "author": "Edna St. Vincent Millay", + "meter": "iambic pentameter", + "ctx": `What lips my lips have kissed, and where, and why, +I have forgotten, and what arms have lain +Under my head till morning; but the rain +Is full of ghosts tonight, that tap and sigh +Upon the glass and listen for reply, +And in my heart there stirs a quiet pain +For unremembered lads that not again +Will turn to me at midnight with a cry. +Thus in winter stands the lonely tree, +Nor knows what birds have vanished one by one, +Yet knows its boughs more silent than before: +I cannot say what loves have come and gone, +I only know that summer sang in me +A little while, that in me sings no more.`, + "link": "https://www.poetryfoundation.org/poems/46557/what-lips-my-lips-have-kissed-and-where-and-why", + }, { "line": "To dew her orbs upon the green".split(' '), "scansion": ['x', '/', 'x', '/', 'x/', 'x', '/'], diff --git a/static/script.js b/static/script.js index c968ca3..41d9278 100644 --- a/static/script.js +++ b/static/script.js @@ -43,7 +43,9 @@ function renderLine(line, guess, guessIdx, scores) { var els = [] var offset = 0; if (guessIdx || guessIdx === 0) { - els.push(`
📋 ${guessIdx+1}
`) + els.push(`
📋 ${guessIdx+1}
`) + } else { + els.push(`
#${getChallengeIdx() + 1}
`) } for (var wordIdx in line) { var word = line[wordIdx] diff --git a/static/styles.css b/static/styles.css index b4064bf..0f47b18 100644 --- a/static/styles.css +++ b/static/styles.css @@ -122,7 +122,7 @@ margin-bottom: .3em; } -.idxbox { +.numbering { background-color: transparent; width: 60px; cursor: pointer; -- cgit v1.2.3