{"id":15980172,"url":"https://github.com/markteekman/nft-preview-card-component","last_synced_at":"2026-04-29T17:32:00.195Z","repository":{"id":104835394,"uuid":"433058790","full_name":"markteekman/nft-preview-card-component","owner":"markteekman","description":"Frontend Mentor challenge \"NFT Preview Card Component\" using CSS Flexbox and Grid, Accessibility best practices and CSS Animations.","archived":false,"fork":false,"pushed_at":"2021-12-11T15:21:12.000Z","size":448,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T03:25:56.995Z","etag":null,"topics":["accessibility","astro","css-animations","css-grid","flexbox","html5","scss","wcag"],"latest_commit_sha":null,"homepage":"https://markteekman.github.io/nft-preview-card-component/","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markteekman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-29T13:43:38.000Z","updated_at":"2023-07-25T14:51:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"c460adfe-b9c5-4c4d-ab3e-420e6c018689","html_url":"https://github.com/markteekman/nft-preview-card-component","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":0.09090909090909094,"last_synced_commit":"71478caf590ce15b1e123f9c9c25501b42b13173"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":"markteekman/accessible-astro-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markteekman%2Fnft-preview-card-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markteekman%2Fnft-preview-card-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markteekman%2Fnft-preview-card-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markteekman%2Fnft-preview-card-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markteekman","download_url":"https://codeload.github.com/markteekman/nft-preview-card-component/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226186,"owners_count":20904465,"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":["accessibility","astro","css-animations","css-grid","flexbox","html5","scss","wcag"],"created_at":"2024-10-08T00:02:02.465Z","updated_at":"2026-04-29T17:32:00.167Z","avatar_url":"https://github.com/markteekman.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - NFT preview card component solution\n\nThis is a solution to the [NFT preview card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/nft-preview-card-component-SbdUL_w0U). Frontend Mentor challenges help you improve your coding skills by building realistic projects. \n\n## Table of contents\n\n- [Overview](#overview)\n  - [The challenge](#the-challenge)\n  - [Extra challenges](#extra-challenges)\n  - [Screenshot](#screenshot)\n  - [Links](#links)\n- [My process](#my-process)\n  - [Built with](#built-with)\n  - [What I learned](#what-i-learned)\n  - [Continued development](#continued-development)\n  - [Useful resources](#useful-resources)\n- [Author](#author)\n\n## Overview\n\n### The challenge\n\nUsers should be able to:\n\n- View the optimal layout for the site depending on their device's screen size.\n- See hover states for all interactive elements on the page.\n\n### Extra challenges\n\nAs a bonus I want to achieve the following extra challenges:\n\n- The page must be accessible according to WCAG 2.1 standards, things like color contrast and clear element focus.\n- I want to add minimal (hover) animations to the page.\n\n### Screenshot\n\n![social-image-preview](https://user-images.githubusercontent.com/3909046/145420319-c3525275-7911-4236-b3e8-0dd57612ce68.png)\n\n### Links\n\n- [Solution URL](https://www.frontendmentor.io/solutions/astro-wcag-accessibility-css-flexbox-and-css-animations-OQei0e5Kj)\n- [Live Site URL](https://markteekman.github.io/nft-preview-card-component/)\n\n## My process\n\n### Built with\n\n- Semantic HTML5 markup\n- CSS custom properties\n- Flexbox\n- CSS Grid\n- WCAG 2.1 best practices\n- CSS Animations\n- [Astro](https://astro.build) - Astro Static Site Generator\n- [Accessible Astro Starter](https://github.com/markteekman/accessible-astro-starter) - My own starter template for Astro\n\n### What I learned\n\n- I haven't used the `::before` pseudo element in a long time to create an overlay hover effect, so it was nice doing that one again:\n\n```scss\n\u0026::before {\n  content: '';\n  display: block;\n  opacity: 0;\n  z-index: -1;\n  width: 100%;\n  height: 100%;\n  background-color: hsl(178, 100%, 50%, 0.4);\n  background-image: url('../assets/icon-view.svg');\n  background-repeat: no-repeat;\n  background-position: center;\n  border-radius: 0.5rem;\n  position: absolute;\n  transition: all 0.3s ease-in-out;\n}\n```\n\n### Continued development\n\n- Nothing at the moment.\n\n### Useful resources\n\n- Nothing at the moment.\n\n## Author\n\n- [Personal Website](https://www.markteekman.nl)\n- [Frontend Mentor Profile](https://www.frontendmentor.io/profile/markteekman)\n- [LinkedIn Page](https://nl.linkedin.com/in/markteekman)\n- [GitHub Projects](https://github.com/markteekman)\n- [NPM Packages](https://www.npmjs.com/~markteekman)\n- [CodePen Creations](https://codepen.io/markteekman)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkteekman%2Fnft-preview-card-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkteekman%2Fnft-preview-card-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkteekman%2Fnft-preview-card-component/lists"}