HarshKapadia2 / one-or-two

A hand gesture model web app to detect 1 and 2 in a picture.
https://one-or-two.herokuapp.com/
MIT License
5 stars 4 forks source link

CSS code splitting. #9

Closed HarshKapadia2 closed 3 years ago

HarshKapadia2 commented 4 years ago

Changes

<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/base.css') }}">

Eg: base.html (Example from another project)

<head>
    ...
    ...
    {% block head %}{% endblock %}
    ...
    ...
</head>

file-name.html (Example from another project)

{% extends 'base.html' %}

{% block head %}
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/file-name.css') }}">
{% endblock %}

{% block body %} ...
Haroonchik commented 3 years ago

Hello, I would like to start this assignment

HarshKapadia2 commented 3 years ago

Go ahead, @Haroonchik!

Haroonchik commented 3 years ago

@HarshKapadia2 Can you check my PR https://github.com/HarshKapadia2/one-or-two/pull/15 ?