Skip to content

Commit

Permalink
improve lookbook preview images and descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
spearwolf committed Dec 13, 2023
1 parent 8c94f09 commit 28759d6
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 9 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/lookbook/public/images/demo-preview/animated-sprites.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/lookbook/public/images/demo-preview/clouds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/lookbook/public/images/demo-preview/crosses-r3f.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/lookbook/public/images/demo-preview/minimal-display.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/lookbook/public/images/demo-preview/splotch-starfield.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions apps/lookbook/src/components/Card.astro
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,13 @@ const previewImage = image ? demoPreviewImageUrl(image) : defaultTeaserImage;
.card-image-container {
margin: 0 -1.3rem;
aspect-ratio: 16/10;
overflow: hidden;
}
.card-image {
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
max-width: 100%;
max-height: 100%;
object-fit: cover;
aspect-ratio: 16/10;
}
.tags {
margin: -0.1rem -0.3rem 0.5rem;
Expand Down
2 changes: 1 addition & 1 deletion apps/lookbook/src/pages/demos/_animated-sprites.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "animated sprites",
"description": "Textured sprites with frame based animations",
"description": "Frame-based animation with textured sprites",
"url": "/demos/animated-sprites",
"tags": [
"AnimatedSprites",
Expand Down
2 changes: 1 addition & 1 deletion apps/lookbook/src/pages/demos/_clouds.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "clouds",
"description": "A simple 2.5d clouds demo",
"description": "A rough demo sketch of 2.5d clouds",
"url": "/demos/clouds",
"tags": [
"Stage2D",
Expand Down
2 changes: 1 addition & 1 deletion apps/lookbook/src/pages/demos/_splotch-starfield.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "splotch starfield",
"description": "A splotch starfield demo",
"description": "A retro starfield with post processing",
"url": "/demos/splotch-starfield",
"tags": [
"demo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import {title} from './_textured-quads-from-texture-atlas.json';
overflow-y: hidden;
}
body {
background-color: #391e39;
background: radial-gradient(circle, rgba(189, 70, 98, 1) 0%, rgba(37, 4, 73, 1) 100%);
background-color: #3f313f;
}
.texture-preview {
background-color: rgba(86, 101, 115, 80%);
Expand Down

0 comments on commit 28759d6

Please sign in to comment.