Skip to content

Commit

Permalink
feat: adding imgs
Browse files Browse the repository at this point in the history
  • Loading branch information
Malarkey-Jhu committed Oct 5, 2021
1 parent ef7e920 commit 80dca1b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/web/routes.go
Expand Up @@ -19,5 +19,9 @@ func routes(app *config.AppConfig) http.Handler {

mux.Get("/", handlers.Repo.Home)
mux.Get("/about", handlers.Repo.About)

fileServer := http.FileServer(http.Dir("./static/"))
mux.Handle("/static/*", http.StripPrefix("/static", fileServer))

return mux
}
Binary file added static/images/outside.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/tray.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/woman-laptop.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 80dca1b

Please sign in to comment.