Commit Graph

749 Commits

Author SHA1 Message Date
ZL Asica ef647a6ebd
Update README.md (#2182)
Add my acdemic portfolio to the Acdemic section of README.
2024-02-10 22:09:09 -03:00
ZL Asica 7c2e1c2c6c
Fix Image Dimension Styles for Better Responsiveness (#2166)
In this pull request, I've made adjustments to the image element's
handling of dimension properties. Previously, `min-width`, `min-height`,
`max-width`, and `max-height` were incorrectly placed as HTML attributes
on the `<img>` tag, which is not supported for these CSS properties.
This oversight could lead to issues with image responsiveness and layout
stability.

Changes:
- Moved `min-width`, `min-height`, `max-width`, and `max-height`
properties into the `style` attribute of the `<img>` tag. This change
ensures that these properties are correctly applied and recognized as
CSS properties, enhancing the responsiveness and flexibility of our
image displays.
- Retained `width` and `height` as attributes on the `<img>` tag to
maintain the intrinsic aspect ratio of images and help the browser
allocate space before images are fully loaded, improving the page load
experience.

These adjustments will ensure that our images are more responsive and
better adhere to the specified dimensions, improving the overall user
experience for the template.
2024-02-07 15:34:52 -03:00
Ethan Olesinski 1ce58650fd
center footer text by default (#2165)
This PR changes the footer text on the website (for both the sticky and
fixed footer) to be centered by default. This change is based on the
discussion post #257.
2024-02-06 16:03:52 -03:00
George 4cf657eb54
Added jekyll-diagrams error to FAQ (#2162)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-02-05 12:22:24 -03:00
George c39df67d5b
Updated FAQ with old repository information (#2161)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-02-05 12:11:33 -03:00
Andrew Boyer ae0c1a62cf
improved redirect mapping (#2157)
In reference to issue:
https://github.com/alshedivat/al-folio/discussions/1818

Redirect cases were only happening on the surface level, essentially
just affecting the links on [blog
index](https://alshedivat.github.io/al-folio/blog/page/4/index.htm) and
[year tag](https://alshedivat.github.io/al-folio/blog/2022/). However,
from the actual
[site](https://alshedivat.github.io/al-folio/blog/2022/redirect/), it
would automatically redirect to the `base_url` rather than the actual
`redirect`.

In my update, if `redirect: true`, like it is in `404.md`, redirect
behavior is the same, redirecting to the `base_url`. If it is an
external link, then the redirect is external. And finally if it is an
internal redirect, like it is in
https://alshedivat.github.io/al-folio/blog/2022/redirect/, than the
redirect is `page.redirect | relative_url`
2024-02-04 17:27:10 -03:00
George 18f7307e07
Fixed axe workflow (#2149)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-30 15:16:15 -03:00
George e977319dc8
Added link to jekyll docs about post file naming 2024-01-29 16:52:26 -03:00
George fa5b411b38
Adding display swap to Google Fonts
Adding suggestion from [Lighthouse results](https://developer.chrome.com/docs/lighthouse/performance/font-display/?utm_source=lighthouse&utm_medium=cli#google_fonts)
2024-01-28 20:11:44 -03:00
github-actions[bot] f3d3efa09c Lighthouse-Badger[bot]: Results Added 2024-01-28 23:05:48 +00:00
George 533798410e
Removing lighthouse_results from broken-links trigger 2024-01-28 20:02:15 -03:00
George 2356aea6e4
Removing lighthouse results from deploy trigger 2024-01-28 20:01:44 -03:00
github-actions[bot] 3c80fdb6fc Lighthouse-Badger[bot]: Results Added 2024-01-28 22:55:56 +00:00
George 1935a2ace0
Avoid deploying site when changes are in README files 2024-01-28 19:35:52 -03:00
George 43a3dd9e75
Update FAQ.md with Prettier info 2024-01-28 19:31:18 -03:00
George 06bc36762d
Move libs versions to config (#2139)
Moved libs versions and hashes to `_config.yml`.

Fixes #2067.

Deferring everything possible to keep pages loads fast.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-28 19:10:42 -03:00
George ef847825fd
Support for diff2html (#2133)
Added support to display diff code in a prettier way with
[diff2html](https://diff2html.xyz/).


![image](https://github.com/alshedivat/al-folio/assets/31376482/5f93b09c-3850-499a-999b-cb0ae13fddae)

It displays code like [in this
example](https://diff2html.xyz/demo.html).

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-28 12:45:20 -03:00
George 8e93db5b67
Advanced image viewers (#2132)
Image slider with [Swiper](https://swiperjs.com/).


![image](https://github.com/alshedivat/al-folio/assets/31376482/9068823c-571a-4d31-8e95-755a40a15ec9)

Image comparison slider with
[img-comparison-slider](https://img-comparison-slider.sneas.io/).


![image](https://github.com/alshedivat/al-folio/assets/31376482/97812477-c13b-43b1-8f0b-cb098462de3c)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-28 12:42:17 -03:00
George 2492ab389b
Workflow fix (#2136)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-27 22:58:40 -03:00
George f69d99a2ab
Closing #2122 (#2135)
Added lighthouse badger token info to FAQ

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-27 22:17:37 -03:00
George 53fb0116de
Added leaflet reference to 2024-01-26-geojson-map.md 2024-01-27 18:54:39 -03:00
George f6bb6b5dcb
Vega lite support (#2131)
Added support for [vega lite](https://vega.github.io/vega-lite/) charts.


![image](https://github.com/alshedivat/al-folio/assets/31376482/789c14d3-93b6-4d3f-94a6-7cec1f0f0b59)


![image](https://github.com/alshedivat/al-folio/assets/31376482/17f9021c-08c4-4922-9f97-1046b146a965)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-27 11:14:02 -03:00
George 1492cb9c4e
GeoJSON support (#2130)
Added support for GeoJSON maps.


![image](https://github.com/alshedivat/al-folio/assets/31376482/48e91158-a717-4d01-b6d7-47d45f0580e4)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-27 11:06:49 -03:00
George 4f6fe1a2cf
Added Echarts support (#2129)
Since I added support for chart.js and while doing so found some other
wonderful charting libraries, I thought, why not give support to some
more? So adding support to [Apache
Echarts](https://echarts.apache.org/en/index.html).


![image](https://github.com/alshedivat/al-folio/assets/31376482/088f0932-524f-4fcd-a34b-b132f569a675)


![image](https://github.com/alshedivat/al-folio/assets/31376482/36bfe4f8-a9d1-4b6d-a912-fb40ba3b5337)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-27 10:34:44 -03:00
George 3ec0ff4a46
Added integrity check to mermaid.js 2024-01-27 00:41:07 -03:00
George a7d6b37d8f
Added support for Chart.js (#2126)
Solved #460.


![image](https://github.com/alshedivat/al-folio/assets/31376482/ce65dbe2-031e-4208-b374-08ec89beaaca)

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-26 02:16:14 -03:00
github-actions[bot] 1d84621f22 Lighthouse-Badger[bot]: Results Added 2024-01-23 16:11:18 +00:00
George 7638547a49
Updated checkout step in lighthouse-badger.yml 2024-01-23 13:08:48 -03:00
George 0c082372ba
Fixed urls in 1_bug_report.yml 2024-01-23 12:54:41 -03:00
George c99a453a87
Fixed urls in 2_feature_request.yml 2024-01-23 12:54:29 -03:00
George 7d861cbd52
Fixed url in config.yml 2024-01-23 12:54:14 -03:00
George fc2386014a
Updated links in issue template config.yml 2024-01-23 12:49:16 -03:00
George 6fcc28332c
Updated links in 2_feature_request.yml 2024-01-23 12:48:52 -03:00
George 2fa8141f22
Updated links in 1_bug_report.yml 2024-01-23 12:48:15 -03:00
George b0b19a1293
Removed 0 from bug report 2024-01-23 12:12:16 -03:00
George ec9571a8c1
Improved issues templates (#2110)
Since a lot of issues opened are just questions that should be opened as
so, and sometimes the issue template is just not followed, I decided to
make opening new issues a little more "enforced", if not clear.

I based the new templates on the ones from [pytorch
lightning](https://github.com/Lightning-AI/pytorch-lightning/issues/new/choose),
which I think are pretty good. The visuals will only appear after the
merge is processed, but you can have an idea of how it will look like by
checking their templates and how they look.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-23 12:10:03 -03:00
George 8dd678cdb1
Added lighthouse_results to .prettierignore 2024-01-23 12:05:06 -03:00
Fares Abawi 10507a882b
Added anchor to category sections (#2006)
Added anchor to categories so one could navigate to the category section
from the URL:

e.g.,

https://alshedivat.github.io/al-folio/projects#fun
2024-01-23 11:50:58 -03:00
George 25eac655ba
Fixed lighthouse html viewer links 2024-01-23 10:41:46 -03:00
github-actions[bot] 0510031305 Lighthouse-Badger[bot]: Results Added 2024-01-23 13:36:10 +00:00
George b83a0e38c4
Added Lighthouse test GitHub action (#2084)
Added support for Lighthouse test as a GitHub action, and it appears
like
[this](https://github.com/george-gca/multi-language-al-folio?tab=readme-ov-file#lighthouse-pagespeed-insights).
The only thing missing is for @alshedivat to create a [repository
secret](https://github.com/MyActionWay/lighthouse-badger-workflows#lighthouse-badger-easyyml)
named `LIGHTHOUSE_BADGER_TOKEN` with the information needed.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-23 10:35:13 -03:00
George db0a92b8d4
Moved prettier comment on PR to its own action (#2114)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-22 18:01:55 -03:00
George bbaae0afa9
Fixed prettier actions (#2113)
After some thorough testing, finally made prettier on PR work. Since an
html file can't be used as comment on GitHub, changed to simply point to
the action that failed and to the file containing the html diff.

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-22 17:45:34 -03:00
George 27d2fa093d
Changed how prettier comments on PR works (#2112)
Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-22 14:49:34 -03:00
George 7ed8f49e72
Update prettier-on-pr.yml permissions 2024-01-22 13:40:33 -03:00
George 8af6b73fd6
Prettier check now generates a diff comment on PR (#2085)
Splitted prettier GitHub action into two:
- `on push`, only runs on direct pushes, if test fails generates an
artifact (that lasts for 3 days) with an html version of the changes
needed to pass prettier test
- `on PR`, only runs on PRs, if test fails comments on the PR with the
HTML content of the diff

I couldn't actually test the `on PR` version since it needs to be on a
PR in the master branch, so this will only be triggered after this PR is
accepted, and for the next PR that fails prettier test.

PS: currently the artifact is a zip file with the html inside. It is not
currently possible to generate it other way, we have to wait for [this
issue](https://github.com/actions/upload-artifact/issues/14) to be
closed.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2024-01-22 13:30:24 -03:00
George 392720066e
Added diff tools to INSTALL.md 2024-01-22 12:37:25 -03:00
George 65c5c8a056
Added acknowledge section to feature_request.md 2024-01-22 11:11:48 -03:00
Jona Ruthardt 30f7ab0f11
Added one more researcher using al-folio (#2105)
Added my own website as a star to the "Academics" section
2024-01-21 13:43:13 -03:00
George 711af76a08
Fixed dark mode not working after purgecss 2024-01-20 13:52:33 -03:00