{"id":22076178,"url":"https://github.com/muthhukumar/character-creator","last_synced_at":"2025-03-23T20:14:07.749Z","repository":{"id":155885489,"uuid":"435417975","full_name":"muthhukumar/character-creator","owner":"muthhukumar","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-06T08:33:53.000Z","size":4605,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T03:48:41.248Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/muthhukumar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-06T08:33:48.000Z","updated_at":"2023-03-09T01:46:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"c831872f-10a9-4185-93c7-ba8ff81bd947","html_url":"https://github.com/muthhukumar/character-creator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muthhukumar%2Fcharacter-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muthhukumar%2Fcharacter-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muthhukumar%2Fcharacter-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muthhukumar%2Fcharacter-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muthhukumar","download_url":"https://codeload.github.com/muthhukumar/character-creator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245162189,"owners_count":20570692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-30T22:12:54.256Z","updated_at":"2025-03-23T20:14:07.721Z","avatar_url":"https://github.com/muthhukumar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Character Creation Workshop\n\nIn this workshop, you'll build a Sims-style character creation screen.\n\n\n## Mockups\n\nDesktop:\n\n\u003cimg alt=\"Desktop-sized screenshot of the character creation screen\" src=\"./docs/mockup.png\" style=\"width: 100%;\" /\u003e\n\nFor this workshop, we're only targeting desktops (although if you're so inclined, creating a mobile variant would make a great stretch goal!).\n\n\u003e Protip: If you're reading this in VS Code, open the Command Palette (Cmd + Shift + P) and select “Markdown: Open Preview to the Side”. That way, you can see all the images in this document!\n\n## Setup Instructions\n\nThis project uses create-react-app.\n\nStart by installing dependencies:\n\n```\nnpm install\n```\n\nBoot up a dev server:\n\n```\nnpm run start\n```\n\nYou should be able to access the application at `http://localhost:3000`.\n\n## Project structure and context\n\nThis project is built with React.\n\n**All of the functionality has already been built.** Your job is to add the CSS. Some light tweaking of the JSX will be required, but only in service of styling and accessibility goals.\n\nThis project uses **CSS Modules**. CSS modules are ultimately very similar to vanilla CSS, but the classes are applied in JS. Here's an example:\n\n```css\n/* Something.module.css */\n.wrapper {\n  width: 500px;\n}\n```\n\n```js\n/* Something.js */\nimport styles from './Something.module.css';\n\nfunction Something() {\n  return (\n    \u003cdiv className={styles.wrapper}\u003e\n      I'll be 500px wide!\n    \u003c/div\u003e\n  );\n}\n```\n\nAdditionally, a few global styles can be found in `src/index.css`.\n\n## Exercises\n\n### Exercise 1: Fix footer links\n\nLet's start with a small detail: The footer links are unreadable:\n\n\u003cimg alt=\"Side-by-side comparison of the current footer vs. the ideal one\" src=\"./docs/footer-fix.png\" style=\"max-width: 500px\" /\u003e\n\n### Exercise 2: Layout adjustments\n\nNext, let's tackle the biggest visual issue: the layout.\n\nWe have a `MaxWidthWrapper` constraining the max width, but everything is super wide within it.\n\nOur header should be 65% of the available width, and our control-panel column should be 50%.\n\n\u003cimg alt=\"Annotated mockup showing the overall width at 1024px, the header occupying 65%, and the control panels occupying 50%\" src=\"./docs/sizes.png\" style=\"width: 100%;\" /\u003e\n\nThe character (the big illustration) should use fixed positioning, and it should occupy the space cleared by the above width tweaks.\n\nGive the character a minimum height of 500px. On smaller windows, this means the character won't fit in the viewport:\n\n\u003cimg alt=\"Screenshot of a shorter Chrome window, with the character truncated at the knees\" src=\"./docs/short-window.png\" style=\"width: 100%;\" /\u003e\n\n### Exercise 3: Overflow\n\nEach control panel features a number of customizations. For control panels with too many options, a horizontal scrollbar should be introduced:\n\n\u003cimg alt=\"Close-up screen recording of the overflow area in the control-panel\" src=\"./docs/overflow.gif\" style=\"width: 100%;\" /\u003e\n\n### Exercise 4: Perspective decoration\n\nTo help add a bit of perspective, a light gray bar should extend across the bottom 40% of the screen:\n\n\u003cimg alt=\"Screenshot of the mockup, showing the light gray bar\" src=\"./docs/mockup.png\" style=\"width: 100%;\" /\u003e\n\nIt should sit behind the avatar (and both the perspective bar and the character should sit below the footer):\n\n\u003cimg alt=\"Screen recording, showing how the character and stripe don't move as the page is scrolled\" src=\"./docs/scroll.gif\" style=\"width: 640px; max-width: 100%\" /\u003e\n\nYou can use the background color `hsl(195deg, 20%, 86%)`.\n\nFor bonus points, solve this challenge without setting any z-indexes.\n\n### Exercise 5 (Stretch): Implement a mobile variant\n\nOn mobile devices, the cards should stack horizontally, and sit near the bottom of the screen, underneath the character:\n\n\u003cimg alt=\"Screen recording, showing a mobile variant of the application\" src=\"./docs/mobile-variant.gif\" style=\"max-width: 100%\" /\u003e\n\n**NOTE:** This is a challenging stretch goal! It may require some CSS features we haven't covered yet. This is meant as an extra challenge for advanced students. Feel free to skip it!\n\n\n## Submissions\n\n**Workshops are submitted through the course platform.** Commit your changes, push them to your fork, and submit the link by clicking the \"Complete lesson\" button on the workshop page.\n\nIf you're not comfortable with Git, you can upload a `.zip` file using Dropbox or Google Drive, and paste a link to the public file instead.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuthhukumar%2Fcharacter-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuthhukumar%2Fcharacter-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuthhukumar%2Fcharacter-creator/lists"}