diff --git a/postit/contents.json b/postit/contents.json index c733f19..9a28c05 100644 --- a/postit/contents.json +++ b/postit/contents.json @@ -1 +1 @@ -[{"title": "The Leader", "description": "PLACEHOLDER COVER", "slug": "the-leader"}, {"title": "The Leader", "card": "A1", "quote": "Dreams don't work unless you do.", "motivation": 70, "vision": 40, "empathy": 0, "positivity": 0, "slug": "the-leader"}, {"title": "The Leader", "card": "A2", "quote": "If you want the rainbow, you gotta put up with the rain.", "motivation": 65, "vision": 30, "empathy": 20, "positivity": 80, "slug": "the-leader"}, {"title": "The Leader", "card": "A3", "quote": "If you want to live a happy\nlife, tie it to a goal,\nnot people.", "motivation": 50, "vision": 65, "empathy": 10, "positivity": 50, "slug": "the-leader"}, {"title": "The Leader", "card": "A4", "quote": "You live. You love. You cry. \nYou lose. You bleed. \nYou learn.", "motivation": 30, "vision": 10, "empathy": 90, "positivity": 100, "slug": "the-leader"}, {"title": "The Leader", "description": "This is a quartets card \ngame with the objective\nto collect 4 cards in\na series.", "slug": "the-leader"}, {"title": "The Leader", "description": "The pack contains 32 cards, divided into 8 groups of 4 cards.", "slug": "the-leader"}, {"title": "The Leader", "card": "B1", "quote": "Never stop learning because life never stops teaching.", "motivation": 95, "vision": 70, "empathy": 15, "positivity": 55, "slug": "the-leader"}, {"title": "The Leader", "card": "B2", "quote": "Push yourself because \nno one else is going to do\nit for you.", "motivation": 85, "vision": 85, "empathy": 0, "positivity": 0, "slug": "the-leader"}, {"title": "The Leader", "card": "B3", "quote": "Big journeys begin with a small step.", "motivation": 90, "vision": 25, "empathy": 100, "positivity": 95, "slug": "the-leader"}, {"title": "The Leader", "card": "B4", "quote": "Be so good they can't ignore you.", "motivation": 80, "vision": 95, "empathy": 20, "positivity": 15, "slug": "the-leader"}, {"title": "The Leader", "description": "It is played with three or more players. The aim is to win all the quartets (sets of four).", "slug": "the-leader"}, {"title": "The Leader", "description": "Each card has a number and letter (A1, A2, A3, A4, B1, B2, etc.) in the top of the card.", "slug": "the-leader"}, {"title": "The Leader", "description": "On the cards, you find motivational quotes by your imaginary leader.", "slug": "the-leader"}, {"title": "The Leader", "card": "C1", "quote": "Don't focus on the pain, focus on the progress.", "motivation": 70, "vision": 80, "empathy": 5, "positivity": 65, "slug": "the-leader"}, {"title": "The Leader", "card": "C2", "quote": "Good things will come.", "motivation": 5, "vision": 90, "empathy": 100, "positivity": 100, "slug": "the-leader"}, {"title": "The Leader", "card": "C3", "quote": "Work hard in silence. Let success make the noise.", "motivation": 70, "vision": 100, "empathy": 20, "positivity": 55, "slug": "the-leader"}, {"title": "The Leader", "card": "C4", "quote": "Prove yourself to yourself, not to others.", "motivation": 20, "vision": 0, "empathy": 45, "positivity": 90, "slug": "the-leader"}, {"title": "The Leader", "description": "The quotes have a value\nin the following \ncategories: motivation,\nempathy, vision\nand positivity.", "slug": "the-leader"}, {"title": "The Leader", "description": "The cards are shuffled\nand dealt evenly\nbetween all the players\nand the cards get \nheld face up in a\nplayer's hand.", "slug": "the-leader"}, {"title": "The Leader", "card": "D1", "quote": "Falling down is an accident. Staying down is a choice.", "motivation": 55, "vision": 50, "empathy": 25, "positivity": 20, "slug": "the-leader"}, {"title": "The Leader", "card": "D2", "quote": "Whatever you decide to do, make it sure it makes you happy.", "motivation": 15, "vision": 10, "empathy": 85, "positivity": 100, "slug": "the-leader"}, {"title": "The Leader", "card": "D3", "quote": "Don't be afraid to fail, be afraid not to try.", "motivation": 100, "vision": 75, "empathy": 90, "positivity": 100, "slug": "the-leader"}, {"title": "The Leader", "card": "D4", "quote": "A winner is a dreamer who never gives up.", "motivation": 80, "vision": 100, "empathy": 60, "positivity": 80, "slug": "the-leader"}, {"title": "The Leader", "description": "The player on the dealer's lefthand side starts by asking another player if they have a certain card (for example, card C4).", "slug": "the-leader"}, {"title": "The Leader", "description": "They are looking for a card that would help them create a quartet (in this case, a quartet of cards with the letter C).", "slug": "the-leader"}, {"title": "The Leader", "description": "If the other player doesn\u2019t have the card, then it becomes their turn to ask.", "slug": "the-leader"}, {"title": "The Leader", "card": "E1", "quote": "Criticism makes you strong.", "motivation": 100, "vision": 75, "empathy": 0, "positivity": 30, "slug": "the-leader"}, {"title": "The Leader", "card": "E2", "quote": "Sometimes later becomes never. Do it now.", "motivation": 35, "vision": 55, "empathy": 0, "positivity": 25, "slug": "the-leader"}, {"title": "The Leader", "card": "E3", "quote": "A year from now, you may wish you had starded today.", "motivation": 60, "vision": 80, "empathy": 25, "positivity": 35, "slug": "the-leader"}, {"title": "The Leader", "card": "E4", "quote": "Never give up on anything that makes your hart sore.", "motivation": 55, "vision": 60, "empathy": 10, "positivity": 40, "slug": "the-leader"}, {"title": "The Leader", "description": "If the other player does\nhave the card, the\ntwo compete in\nthe categories.", "slug": "the-leader"}, {"title": "The Leader", "description": "The player who asked\nfor the card, now picks \na category (for example,\npositivity) and both\nplayers reveal the value\nof their card in\nthat category.", "slug": "the-leader"}, {"title": "The Leader", "card": "F1", "quote": "Do or do not. There is \nno try.", "motivation": 75, "vision": 90, "empathy": 5, "positivity": 45, "slug": "the-leader"}, {"title": "The Leader", "card": "F2", "quote": "There's no elevator to success. You have to take the stairs.", "motivation": 90, "vision": 80, "empathy": 0, "positivity": 0, "slug": "the-leader"}, {"title": "The Leader", "card": "F3", "quote": "Do good and good will come to you.", "motivation": 20, "vision": 50, "empathy": 90, "positivity": 100, "slug": "the-leader"}, {"title": "The Leader", "card": "F4", "quote": "There is hope. Even when\nyour brain tells you\nthere isn't.", "motivation": 75, "vision": 60, "empathy": 100, "positivity": 100, "slug": "the-leader"}, {"title": "The Leader", "description": "The player with the lower category value hands over their card to the player with the higher value. The winning person is next.", "slug": "the-leader"}, {"title": "The Leader", "description": "When a quartet is created, or a complete quartet was dealt, then the cards creating the quartet are placed in front of the player.", "slug": "the-leader"}, {"title": "The Leader", "card": "G1", "quote": "You didn't come this far to only come this far.", "motivation": 65, "vision": 75, "empathy": 20, "positivity": 25, "slug": "the-leader"}, {"title": "The Leader", "card": "G2", "quote": "Your mistakes don't\ndefine you.", "motivation": 0, "vision": 0, "empathy": 100, "positivity": 90, "slug": "the-leader"}, {"title": "The Leader", "card": "G3", "quote": "Everyday is a chance \nto be better.", "motivation": 80, "vision": 80, "empathy": 70, "positivity": 100, "slug": "the-leader"}, {"title": "The Leader", "card": "G4", "quote": "Believe you can and you\u2019re halfway there.", "motivation": 90, "vision": 50, "empathy": 80, "positivity": 95, "slug": "the-leader"}, {"title": "The Leader", "description": "If someone loses all their cards in the game, they lose the game.", "slug": "the-leader"}, {"title": "The Leader", "description": "The game ends when\nall the quartets have\nbeen created.", "slug": "the-leader"}, {"title": "The Leader", "card": "H1", "quote": "A negative mind will never give you a positive life.", "motivation": 15, "vision": 10, "empathy": 5, "positivity": 0, "slug": "the-leader"}, {"title": "The Leader", "card": "H2", "quote": "Be a warrior, not a worrier.", "motivation": 50, "vision": 60, "empathy": 0, "positivity": 50, "slug": "the-leader"}, {"title": "The Leader", "card": "H3", "quote": "If your dreams don't scare you, they are too small.", "motivation": 20, "vision": 100, "empathy": 35, "positivity": 45, "slug": "the-leader"}, {"title": "The Leader", "card": "H4", "quote": "The key to success is to start before you are ready.", "motivation": 80, "vision": 80, "empathy": 30, "positivity": 75, "slug": "the-leader"}, {"title": "The Leader", "description": "The winner is the person\nwho has the most \nquartets and\nthus the most\ninspirational quotes.", "slug": "the-leader"}] \ No newline at end of file +{"crosswords": [{"title": "Crossword Imaginary Grid Game", "description": "PLACEHOLDER COVER", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "Dear Player, The Crossword Imaginary Grid Game found you for a reason.", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "The aim of this game is \nto create a crossword \ngrid with your hands \nand explore a part \nof the Glossary \nof Productive Play. ", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "There is a printed grid \nfor you here, but if you \nwant more, visit the \nwebsite of this \nSpecial Issue. ", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "Take some time (leisure \nor productive?), place\nthe pieces on a surface,\non a wall, on your bed,\non your cat's body.. \nand start playing!", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "Position the coded\npapers to recreate \nthe grid. Follow \nthe following scheme \nfor every category:", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "", "img": "imaginarygrid_structure.jpg", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "I know it might sound complicated now, but I promise you that you will understand how to make it work while playing.", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "There are four things you have to keep attention to while creating the grid:", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "1. A code (e.g. B7), composed of a letter and a number, defines the position in the imaginary grid.", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "2. The papers with the clues are not to be used during the grid's construction.", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "3. A content category gathers all the definitions that are part of the same crossword (e.g. loot box).", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "4. The papers having\nthe same code \ncould represent \nan intersection or \nthe presence of two \ndefinitions, one \ngoing down and the\nother across. ", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "Find out which is which!", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "If you don't know the word, don't stress yourself out: these crosswords are meant to teach while having fun.", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "Yes, you heard that well, you are experiencing Productive Play! Enjoy the time you are taking for yourself! It's okay not to finish it, it's okay to give up, it's okay to still be happy with it.", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "And if you are really unsatisfied, just call some friends and have some fun together!", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "description": "Remember, these are\njust instructions not \nto get lost. But it's\nokay to get lost. \nGet lost sometimes.", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "J1", "word": "Cost", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "K1", "word": "Cost", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "L1", "word": "Cost", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "M1", "word": "Cost", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": "The price given to\nobjects to be acquired, produced, maintained, or accomplished.", "category": "Loot Box", "start": "J1", "word": "Cost", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "L4", "word": "Exclusive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "L5", "word": "Exclusive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "L6", "word": "Exclusive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "L7", "word": "Exclusive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "L8", "word": "Exclusive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "L9", "word": "Exclusive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "L10", "word": "Exclusive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "L11", "word": "Exclusive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "L12", "word": "Exclusive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": "Available to only a few\npeople because users\nhave a limited time\nframe to obtain the\nloot box.", "category": "Loot Box", "start": "L4", "word": "Exclusive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "J1", "word": "Collectible", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "J2", "word": "Collectible", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "J3", "word": "Collectible", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "J4", "word": "Collectible", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "J5", "word": "Collectible", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "J6", "word": "Collectible", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "J7", "word": "Collectible", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "J8", "word": "Collectible", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "J9", "word": "Collectible", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "J10", "word": "Collectible", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "J11", "word": "Collectible", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": "Something that is\nconsidered valuable\nbecause kept as part \nof a group of \nsimilar objects.", "category": "Loot Box", "start": "J1", "word": "Collectible", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "R2", "word": "Addictive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "R3", "word": "Addictive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "R4", "word": "Addictive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "R5", "word": "Addictive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "R6", "word": "Addictive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "R7", "word": "Addictive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "R8", "word": "Addictive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "R9", "word": "Addictive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "R10", "word": "Addictive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": "That causes a strong \nand harmful need to \nregularly have or \ndo something.", "category": "Loot Box", "start": "R2", "word": "Addictive", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "N7", "word": "Reward", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "N8", "word": "Reward", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "N9", "word": "Reward", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "N10", "word": "Reward", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "N11", "word": "Reward", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "N12", "word": "Reward", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": "Something given or received in return or compensation for service, merit, hard work, etc.", "category": "Loot Box", "start": "N7", "word": "Reward", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "G3", "word": "Surprise", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "G4", "word": "Surprise", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "G5", "word": "Surprise", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "G6", "word": "Surprise", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "G7", "word": "Surprise", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "G8", "word": "Surprise", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "G9", "word": "Surprise", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "G10", "word": "Surprise", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": "Something unexpected.", "category": "Loot Box", "start": "G3", "word": "Surprise", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "P5", "word": "Gambling", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "P6", "word": "Gambling", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "P7", "word": "Gambling", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "P8", "word": "Gambling", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "P9", "word": "Gambling", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "P10", "word": "Gambling", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "P11", "word": "Gambling", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "P12", "word": "Gambling", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": "The investment will probably not come back, which makes paying for the content of a loot box not just buying but...", "category": "Loot Box", "start": "P5", "word": "Gambling", "direction": "H", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "G10", "word": "Exploitative", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "H10", "word": "Exploitative", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "I10", "word": "Exploitative", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "J10", "word": "Exploitative", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "K10", "word": "Exploitative", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "L10", "word": "Exploitative", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "M10", "word": "Exploitative", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "N10", "word": "Exploitative", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "O10", "word": "Exploitative", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "P10", "word": "Exploitative", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "Q10", "word": "Exploitative", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": " ", "category": "Loot Box", "start": "R10", "word": "Exploitative", "direction": "V", "slug": "crosswords"}, {"title": "Crossword Imaginary Grid Game", "definition": "When a company \nis taking unfair or \nunethical advantage \nof a person or a \nsituation for profit.", "category": "Loot Box", "start": "G10", "word": "Exploitative", "direction": "V", "slug": "crosswords"}]} \ No newline at end of file diff --git a/postit/dump.py b/postit/dump.py index 6e6c15b..89ab361 100644 --- a/postit/dump.py +++ b/postit/dump.py @@ -13,9 +13,11 @@ def dump(order=None): if folders == None: folders = [f.name for f in os.scandir(path) if f.is_dir()] - contents = [] + contents = {} + total = 0 for folder in folders: + contribution = [] try: with open(f"{path}/{folder}/contents.md", "r", encoding="utf8") as f: metadata, body = frontmatter.parse(f.read()) @@ -89,7 +91,7 @@ def dump(order=None): start_f = f"{string.ascii_uppercase[start[0] + i]}{start[1]}" # print(start_f) pass - contents.append( + contribution.append( { "title": metadata["title"], "definition": " ", @@ -107,14 +109,16 @@ def dump(order=None): "description": content, "slug": folder, } - contents.append(postit) + contribution.append(postit) amount = len(metadata["contents"]) print(f"{amount:03} - {folder}") + total = total + amount + contents[folder] = contribution except Exception as e: print(f"{folder} has an error!") print(e) - print(f'Total: {len(contents)}') + print(f'Total: {total}') with open("postit/contents.json", "w") as f: f.write(json.dumps(contents)) diff --git a/postit/generate.py b/postit/generate.py index 6942cb2..8a8141d 100644 --- a/postit/generate.py +++ b/postit/generate.py @@ -19,17 +19,18 @@ def blocks(): dump.dump(index) with open("postit/contents.json", "r") as f: - contents = json.load(f) - - return render_template("postit-single.html", contents=contents) + contributions = json.load(f) + + return render_template("postit.html", contributions=contributions) @bp.route("/") def block(slug=None): dump.dump([slug]) - with open("postit/contents.json", "r") as f: contents = json.load(f) - - block = [post for post in contents if post["slug"] == slug] - return render_template("postit-single.html", contents=block) + contributions = { + slug: contents[slug] + } + + return render_template("postit.html", contributions=contributions) diff --git a/postit/static/css/contents.css b/postit/static/css/contents.css index 06258a9..b30c0c2 100644 --- a/postit/static/css/contents.css +++ b/postit/static/css/contents.css @@ -82,13 +82,21 @@ -.crosswords .category { +.crosswords .info { position: absolute; + font-size: 21px; + left: 4mm; top: 4mm; } +.info .category { + color: var(--background); + font-weight:bold; +} + + .crosswords .description { - font-size: 18px; + font-size: 28px; text-align: start; } diff --git a/postit/static/css/postit-old.css b/postit/static/css/postit-old.css deleted file mode 100644 index d940e14..0000000 --- a/postit/static/css/postit-old.css +++ /dev/null @@ -1,87 +0,0 @@ -@page { - size: A3; - margin: 5mm; -} - -html, -body { - margin: 0; -} - -* { - box-sizing: border-box; -} - -.container { - font-size: 0; -} - -.post-it { - position: relative; - vertical-align: middle; - display: inline-block; - width: 90mm; - height: 90mm; - border: 1px solid #ddd; - margin: 0; - font-family: Arial, Helvetica, sans-serif; - line-height: 1.4; - overflow: hidden; - text-overflow: ellipsis; -} - -img { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - object-fit: cover; - z-index: 50; -} - -.title { - position: absolute; - bottom: 0; - margin: 4mm; - font-weight: normal; - text-transform: uppercase; - font-size: 14px; -} - -.description { - display: inline-block; - margin: 4mm; - font-size: 28px; - line-height: 1.2; - white-space: pre-line; - margin-top: calc(4mm - 1em); -} - -figcaption { - background-color: white; - font-size: 18px; - text-align: center; - display: inline-block; - position: absolute; - left: 50%; - bottom: 4mm; - transform: translate(-50%, 0); - z-index: 100; -} - -a { - color: #ddd; - font-size: 12px; -} - -.description.long-text { - font-size: 21px; -} - -.page-number { - position: absolute; - right: 4mm; - bottom: 4mm; - font-size: 14px; -} diff --git a/postit/static/css/postit-pre-paged.css b/postit/static/css/postit-pre-paged.css deleted file mode 100644 index 1712fdf..0000000 --- a/postit/static/css/postit-pre-paged.css +++ /dev/null @@ -1,114 +0,0 @@ -@page { - size: A3; - margin: 5mm; -} - -:root { - --background: #8f00ff33; - --color: #8f00ff; -} - -html, -body { - margin: 0; - color: var(--color); -} - -* { - box-sizing: border-box; -} - -.container { - font-size: 0; -} - -.post-it { - position: relative; - vertical-align: middle; - display: inline-block; - width: 90mm; - height: 90mm; - border: 1px solid #ddd; - margin: 0; - font-family: Arial, Helvetica, sans-serif; - line-height: 1.4; - overflow: hidden; - text-overflow: ellipsis; - display: inline-flex; - justify-content: end; - flex-direction: column; -} - -footer { - width: 100%; - position: relative; - /* position: absolute; */ - /* bottom: 0; */ - border-top: 1px solid var(--background); -} - -img { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - object-fit: cover; - z-index: 50; -} - -.title { - /* position: absolute; */ - /* bottom: 0; */ - margin: 0.25em 4mm; - font-weight: normal; - text-transform: uppercase; - font-size: 14px; -} - -.description { - display: inline-block; - margin: 4mm; - font-size: 28px; - line-height: 1.2; - white-space: pre-line; - /* margin-top: calc(4mm - 1em); */ - vertical-align: bottom; -} - -figcaption { - background-color: white; - font-size: 18px; - text-align: center; - display: inline-block; - position: absolute; - left: 50%; - bottom: 4mm; - transform: translate(-50%, 0); - z-index: 100; -} - -a { - color: #ddd; - font-size: 12px; -} - -.description.long-text { - font-size: 21px; -} - -.page-number { - position: absolute; - right: 4mm; - bottom: 0.25em; - font-size: 14px; -} - -.progress-bar { - height: 100%; - background-color: var(--background); - z-index: 0; - position: absolute; - top: 0; - left: 0; -} diff --git a/postit/static/img/index_orange.jpg b/postit/static/img/index_orange.jpg new file mode 100644 index 0000000..05e9c10 Binary files /dev/null and b/postit/static/img/index_orange.jpg differ diff --git a/postit/static/img/index_purple.jpg b/postit/static/img/index_purple.jpg new file mode 100644 index 0000000..e856317 Binary files /dev/null and b/postit/static/img/index_purple.jpg differ diff --git a/postit/templates/postit-single-old.html b/postit/templates/postit-single-old.html deleted file mode 100644 index 20166cc..0000000 --- a/postit/templates/postit-single-old.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - Post it - - - - -
- {% for content in contents %} - -
- {%if content['img'] %} - {{content['description']}} -
{{content['description']}}
- {%elif content['card']%} - -
{{content['card']}}
-
{{content['quote']}}
-
-
Motivation
-
{{content['motivation']}}
- -
Empathy
-
{{content['empathy']}}
- -
Vision
-
{{content['vision']}}
- -
Positivity
-
{{content['positivity']}}
-
- - {%elif content['definition']%} - -

{{content['title']}}

-

- {{content['definition']}} -

- -
{{content['start']}} {{content['category']}}
- - {%else%} -

{{content['title']}}

-
{{loop.index}}/{{contents|length}}
-

- {{content['description']}} -

- {%endif%} -
- {% endfor %} -
- - diff --git a/postit/templates/postit-single-pre-paged.html b/postit/templates/postit-single-pre-paged.html deleted file mode 100644 index ef118ba..0000000 --- a/postit/templates/postit-single-pre-paged.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - Post it - - - - -
- {% for content in contents %} - -
- {%if content['img'] %} - {{content['description']}} -
{{content['description']}}
- {%elif content['card']%} - -
{{content['card']}}
-
{{content['quote']}}
-
-
Motivation
-
{{content['motivation']}}
- -
Empathy
-
{{content['empathy']}}
- -
Vision
-
{{content['vision']}}
- -
Positivity
-
{{content['positivity']}}
-
- - {%elif content['definition']%} - -

{{content['title']}}

-

- {{content['definition']}} -

- -
{{content['start']}} {{content['category']}}
- - {%else%} - -

- {{content['description']}} -

- -
-

{{content['title']}}

- -
- {%endif%} -
- {% endfor %} -
- - diff --git a/postit/templates/postit-single.html b/postit/templates/postit-single.html deleted file mode 100644 index 5bda42e..0000000 --- a/postit/templates/postit-single.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - Post it - - - - - - - {% for content in contents %} - -
- {%if content['img'] %} - {{content['description']}} -
{{content['description']}}
- {%elif content['card']%} - -
{{content['card']}}
- -
{{content['quote']}} The Leader
-
-
Motivation
-
{{content['motivation']}}
- -
Empathy
-
{{content['empathy']}}
- -
Vision
-
{{content['vision']}}
- -
Positivity
-
{{content['positivity']}}
-
- - {%elif content['definition']%} - -
{{content['start']}} {{content['category']}}
- -

- {{content['definition']}} -

- -
-

{{content['title']}}

- -
- - {%elif content['type'] == 'mimic-colophon'%} - -
-
{{content['original']}}
-
{{content['original-credits']}}
-
{{content['original-action']}}
-
{{content['original-date']}}
-
-
{{content['current']}}
-
{{content['current-credits']}}
- {{content['current-action']}} -
{{content['current-date']}}
-
-
-

{{content['title']}}

- -
- {%else%} - -

- {{content['description']}} -

- -
-

{{content['title']}}

- -
- {%endif%} -
- {% endfor %} - - diff --git a/postit/templates/postit.html b/postit/templates/postit.html index 1678572..527c9a4 100644 --- a/postit/templates/postit.html +++ b/postit/templates/postit.html @@ -7,41 +7,94 @@ Post it + + -
- {% for content in contents %} {% for i in range(12)%} -
- {%if content['img'] %} - {{content['description']}} -
{{content['description']}}
- {%elif content['card']%} - -
{{content['card']}}
-
{{content['quote']}}
-
-
Motivation
-
{{content['motivation']}}
- -
Emphaty
-
{{content['emphaty']}}
- -
Vision
-
{{content['vision']}}
- -
Positivity
-
{{content['positivity']}}
-
- - {%else%} + + {%for contribution, contents in contributions.items()%} + + {% for content in contents %} + +
+ {%if content['img'] %} + {{content['description']}} +
{{content['description']}}
+ {%elif content['card']%} + +
{{content['card']}}
+ +
{{content['quote']}} The Leader
+
+
Motivation
+
{{content['motivation']}}
+ +
Empathy
+
{{content['empathy']}}
+ +
Vision
+
{{content['vision']}}
+ +
Positivity
+
{{content['positivity']}}
+
+ + {%elif content['definition']%} + +
{{content['start']}} {{content['category']}}
+ +

+ {{content['definition']}} +

+ +

{{content['title']}}

-

{{content['description']}}

- {%endif%} + +
+ + {%elif content['type'] == 'mimic-colophon'%} + +
+
{{content['original']}}
+
{{content['original-credits']}}
+
{{content['original-action']}}
+
{{content['original-date']}}
+
+
{{content['current']}}
+
{{content['current-credits']}}
+ {{content['current-action']}} +
{{content['current-date']}}
- {%endfor%} {% endfor %} +
+

{{content['title']}}

+ +
+ {%else%} + +

+ {{content['description']}} +

+ + + {%endif%}
+ {% endfor %} + {%endfor%}