This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.db import models | |
from wagtail.core.models import Page | |
from wagtail.core.fields import RichTextField | |
from wagtail.admin.edit_handlers import FieldPanel | |
from wagtail.search import index | |
from wagtail.images.edit_handlers import ImageChooserPanel | |
class TallerIndexPage(Page): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.db import models | |
from wagtail.core.models import Page | |
from wagtail.core.fields import RichTextField | |
from wagtail.admin.edit_handlers import FieldPanel | |
from wagtail.search import index | |
from wagtail.images.edit_handlers import ImageChooserPanel | |
class TallerIndexPage(Page): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.db import models | |
""" IMPORTING DATA FROM FLEX APP """ | |
from flex.models import FlexPage | |
from wagtail.core.models import Page | |
class HomePage(Page): | |
""" Home page model """ | |
templates = "home/home_page.html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% block content %} | |
{% load static %} | |
{% load wagtailcore_tags wagtailimages_tags %} | |
<!-- PORTAFOLIO --> | |
<section class="portafolio "> | |
<div class="titulo"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.nosotros-texto-central.rich-text p { | |
text-align: justify; | |
font-family: 'Noto Sans', sans-serif; | |
font-size: 0.8rem; | |
margin-bottom: 1rem; | |
letter-spacing: 0.5px; | |
line-height: 1.5rem; | |
color: #333333; | |
margin-top: 2rem; | |
text-align: justify; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="nosotros"> | |
<div class="container wrapper-nosotros"> | |
<!-- post --> | |
<section class="post-nosotros"> | |
<div class="image-nosotros"> | |
{% image self.image_nosotros original class="img-fluid" %} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const webpack = require('webpack'); | |
const path = require('path'); | |
module.exports = function(){ | |
return { | |
mode: 'development', | |
entry: [ | |
'./src/app.js' | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const CleanWebpackPlugin = require('clean-webpack-plugin'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); | |
const OptimizeCSSAssetsPlugin = require("optimize-css-assets-webpack-plugin"); | |
const MinifyPlugin = require("babel-minify-webpack-plugin"); | |
const path = require('path'); | |
module.exports = function (env, argv) { | |
return { | |
mode: 'production', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const CleanWebpackPlugin = require('clean-webpack-plugin'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); | |
const OptimizeCSSAssetsPlugin = require("optimize-css-assets-webpack-plugin"); | |
const MinifyPlugin = require("babel-minify-webpack-plugin"); | |
const path = require('path'); | |
module.exports = function (env, argv) { | |
return { | |
mode: 'production', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const webpack = require('webpack'); | |
const path = require('path'); | |
module.exports = function(){ | |
return { | |
mode: 'development', | |
entry: [ | |
'./src/app.js' | |
], |