savoiringfaire / short.rs

A super-fast rust based URL shortner!
https://s.hhra.uk
MIT License
0 stars 1 forks source link

Create a stand-alone stylesheet #7

Open OnlyHollis opened 5 years ago

OnlyHollis commented 5 years ago

Let's separate out the Css code into a separate self-contained file which can contain only one copy of reused css code.

In order to facilitate this backend changes will need to be made to include paths for assets (something like /static/assets) which can be used for css, images, and js.

savoiringfaire commented 5 years ago

Thanks 🍪! I'll edit to add a little more info though

savoiringfaire commented 5 years ago

@OnlyHollis I’ve implemented the backend code for this now and it’s in the master branch. Your css files will go into assets/static/css and be available at the same url from the browser. There’s already a test file in there, feel free to delete and name the file something more reasonable.