aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/base/navbar.html (follow)
Commit message (Collapse)AuthorAgeLines
* Timeline: Migrate to Markdown source files - initial implementationGravatar hedy2024-05-24-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The timeline app is introduced, moved from the home app. - Add a basic README.md to illustrate the overall code breakdown of the app as it is in the current stage. - Two entries are added for now. - Add ability to link headers using the slug portion of the filename. - The way markdown files are fetched is similar to that of the resources app - using the AppConfig ready() function, all resources are ensured to be only fetched once when the app is first laoded. I debated whether to introduce the new functionality in the home app instead, without creating a new app. Eventually I decided extracting it to a standalone app now is better as it allows easier extension of functionality in the future. The home app can remain as it is to only server the `/` homepage. The timeline CSS is kept the same, as with the structure of the timeline HTML template. Once the CSS rewrite PR is merged, it's relatively easy to fix conflicts here (again, since timeline is now its own app, with the CSS file and HTML template moved - extra advantage). References to `home:timeline` are updated to use `timeline:index` throughout the codebase, as far as my ripgrep search could go. The format of the markdown + YAML entries are still up for debate, so I've only added the first two entries for now. They can be completely overwritten in the future once the formats are decided by using a script to convert all the data from my JSON file into individual markdown files: http://0x0.st/Xr78.txt This link should last for at least a few months. (Originally saved on https://paste.pythondiscord.com/KPJA, but it expires on 12th April 2024.)
* Dark: Possibly fix FOUC during theme switchGravatar hedy2024-01-18-3/+3
|
* Dark: Fix tag colors in resources pageGravatar hedy2024-01-14-1/+1
|
* Dark: Name JS & CSS files according to their contentGravatar hedy2024-01-05-2/+2
| | | | | | | | We have the CSS for the navbar in base.css, the relevant files only contain code for the theme toggle, so they should be named as such. If we ever implement CSS variables per-theme, they could then be done in `themes.css`.
* Dark: Refactor toggle handling JSGravatar hedy2024-01-05-3/+3
| | | | | | | | | | | | | | - Use localstorage. Advantages: - One key=value for the entire site, without needing to specify `path=/` - No need for string splitting to parse the `key=value; ...` data - Suggested more widely in tutorials Pretty good support: https://caniuse.com/?search=localstorage - Remove the need for JQuery, use IDs for switch and knob elements. - This also makes the code more robust if the page has other switch & knob classes!
* Fix all conflictsGravatar hedy2023-12-14-0/+3
|\ | | | | | | hopefully I dont have to do this again
| * Add Content App To NavbarGravatar Hassan Abouelela2022-08-13-0/+3
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Use colour helpersGravatar GDWR2022-02-08-1/+1
| |
* | Use colour helpersGravatar GDWR2022-02-08-6/+6
| |
* | Use colour helpersGravatar GDWR2022-02-08-9/+8
| |
* | Add initial dark themeGravatar GDWR2022-02-08-0/+17
|/
* Add Guides to the More menu.Gravatar Leon Sandøy2022-01-29-0/+3
| | | | | | Since we've removed the resources landing page, there's no easy way to get to Guides anymore. For that reason, I'm adding it to the More menu so that it'll still be discoverable.
* Add a FontAwesome token that we actually control.Gravatar Leon Sandøy2022-01-27-3/+0
| | | | | | Previously we were using some sort of borrowed token, but it seems to not be working anymore for local sessions, so let's just get rid of it.
* Merge branch 'main' into swfarnsworth/smarter-resources/merge-with-mainGravatar Leon Sandøy2022-01-23-2/+2
|\
| * Merge branch 'master' into subdomains-to-query-pathsGravatar Johannes Christ2021-10-06-1/+1
| |\
| | * Switches HTTP Links To HTTPSGravatar Hassan Abouelela2021-10-06-1/+1
| | | | | | | | | | | | | | | | | | | | | Switches the protocol for external sites where possible. Some sites don't have secure versions, and were skipped. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Merge branch 'master' into subdomains-to-query-pathsGravatar Johannes Christ2021-07-08-14/+7
| |\|
| * | Move subdomains to query paths.Gravatar Johannes Christ2021-06-08-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In more detail: - Use Django URL namespaces (e.g. `api:bot:infractions`) instead of `django_hosts` host argument. - Update the hosts file setup documentation to remove subdomain entries. - Update the hosts file setup documentation to mention that the entry of `pythondiscord.local` is not required and mainly for convenience. - Rename the `APISubdomainTestCase` to the more fitting `AuthenticatedAPITestCase`, as authentication is all that is left that the class is doing. - Drop dependency to `django_hosts`.
* | | Merge branch 'main' of https://github.com/python-discord/site into ↵Gravatar swfarnsworth2021-07-04-14/+7
|\ \ \ | | |/ | |/| | | | swfarnsworth/smarter-resources/new-resources
| * | Update navbar hamburger/dropdown anchors to spansGravatar Joe Banks2021-06-21-4/+4
| | | | | | | | | There is no href on these items, so they should not be anchors.
| * | Code Jam 8 Site Updates - v2 (#530)Gravatar Janine vN2021-06-15-10/+3
| |/ | | | | Co-authored-by: Joe Banks <[email protected]>
* / Update templates with new resource urls.Gravatar lemonsaurus2021-06-06-1/+1
|/
* Merge branch 'main' into fix_327Gravatar ChrisJL2021-05-16-58/+12
|\
| * Merge branch main into dewikificationGravatar kosayoda2021-05-14-6/+11
| |
| * Add privacy policy information and link.Gravatar kosayoda2021-05-13-1/+1
| | | | | | | | | | This should be redirected to the notion page using our cloudflare worker.
| * Route navbar links to their new locations.Gravatar kosayoda2021-05-13-8/+8
| |
| * Remove the login feature from the templates.Gravatar Leon Sandøy2020-10-04-49/+0
| |
| * Remove remaining references to wiki.Gravatar Leon Sandøy2020-10-04-9/+9
| |
* | Resolve conflictsGravatar Bryan Kok2021-03-04-6/+8
|\ \
| * | Change discord nav item to distinct CTA button.Gravatar scragly2020-10-25-2/+9
| | |
| * | Change discord img-based link to normal nav item.Gravatar scragly2020-10-23-8/+3
| |/
* / Hide arrow to the right of More below the 1024px breakpointGravatar Bryan Kok2020-10-18-1/+4
|/
* Update Code Jam 7 to most recent in navbarGravatar Dennis Pham2020-08-13-1/+1
|
* Update navbar for Code Jam 7Gravatar Dennis Pham2020-06-04-2/+2
| | | Changed `Most Recent: Game Jam 2020` to `Upcoming: Code Jam 7`
* Update Game Jam from upcoming to most recentGravatar Den42002020-05-12-1/+1
|
* Add events section to menu dropdownGravatar Sebastiaan Zeeff2020-03-27-2/+8
| | | To draw attention to upcoming events, I've changed the events section of the "more" dropdown menu. It now has an events header, followed by the upcoming event, and a link to the general events page.
* Update resources reference in head navbar.Gravatar scragly2020-02-06-2/+2
| | | Due to the tweak in the wiki page structure, the Tools page is now under resources, and Learning Resources is now just Resources.
* Full coverage and finish cleanupGravatar Gareth Coles2019-10-23-4/+9
|
* Add user settings modal, with connections management and account deletionGravatar Gareth Coles2019-10-23-1/+17
|
* GH signup prevention, views and templates for settings pagesGravatar Gareth Coles2019-10-20-1/+1
|
* Bring navbar styling in line on mobile as wellGravatar Gareth Coles2019-10-19-0/+1
|
* Initial navbar change to add settings button next to logoutGravatar Gareth Coles2019-10-19-1/+8
|
* Add Code of Conduct to navbar submenuGravatar Sebastiaan Zeeff2019-10-17-0/+3
| | | | | | This commit adds a link to the Code of Conduct to the dropdown menu in the navbar. It does not include a direct link to the CoC policies, which are accessible via the Code of Conduct page.
* Prevent saving emails, remove login pageGravatar Gareth Coles2019-10-06-3/+10
|
* Login page and styling fixesGravatar Gareth Coles2019-10-06-11/+3
|
* Set up needed Allauth URLs and add login/logout to navbarGravatar Gareth Coles2019-10-05-0/+21
|
* Add link to Contributing landing page to navbarGravatar Sebastiaan Zeeff2019-09-30-0/+3
| | | | | This commit adds a link to the Contributing landing page to the navbar on our website.
* Adding a tools page to the More menuGravatar Leon Sandøy2019-07-10-1/+4
|
* Let's only work if there are trailing slashesGravatar Leon Sandøy2019-07-06-5/+5
|
* adding hrefs to the more linksGravatar Leon Sandøy2019-07-06-5/+5
|