Skip to content

Commit

Permalink
Mobile Friendly Conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
skfile committed Aug 30, 2020
1 parent 95f74dc commit 0078b26
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 23 deletions.
Binary file modified SellersInn/__pycache__/settings.cpython-38.pyc
Binary file not shown.
Binary file modified SellersInn/__pycache__/urls.cpython-38.pyc
Binary file not shown.
8 changes: 3 additions & 5 deletions SellersInn/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
'django.contrib.postgres',

'main',

'google_analytics'
]

MIDDLEWARE = [
Expand Down Expand Up @@ -146,6 +144,6 @@

# STATIC_ROOT = os.path.join(BASE_DIR, 'static')

GOOGLE_ANALYTICS = {
'google_analytics_id': 'UA-93164009-3',
}
# GOOGLE_ANALYTICS = {
# 'google_analytics_id': 'UA-93164009-3',
# }
2 changes: 1 addition & 1 deletion SellersInn/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('main.urls')),
re_path('djga/', include('google_analytics.urls')),
# re_path('djga/', include('google_analytics.urls')),
]
25 changes: 12 additions & 13 deletions main/templates/main/Home.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
{% extends 'main/Main.html'%}
{% load static %}
{% block content %}

<link rel="stylesheet" media="screen and (max-width: 600px)" href="{% static 'css/small.css' %}">

<section>
<div class="text-center special_container container-fluid">
<img class="banner_img" src="{% static "images\mainbannerv3.png" %}" alt="banner">
<div class="container text-center special_centered">
<div class="col-12 mt-2">
<h1>We Provide Analytics</h1>
<h7>Every seller deserves the powerful analytics the companies you use to make
decisions.
What we do is provide analytics for sellers like you.
We want to help you sell the best products possible.
</h7>
<br></br>
<p><a class="btn btn-primary btn-lg text-center" href="{% url 'signup' %}" role="button">Request a Free Analysis
»</a></p>
<!-- </div> -->
<div class="text-center special_centered">
<div class="col-12 mt-2">
<h1 class="realfont"><a href="{% url 'signup' %}" style="color: white;">We Provide Analytics</a></h1>
<div class="dissapear">
<p>Large Corporations are constantly using complex analytics and AI algorithms to compete
with
sellers like you. What we do is bring those same analytics to you.
</div>
</div>
</div>
</section>
Expand Down Expand Up @@ -104,7 +103,7 @@ <h6>Instead of a List, we make the words come alive</h6>
<div class="container">
<div class="row">
<div class="col-12 text-center">
<h1>Would you like to Learn More</h1>
<h1>Learn More</h1>
<p>We get it. And if you'd like to learn more, feel free to contact us at the link below. We'll do our best to
get in touch in at least one business day.</p>
<button type="button" class="btn btn-success" href="{% url 'contact' %}">Contact Us</button>
Expand Down
4 changes: 2 additions & 2 deletions main/templates/main/Main.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@

{% endblock content %}

{% load google_analytics_tags %}
{% comment %} {% load google_analytics_tags %}
<div style="display:none">
<img src="{% google_analytics %}" width="0" height="0" />
</div>
</div> {% endcomment %}

<footer class="text-center">
<div class="container">
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cryptography==2.7
cssselect==1.1.0
Django==2.2.4
Django==2.2.5
incremental==17.5.0
lxml==4.4.1
requests==2.22.0
Expand All @@ -9,4 +9,4 @@ w3lib==1.21.0
numpy==1.18.5
pandas==1.1.0
psycopg2==2.8.5
django-google-analytics-app==4.4.2
# django-google-analytics-app==4.4.2
6 changes: 6 additions & 0 deletions static/css/small.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.dissapear {
display: none;
}
.realfont{
font-size: xx-large;
}

0 comments on commit 0078b26

Please sign in to comment.