-
Notifications
You must be signed in to change notification settings - Fork 52
Frontend/about us page #275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
yammesicka
merged 24 commits into
PythonFreeCourse:develop
from
PureDreamer:frontend/about_us_page
Feb 16, 2021
Merged
Changes from 20 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
779de2d
feat: add i18n support (#115)
Gonzom 6370ef2
Revert "feat: add i18n support (#115)" (#161)
yammesicka 7f38da9
Update our production site. (#209)
yammesicka 139275b
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
PureDreamer 5c481bb
added about page
PureDreamer 6e890ec
fixed conflicts
PureDreamer 9ebd97c
fixed typos
PureDreamer 7e551bf
edited text input
PureDreamer 920a242
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
PureDreamer b6aaf21
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
PureDreamer a5bffb9
changed requested changes
PureDreamer e7fee5f
Delete utils.py
PureDreamer aef47b9
Update profile.html
PureDreamer 71d25ff
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
PureDreamer bd00b18
Revert "changed requested changes"
PureDreamer 46071d1
Revert "Delete utils.py"
PureDreamer 7fce4ec
test for about us
PureDreamer 11e1e0a
Update about.css
PureDreamer 64350be
Update about_us.html
PureDreamer 943856e
changed by feedback
PureDreamer 7ffa642
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
PureDreamer 8f4defa
fixed requested changes
PureDreamer 2bdc454
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
PureDreamer 65d430b
Merge branch 'develop' of https://github.com/PythonFreeCourse/calenda…
PureDreamer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| from fastapi import APIRouter, Request | ||
|
|
||
| from app.dependencies import templates | ||
|
|
||
|
|
||
| router = APIRouter() | ||
|
|
||
|
|
||
| @router.get("/about") | ||
| def about(request: Request): | ||
| return templates.TemplateResponse("about_us.html", { | ||
| "request": request, | ||
| }) |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| .moving-words { | ||
| margin-top: 4rem; | ||
| text-transform: uppercase; | ||
| font-size: 6rem; | ||
| letter-spacing: 0.1rem; | ||
| overflow: hidden; | ||
| background: linear-gradient(90deg, #000, #fff, #000); | ||
| background-repeat: no-repeat; | ||
| background-size: 80%; | ||
| animation: animate 4s linear infinite; | ||
| -webkit-background-clip: text; | ||
| background-clip: text; | ||
| -webkit-text-fill-color: rgba(255, 255, 255, 0); | ||
| } | ||
|
|
||
| @keyframes animate { | ||
| 0% { | ||
| background-position: -500%; | ||
| } | ||
| 100% { | ||
| background-position: 500%; | ||
| } | ||
| } | ||
|
|
||
|
|
||
| /* credit for the animation goes to FrankieDoodie */ | ||
|
|
||
| .infographic { | ||
| display: block; | ||
| margin-left: auto; | ||
| margin-right: auto; | ||
| width: 100%; | ||
| } | ||
|
|
||
| .seprator { | ||
| margin-top: 8rem; | ||
| margin-bottom: 8rem; | ||
| } | ||
|
|
||
| .about-text { | ||
| font-size: 1.2rem; | ||
| text-align: justify; | ||
| } |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,61 @@ | ||
| :root { | ||
| /* Texts */ | ||
| --text_xs: 0.75rem; | ||
| /* 12px */ | ||
| --text_s: 1rem; | ||
| /* 16px */ | ||
| --text_m: 1.2rem; | ||
| /* 19px */ | ||
| --text_l: 1.5rem; | ||
| /* 24px */ | ||
| --text_xl: 1.75rem; | ||
| /* 28px */ | ||
| --text_xxl: 2rem; | ||
| /* 32px */ | ||
| /* Spaces */ | ||
| --space_xs: 0.5rem; | ||
| /* 6px */ | ||
| --space_s: 0.75rem; | ||
| /* 12px */ | ||
| --space_m: 1.25rem; | ||
| /* 20px */ | ||
| --space_l: 2rem; | ||
| /* 32px */ | ||
| --space_xl: 4rem; | ||
| /* 64px */ | ||
| /* colors */ | ||
| --primary: #F7F7F7; | ||
| --secondary: #222831; | ||
| --surface: #e9ecef; | ||
| --up_surface: #adb5bd; | ||
| --bold_primary: #FFDE4D; | ||
| --bold_secondary: #F24726; | ||
| --bold_tertiary: #0CA789; | ||
| } | ||
|
|
||
| * { | ||
| margin: 0; | ||
| padding: 0; | ||
| box-sizing: border-box; | ||
| margin: 0; | ||
| padding: 0; | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| html, body { | ||
| height: 100%; | ||
| html, | ||
| body { | ||
| height: 100%; | ||
| } | ||
|
|
||
| body { | ||
| background-color: #F7F7F7; | ||
| color: #222831; | ||
| font-family: "Assistant", "Ariel", sans-serif; | ||
| font-weight: 400; | ||
| line-height: 1.7; | ||
| text-rendering: optimizeLegibility; | ||
| scroll-behavior: smooth; | ||
| width: 100%; | ||
| background-color: #F7F7F7; | ||
| color: #222831; | ||
| font-family: "Assistant", "Ariel", sans-serif; | ||
| font-weight: 400; | ||
| line-height: 1.7; | ||
| text-rendering: optimizeLegibility; | ||
| scroll-behavior: smooth; | ||
| width: 100%; | ||
| } | ||
|
|
||
| a { | ||
| text-decoration: none; | ||
| color: inherit; | ||
| } |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| {% extends "base.html" %}{% block head %} | ||
| <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous"> | ||
| <link href="{{ url_for('static', path='/about.css') }}" rel="stylesheet"> | ||
| <link href="{{ url_for('static', path='/global.css') }}" rel="stylesheet"> | ||
| <title>About Us</title> | ||
| {% endblock head %} {% block content %} | ||
|
|
||
| <div class="container"> | ||
| <h1 class="moving-words">About The Project</h1> | ||
| <!-- credit for the animation goes to FrankieDoodie --> | ||
| <div> | ||
| <h3>Do you have a dream? How will you make it come true?</h3> | ||
| <p class="about-text"> | ||
| My dream will require some hard work. I know I MUST be:</p> | ||
| <ul> | ||
| <li> Organized</li> | ||
| <li>Well prepared</li> | ||
| <li>Plan ahead</li> | ||
| </ul> | ||
|
|
||
| <p class="about-text">We started this project as a course project. Step by step it became our dream, this calendar is built by programmers. One of its many traits is the ability to add features.</p> | ||
| <ul> | ||
| <li> Want to monitor your expenses? We got it.</li> | ||
| <li>Want to organize a zoom meeting while still under quarantine? We got it.</li> | ||
| </ul> | ||
| <p class="about-text">Even better - you got it! Develop your own feature and add it to the calendar. This calendar is open source developed mostly in Python as the finale to an extraordinary course. For the calendar development we selected features, aiming at required | ||
| and unique. Then each of us began the journey to implement it in the calendar. We worked collaboratively to put it together. | ||
| <br> if you like what you just read, please <a title="Sign in page" href="sign_in">sign in.</a> | ||
| </p> | ||
| </div> | ||
| <blockquote class="blockquote text-center seprator"> | ||
| <p class="mb-0"><i>“If you want to go fast, go alone. If you want to go far, go together.”</i></p><br> | ||
| <footer class="blockquote-footer"><cite title="Source Title">African proverb</cite></footer> | ||
| </blockquote> | ||
|
|
||
| <h1 class="moving-words">Our Story</h1> | ||
| <div> | ||
| <p class="about-text"> When this online course started, we did not know what <em>"Hello World"</em> meant.<br> Now, we have created this calendar. This project was created as our concluding project in the online “python free and for all” course by <a title="Yam Mesicka Linkedin account" | ||
| href="https://www.linkedin.com/in/mesicka/">Yam Mesicka</a>, a course that has helped us set foot in the world of programming. The course took us from complete newbies to decent programmers. The course curriculum can be found in the attached | ||
| infographic. | ||
| </p> | ||
| <p class="about-text">The materials of the first half of the course can be found on GitHub, you can take a look right <a title="Course GitHub" href="https://github.com/PythonFreeCourse/Notebooks">here.</a></p> | ||
| </div> | ||
| <div> | ||
| <img class="infographic" src="{{ url_for('media', path='free-python-course-4k.png') }}" alt="Course infographic"> | ||
| </div> | ||
|
|
||
| <div> | ||
| <h2> We thank you for letting us share our story and hope you will enjoy our project.</h2> | ||
| <p>If you enjoy it please consider giving us a star in our <a title="Github for the calendar" href="https://github.com/PythonFreeCourse/calendar">GitHub repository.</a></p> | ||
| </div> | ||
| </div> | ||
| {% endblock content %} |
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| {% for week in weeks_block %} | ||
| <div class="week"> | ||
| {% for day in week.days %} | ||
| <div class="{{day.css['day_container']}}" id="{{day.set_id()}}"> | ||
| <div class="month-day-header"> | ||
| <div class="{{day.css['date']}}">{{day}}</div> | ||
| <div><a href="#" class="add-small">+</a></div> | ||
| </div> | ||
| {% for devent in day.dailyevents %} | ||
| <div class="{{day.css['daily_event']}}"> | ||
| <div class="{{day.css['daily_event_front']}}">{{devent[0]}}</div> | ||
| <div class="{{day.css['daily_event_back']}}">{{devent[1]}}</div> | ||
| </div> | ||
| {% endfor %} | ||
| {% for event in day.events %} | ||
| <div class="{{day.css['event']}}"><b>{{event[0]}}</b> {{event[1]}}</div> | ||
| {% endfor %} | ||
| </div> | ||
| {% endfor %} | ||
| </div> | ||
| {% endfor %} |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| {% extends 'calendar/layout.html' %} | ||
|
|
||
| {% block main %} | ||
| <div class="calendar"> | ||
| <div class="calender-days-titles"> | ||
| {% for d in week_days %} | ||
| {% if d == day.sday %} | ||
| <div class="day-title underline-yellow"><b>{{ d.upper() }}</b></div> | ||
| {% else %} | ||
| <div class="day-title"> {{ d.upper() }}</div> | ||
| {% endif %} | ||
| {% endfor %} | ||
| </div> | ||
| <div id="calender-grid"> | ||
| {% include 'calendar/add_week.html' %} | ||
| </div> | ||
| </div> | ||
| <div id="day-view"></div> | ||
| {% endblock %} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.