0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 08:42:45 +00:00
Commit Graph

42 Commits

Author SHA1 Message Date
Trevor Buckner
a55548d471 Merge pull request #1208 from G-Ambatte/addNewToNavBar
Adds a `New` button to the Nav bar
2021-03-05 22:33:07 -05:00
Trevor Buckner
468b7319d1 Unify brew structure in all pages 2021-02-20 21:59:18 -05:00
Trevor Buckner
e2cd7d9f07 Legacy renderer (#1184)
* Include two versions of Marked.js

* Include two versions of Marked.js

* Working two different render pipelines

Adds stylesheet "styleLegacy.less"
Adds markdownHandler "markdownLegacy.js"
The BrewRenderer will switch between these and the new pipeline dependent on the "version" prop passed in.

* Mustache-style div blocks

* Legacy snippets & columnbreak

* Codemirror styling for Div Blocks

* Lint

* Codemirror highlights for inline Divs as well

These will turn red `{{class Content}}`

Multi-line divs will turn purple

```
{{class,class2
content
}}
```

No real need for these to be different colors. Just for testing.

* More lint

* Update dependencies.

* Adding Button to switch render pipelines

* Update Marked.js

* Popup alert to refresh page when renderer changed

* Don't compress files in Development (very slow)

* Block DIV or inline Span depending on {{ placement

* \column emits a Div instead of Span

* Allow share page to use new renderer

* {{ divs no longer need empty lines. Spans work in lists.

* Typo

* Typo

* Enforce \page must be at start of line. Code cleanup.

* Inject newlines after/before {{/}} to avoid needing blank lines

* Fixes issues with tables.

* Remove console.log

* Fix spacing issue for Spans

* Move things from Brewrenderer to Markdown

Try to keep all custom text fiddling in one spot.

* Rename variables

* Update Font-Awesome to v5.15. Fix style issues on popups.

* Update {{ Divs/Spans, Fix nested hilighting

* Fixed Spans/divs with no tags or just commas

* Use blacklist for {{ to allow more characters

* Update package-lock.json

* Update all icons to Font-awesome 5

* V3 hidden behind config variable

Add "globalThis.enable_v3 = true" in the console to enable.

* lint
2021-02-02 20:38:25 -05:00
G.Ambatte
e367cb2152 Initial commit - adds a New button to the Nav bar on the Home, User, and Edit pages. 2021-01-23 00:36:10 +13:00
Alexey Sachkov
a58384d8d1 Cleanup unneeded "require" (#1169) 2020-12-26 21:29:49 -05:00
Trevor Buckner
8ffea70b2f Remove metadata on the Homepage (#1121)
* Remove the metadata button on home page

1) Hopefully make it more clear that the Homepage is meant as a sandbox to test out the site, not a real brew that will be saved.

2) Also, avoid errors resulting from trying to modify the metadata of a brew that doesn't really exist yet.

* Lint
2020-11-27 21:14:15 -05:00
Trevor Buckner
cc8bf6744b Move Patreon button 2020-10-08 16:12:12 -04:00
Trevor Buckner
22a9799674 Update vitreum (#946)
- Updates Vitreum to v6.0.1 + some custom fixes.
  - Stylesheets must be imported with `require('./sheet.less');` but can also can now share stylesheets between jsx components.
  - Should eliminate a lot of security concerns with older nested dependencies.
  - Changed a lot of files to make this work
- Also removes dependency on PicoRouter in favor of React-Router
2020-05-19 01:36:31 -04:00
Trevor Buckner
e88253f364 Added robots.txt, nofollow in metatags
Also noindex on /print/ pages
2020-04-20 13:46:18 -04:00
Trevor Buckner
bdf37d8fe7 Add robots noindex to edit and share pages 2020-04-20 12:15:27 -04:00
Trevor Buckner
6a57542216 Fix links on Home Page
Make github issues go to subreddit, update license link to Naturalcrit instead of stolksdorf
2019-05-02 08:38:48 -04:00
Trevor Buckner
507f8e0852 Revert "Revert "Merge branch 'master' of https://github.com/naturalcrit/homebrewery""
This reverts commit 0c70162a78.
2019-01-22 11:26:33 -05:00
Trevor Buckner
0c70162a78 Revert "Merge branch 'master' of https://github.com/naturalcrit/homebrewery"
This reverts commit 077511dfa7, reversing
changes made to facbc5f6dc.
2019-01-22 11:23:35 -05:00
Trevor Buckner
71af97e489 Refactored the "Recent Items" navbar component. Greatly simplified the code to about 70% length and made it much easier to read. Results in the same thing.
Oh. And it works again. Recent brews should be showing up fine now.
2019-01-19 20:11:16 -05:00
Marius
96466211c7 Make imgur link https in order to display image
Newer browsers warn and/or do not display content that gets loaded via HTTP if site is visited via HTTPS.
2018-11-26 20:13:25 -05:00
Scott Tolksdorf
f18a181e2e Updating to user create-react-class 2018-04-09 00:12:56 -04:00
Scott Tolksdorf
ed1b5252be lint 2018-04-09 00:12:56 -04:00
Scott Tolksdorf
063d701a0e Updating the changelog and welcome msg 2017-01-19 12:39:13 -05:00
Scott Tolksdorf
306e4f024c Adding the meta editor to home page 2017-01-14 13:34:20 -08:00
Scott Tolksdorf
a0ca45ce1c Added new account nav item 2016-11-25 00:28:48 -05:00
Scott Tolksdorf
6af9dd9325 Added in a brew item component 2016-11-24 00:07:04 -05:00
Scott Tolksdorf
a439c418ef Updating welcome msg and issue template 2016-11-07 19:02:43 -05:00
Scott Tolksdorf
ef8784ccf2 Homebrewery will now try and insert a better title for you if you dont provide one 2016-08-20 13:20:32 -04:00
Scott Tolksdorf
62d70022e7 Package version is now loaded into the navbar 2016-08-20 12:02:48 -04:00
Scott Tolksdorf
cd454e82ef Updating the homepage a bit 2016-08-20 11:50:22 -04:00
Scott Tolksdorf
8a7e441724 Adding license file and changing welcome message extension 2016-08-20 11:43:27 -04:00
Scott Tolksdorf
073b547f96 Added a hybrid navitem for both recently edited and viewed brews 2016-07-07 09:43:24 -04:00
Scott Tolksdorf
038c89fc20 Updating welcome tet 2016-06-04 18:58:10 -04:00
Scott Tolksdorf
d9bf164010 Updating welcome tet 2016-06-04 18:37:06 -04:00
Scott Tolksdorf
7ca4e8ffa6 Swapped over all urls and refs to old url scheme 2016-06-04 18:29:25 -04:00
Scott Tolksdorf
6474825ffb Last tweaks 2016-05-29 13:19:21 -04:00
Scott Tolksdorf
7eb47d7db0 Updated welcome text for v2.1 2016-05-29 12:58:44 -04:00
Scott Tolksdorf
5a1041cbb3 styling for the new save current button done 2016-05-27 09:26:40 -04:00
Scott
dce3f224c7 Better issue template and better print pdf instructions 2016-05-27 09:14:30 -04:00
Scott Tolksdorf
01e040d1ab Adding note to the welcome message to try Chrome fro print to PDF 2016-05-26 23:05:30 -04:00
Scott Tolksdorf
96a59780c2 Adding patreon link in changelogs 2016-05-14 17:15:39 -04:00
Scott Tolksdorf
eef826f8d8 Adding patreon link in nav 2016-05-14 17:11:32 -04:00
Scott Tolksdorf
8c29be5df5 updating the welcome message 2016-05-14 16:36:51 -04:00
Scott Tolksdorf
ed7decb42b Adding new navitems and finishing the edit and share page 2016-05-09 16:54:32 -04:00
Scott Tolksdorf
15ad171c2d Added in new page, however edit page is still broken 2016-05-09 13:17:17 -04:00
Scott Tolksdorf
30e6bb28ad Creating thew new brew renderer 2016-05-09 09:35:43 -04:00
Scott Tolksdorf
62654102b8 Changed project structure to have the root page into main and subbed out the pages into their own folder 2016-05-06 15:59:18 -04:00