JSFiddle - React, Tailwind, and code Playground

by kenwals

HTML

{% extends "base.html" %}
{% block content %}

<div class="container-lg">
  <div class="row my-3">
    <div class="col-md-8">
      <img src="static\images\sascha-bosshard-b027q9eF3Yo-unsplash_adobespark.jpg" class="img-fluid" alt="...">
    </div>
    <div class="col-md-4">
      <p> At Wildlife Rescue, our aim keep track of all wildlife incidents - from initial contact to final outcome.This information will then be used to inform the necessary road authorities.</p>
      <p> Do you need to log details a Rescue Case ?</p>
      {% if session.user %}
      <p> <a href="{{ url_for('login') }}">Log In </a> or <a href="{{ url_for('register') }}"> Register here</a></p>
      {% else %}
      <a href="{{ url_for('add_case') }}"> New Case</a>
      {% endif %}
      <p>There are three approaches to helping wildlife and it can be hard to choose the right course of action, especially if you’re stressed and nervous. If in doubt, call a wildlife rescue centre for advice.</p>
    </div>
  </div>
  <div class="row">
    <div class="col-md-12">
      <div class="card-group">
        <div class="card mx-2">
          <img src="static\images\baby-deer-rescue-1024x528.jpg" class="card-img-top" alt="...">
          <div class="card-body">
            <h5 class="card-title fs-3">1. Leave it alone. </h5>
            <p class="card-text">Sometimes a wild animal is not injured but has been left by a parent so it can gather food. For example, young deer should not be touched nor should fledgling birds unless they are in danger.</p>
          </div>
        </div>
        <div class="card mx-2">
          <img src="static\images\fox-rescue-1024x528.jpg" class="card-img-top" alt="...">
          <div class="card-body">
            <h5 class="card-title fs-3">2. Let the animal recover </h5>
            <p class="card-text">Let the animal recover from shock in a cool, dark place. A wild animal that’s had a knock, say flying into a window or being hit by a car, could be concussed and may...