Skip to content

Commit

Permalink
Add image
Browse files Browse the repository at this point in the history
Mostly to set the pattern of how to handle non-HTML, non-CSS stuff in dist.

We *could* copy stuff over from src but this seems simpler.
  • Loading branch information
henrik committed Nov 3, 2023
1 parent 8f3f8ea commit 91af300
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.bundle/
dist/*
!dist/.keep
tmp/

# Generated.
dist/*.html
dist/*.css
Binary file added dist/team.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/index.slim
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ html
title Auctionet.com devs
link rel="stylesheet" href="/styles.css"
body

p
img src="/team.jpg" alt=""

p Hello world!
10 changes: 7 additions & 3 deletions src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
body {
p {
font-weight: bold;
}
font-family: "Comic Sans MS", sans-serif;
text-align: center;
padding: 40px;
}

img {
max-width: 100%;
}

0 comments on commit 91af300

Please sign in to comment.