Skip to content

Commit 2b9b50a

Browse files
authored
Add community section to the homepage (#1679)
1 parent dc6a3f7 commit 2b9b50a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

djangoproject/templates/homepage.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,29 @@ <h1>Meet Django</h1>
5050
<a href="{% url 'overview' %}" class="cta outline">Learn more about Django</a>
5151
</div>
5252

53+
<div class="section">
54+
<h2>Join the Community</h2>
55+
<div class="community-cta-wrapper">
56+
<a href="https://forum.djangoproject.com/" class="community-cta-a">
57+
<div class="community-cta">
58+
<div>
59+
{# Material Symbols - Copyright 2022 Google LLC - Used under terms of Apache 2.0 license #}
60+
<svg xmlns="http://www.w3.org/2000/svg" height="150" width="150" viewBox="0 0 48 48"><path d="M4 34V6.1q0-.7.65-1.4T6 4h25.95q.75 0 1.4.675Q34 5.35 34 6.1v17.8q0 .7-.65 1.4t-1.4.7H12Zm10.05 2q-.7 0-1.375-.7T12 33.9V29h25V12h5q.7 0 1.35.7.65.7.65 1.45v29.8L36.05 36ZM31 7H7v19.75L10.75 23H31ZM7 7v19.75Z" fill="currentColor"/></svg>
61+
</div>
62+
<h3>Forum - Post a question</h3>
63+
</div>
64+
</a>
65+
<a href="https://discord.gg/xcRH6mN4fa" class="community-cta-a">
66+
<div class="community-cta">
67+
<div>
68+
<svg width="150" height="150" viewBox="0 0 256 293" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><path d="M226.011 0H29.99C13.459 0 0 13.458 0 30.135v197.778c0 16.677 13.458 30.135 29.989 30.135h165.888l-7.754-27.063 18.725 17.408 17.7 16.384L256 292.571V30.135C256 13.458 242.542 0 226.011 0zm-56.466 191.05s-5.266-6.291-9.655-11.85c19.164-5.413 26.478-17.408 26.478-17.408-5.998 3.95-11.703 6.73-16.823 8.63-7.314 3.073-14.336 5.12-21.211 6.291-14.044 2.633-26.917 1.902-37.888-.146-8.339-1.61-15.507-3.95-21.504-6.29-3.365-1.317-7.022-2.926-10.68-4.974-.438-.293-.877-.439-1.316-.732-.292-.146-.439-.292-.585-.438-2.633-1.463-4.096-2.487-4.096-2.487s7.022 11.703 25.6 17.261c-4.388 5.56-9.801 12.142-9.801 12.142-32.33-1.024-44.617-22.235-44.617-22.235 0-47.104 21.065-85.285 21.065-85.285 21.065-15.799 41.106-15.36 41.106-15.36l1.463 1.756C80.75 77.53 68.608 89.088 68.608 89.088s3.218-1.755 8.63-4.242c15.653-6.876 28.088-8.777 33.208-9.216.877-.147 1.609-.293 2.487-.293a123.776 123.776 0 0 1 29.55-.292c13.896 1.609 28.818 5.705 44.031 14.043 0 0-11.556-10.971-36.425-18.578l2.048-2.34s20.041-.44 41.106 15.36c0 0 21.066 38.18 21.066 85.284 0 0-12.435 21.211-44.764 22.235zm-68.023-68.316c-8.338 0-14.92 7.314-14.92 16.237 0 8.924 6.728 16.238 14.92 16.238 8.339 0 14.921-7.314 14.921-16.238.147-8.923-6.582-16.237-14.92-16.237m53.394 0c-8.339 0-14.922 7.314-14.922 16.237 0 8.924 6.73 16.238 14.922 16.238 8.338 0 14.92-7.314 14.92-16.238 0-8.923-6.582-16.237-14.92-16.237" fill="currentColor"/></svg>
69+
</div>
70+
<h3>Discord - Chat with us</h3>
71+
</div>
72+
</a>
73+
</div>
74+
</div>
75+
5376
{% comment %}
5477

5578
<div class="section">

0 commit comments

Comments
 (0)