<?php

namespace BodyRep\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use BodyRep\Form\ContactType;

class LandingController extends Controller
{
    /**
     * @Route("/", name="_landing")
     * @Template()
     */
    public function indexAction()
    {

        /*
         * The action's view can be rendered using render() method
         * or @Template annotation as demonstrated in DemoController.
         *
         */
        return $this->render('BodyRep:Landing:index.html.twig');
    }

    /**
     * @Route("/about", name="_landing_about")
     * @Template()
     */
    public function aboutAction()
    {

        /*
         * The action's view can be rendered using render() method
         * or @Template annotation as demonstrated in DemoController.
         *
         */
        return $this->render('BodyRep:Landing:about.html.twig');
    }
}
