"""
URL configuration for django_dsgov_test1 project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/5.1/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from django.views.generic import TemplateView

urlpatterns = [
    path('admin/', admin.site.urls),
    path("", TemplateView.as_view(template_name = 'index.html')),
    path("buttons/", TemplateView.as_view(template_name = 'examples_buttons.html'), name="buttons"),
    path("inputs/", TemplateView.as_view(template_name = 'examples_inputs.html'), name="inputs"),
    path("headers/", TemplateView.as_view(template_name = 'examples_headers.html', extra_context = {"lista":[
                {'label': 'Link de acesso 1'},
                {'label': 'Link de acesso 2'},
                {'label': 'Link de acesso 3'},
                {'label': 'Link de acesso 4'}
            ]}), name="headers"),
    path("footer/", TemplateView.as_view(template_name = 'examples_footer.html', extra_context={"list": [
        {'title': 'Categoria 1', 'items': [
            {'content': 'Est ex deserunt'},
            {'content': 'Qui esse'},
            {'content': 'Nulla occaecat eiusmod'}
        ]},
        {'title': 'Categoria 2', 'items': [
            {'content': 'Deserunt'},
            {'content': 'Ad deserunt nostrud'},
            {'content': 'Ex qui laborum consectetur aute commodo'},
            {'content': 'Ad deserunt nostrud'}
        ]},
        {'title': 'Categoria 3', 'items': [
            {'content': 'Duis incididunt consectetur'},
            {'content': 'Qui esse'},
            {'content': 'Ex qui laborum consectetur aute commodo'},
            {'content': 'Duis incididunt consectetur'}
        ]},
        {'title': 'Categoria 4', 'items': [
            {'content': 'Est ex deserunt'},
            {'content': 'Qui esse'},
            {'content': 'Nulla occaecat eiusmod'}
        ]},
        {'title': 'Categoria 5', 'items': [
            {'content': 'Deserunt'},
            {'content': 'Nulla occaecat eiusmod'},
            {'content': 'Ad deserunt nostrud'},
            {'content': 'Qui esse'},
        ]},
        {'title': 'Categoria 6', 'items': [
            {'content': 'Ad deserunt nostrud'},
            {'content': 'Ex qui laborum consectetur aute commodo'},
        ]},
    ]}), name="footer"),
    path("carousel/", TemplateView.as_view(template_name = 'examples_carousel.html', extra_context = {"imagens":[
                {'legenda': 'Bem vindo a UFRPE', 'image': 'https://s2.glbimg.com/KU72T67vVh5Pdgv5Ls2TT4dv09k=/0x0:1920x1080/984x0/smart/filters:strip_icc()/i.s3.glbimg.com/v1/AUTH_59edd422c0c84a879bd37670ae4f538a/internal_photos/bs/2019/S/d/t7a9OdQ1AUyswqkYCJSg/urfpe-recife.jpg'},
                {'legenda': 'Testando Imagem', 'image': 'https://s2-g1.glbimg.com/8AWiNTCt0_3fRLaCj7nFeisLb2U=/0x0:1280x960/984x0/smart/filters:strip_icc()/i.s3.glbimg.com/v1/AUTH_59edd422c0c84a879bd37670ae4f538a/internal_photos/bs/2022/D/6/cBnRd8QmuP1kXgcpdu9A/codai-sao-lourenco.jpeg'},
                {'legenda': 'Imagem terceira', 'image': 'https://tallos-chat.s3.tallos.com.br/medias/faq/61367692a91f24b1f9c3c5bc-image-22-09-2021-15-50-35-como-acessar-o-ava-ufrpe-613fb3b83d09ec001c55b3fc-71.webp'},
                {'legenda': 'Imagem quarta', 'image': 'https://tallos-chat.s3.tallos.com.br/medias/faq/61367692a91f24b1f9c3c5bc-image-13-06-2022-10-53-16-como-realizar-primeiro-acesso-auto-cadastro-no-sigaa-aluno-613fb3b83d09ec001c55b3fc-35-7c4.webp'},
                {'legenda': 'Imagem quinta', 'image': 'https://www.pebsp.com/wp-content/uploads/2024/07/Graduacao-EAD-UFRPE-Universidade-Federal.jpg'},
            ]}), name="carousel"),
    path("menu/", TemplateView.as_view(template_name = 'examples_menu.html'), name="menu"),
    path("list/", TemplateView.as_view(template_name = 'examples_list.html', extra_context = {"lista":[
                {'icon': 'fas fa-heartbeat', 'content': 'Texto principal 1', 'meta': 'Meta 1'},
                {'icon': 'fas fa-star', 'content': 'Texto principal 2', 'meta': 'Meta 2'}
            ]}), name="list"),
    path("breadcrumb/", TemplateView.as_view(template_name = 'examples_breadcrumb.html'), name="breadcrumb"),
    path("tag/", TemplateView.as_view(template_name = 'examples_tag.html'), name="tag"),
]
