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
{% load static %} | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<link rel="stylesheet" href="{% static 'css/app.css' %}"> | |
<meta charset="utf-8"> | |
<title>Django and Vue test</title> | |
</head> | |
<body> |
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
import React from 'react' | |
import { FormattedMessage } from 'react-intl' | |
import { navigateTo } from 'gatsby-link' | |
import s from './index.module.sass' | |
var Dropzone | |
// This try catch is here because dropzone accesses the 'window' property, which is not accessible on the server side | |
try { |