Skip to content

Commit dc757db

Browse files
committed
website-update-home-page
1 parent 93f89b4 commit dc757db

File tree

2 files changed

+54
-3
lines changed

2 files changed

+54
-3
lines changed

pyghana/urls.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#url('^faq/', include('faq.urls')),
4545
# url(r'^tinymce/', include('tinymce.urls')),
4646
url(r'^events/', include('events.urls', namespace='calendar')),
47-
# url(r'^home', direct_to_template, {"template": "home1.html"}, name="home"),
47+
# url(r'^homeO', direct_to_template, {"template": "home1.html"}, name="home"),
4848
url(r'^home', direct_to_template, {"template": "newHome.html"}, name="newhome"),
4949
# url(r'^about/', include('about.urls')),
5050
url(r'^about/', include('teams.urls')),

templates/newHome.html

+53-2
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,6 @@ <h3 class="h5 g-color-black g-font-weight-600 mb-3">Python Wa</h3>
487487
<!-- End Icon Blocks -->
488488

489489

490-
491-
492490
<div class="u-heading-v6-2 text-center g-mb-60">
493491
<a href="http://bit.ly/PythonGhana-MRF" target="/" class=" btn btn-xl u-btn-primary u-btn-hover-v2-2 g-letter-spacing-0_5 text-uppercase g-rounded-50 g-px-30 g-mr-10 g-mb-15">
494492
<span class="pull-left text-left">
@@ -501,6 +499,59 @@ <h3 class="h5 g-color-black g-font-weight-600 mb-3">Python Wa</h3>
501499

502500
<hr class="g-brd-gray-light-v4 my-0">
503501

502+
<!-- Learn First Steps -->
503+
<div class="container">
504+
<div class="row">
505+
<div class="col-lg-5 order-lg-2 g-mb-50">
506+
<!-- List of Links -->
507+
<ul class="list-unstyled g-pl-15--lg mb-0">
508+
<!-- Links -->
509+
<li>
510+
<div class="media u-block-hover g-color-black g-text-underline--none--hover g-transition-0_5 g-px-10 g-py-15">
511+
<div class="d-flex mr-4">
512+
<span class="u-icon-v3 u-icon-size--lg u-shadow-v35 g-color-blue g-color-white--hover g-bg-secondary g-bg-black--hover g-font-size-20 rounded-circle">
513+
<i class="icon-finance-067 u-line-icon-pro"></i>
514+
</span>
515+
</div>
516+
<div class="media-body">
517+
<h3 class="h4 g-color-blue g-color-black--hover g-font-primary mb-1">WHY PYTHON?</h3>
518+
<p class="g-color-gray-dark-v4 mb-0">
519+
Python is one of the top three most popular programming languages in 2019 and everybody is
520+
learning Python either to make their life easier or to expand their job opportunities.
521+
In fact, if you want to get into data science and machine learning, Python is THE language
522+
that you must learn.<br>
523+
524+
Python is often used in:<br>
525+
- Data science and machine learning<br>
526+
- Web development<br>
527+
- Automation <br>
528+
529+
In fact, if you want to get into data science and machine learning, Python is THE language that you must learn.
530+
531+
Instagram, DropBox, and YouTube are examples of websites built with Python. Well, more accurately, the backend of these applications is built with Python and Django.
532+
533+
534+
</p>
535+
</div>
536+
</div>
537+
</li>
538+
<!-- End Links -->
539+
540+
</ul>
541+
<!-- End List of Links -->
542+
</div>
543+
544+
<div class="col-lg-7 order-lg-1 g-pt-10 g-mb-60">
545+
<!-- Youtube Iframe -->
546+
<div class="embed-responsive embed-responsive-16by9 u-shadow-v36 g-brd-around g-brd-7 g-brd-white g-rounded-5 mb-4">
547+
<iframe src="https://www.youtube.com/embed/Y8Tko2YC5hA?rel=0&amp;start=0&end=202;showinfo=0" frameborder="0" allowfullscreen=""></iframe>
548+
</div>
549+
<!-- End Youtube Iframe -->
550+
551+
</div>
552+
</div>
553+
</div>
554+
<!-- End Learn First Steps -->
504555

505556

506557
<section class="g-py-100">

0 commit comments

Comments
 (0)