Skip to content
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

fix/remove-static-asset-commit #44

Merged
merged 25 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
400805b
🔒️ fix: added GA tracking ID env
rabira-hierpa Mar 8, 2023
15473eb
📈 feat: changed GA plugin
rabira-hierpa Mar 9, 2023
3297602
📦 feat: added official GA gatsby plugin
rabira-hierpa Mar 9, 2023
de5f9ac
✏️ fix: fixed `trackingIds` typo
rabira-hierpa Mar 9, 2023
15babb4
🙈 git[ignore]: removed wp cache
rabira-hierpa May 7, 2023
6e0b0c6
💄 style: added styles for blog archive and post
rabira-hierpa May 7, 2023
d8f0878
👔 feat: added images for blog post
rabira-hierpa May 7, 2023
74f866d
🔖 version: upgraded gatsby-wordpress-source to v7.19
rabira-hierpa May 7, 2023
fce8276
✨ feat(about): add about page section data and page style
rabira-hierpa May 14, 2023
4830a55
💄 style(blog-post): added style for paragraph tags
rabira-hierpa May 14, 2023
710ba17
🔧 chore(landing): adds `id` for key props
rabira-hierpa May 14, 2023
d172299
Merge branch 'main' of https://github.com/rabira-hierpa/rz-codes.com …
rabira-hierpa May 14, 2023
00bb26d
📝 docs(Readme): adds guide for env vars
rabira-hierpa May 31, 2023
950b45d
🐛 fix: changed `pointer-cursor` to `cursor-pointer` for the label htm…
rabira-hierpa Aug 21, 2023
61dd792
fix: changes card background to white
rabira-hierpa Aug 21, 2023
ee246bf
fix: change max width to 1080px
rabira-hierpa Sep 23, 2023
90305d5
Merge branch 'main' of https://github.com/rabira-hierpa/rz-codes.com …
rabira-hierpa Sep 23, 2023
77f3b14
Merge branch 'dev' of https://github.com/rabira-hierpa/rz-codes.com i…
rabira-hierpa Sep 23, 2023
64d03d9
fix: updates text font-size to text-md css class
rabira-hierpa Sep 23, 2023
4cd93b9
fix: adjusts style for blog page
rabira-hierpa Sep 23, 2023
6207f96
📱 fix: removes extra padding for mobile view
rabira-hierpa Sep 25, 2023
7a23e19
Revert static assets commit
rabira-hierpa Sep 27, 2023
c5e9b17
ignore: updates git to ignore wordpress-cache
rabira-hierpa Sep 27, 2023
b112a01
Merge branch 'dev' of https://github.com/rabira-hierpa/rz-codes.com i…
rabira-hierpa Sep 27, 2023
0f3d3a0
Merge pull request #43 from rabira-hierpa/remove-files
rabira-hierpa Sep 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ yarn-error.log
.cpanel.yml
# build
public/
.wordpress-cache
.wordpress-cache
5 changes: 5 additions & 0 deletions src/components/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -595,3 +595,8 @@ pre tt:after {
font-size: 100%;
}
}

h2.wp-block-heading {
font-size: 2.25rem !important;
line-height: 1.1 !important;
}
2 changes: 1 addition & 1 deletion src/components/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Layout = ({ children }) => {
<div
style={{
margin: `0 auto`,
maxWidth: 960,
maxWidth: 1080,
padding: `0 1.0875rem 1.45rem`,
}}
>
Expand Down
8 changes: 8 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,11 @@ body {
.hide-scroll-bar::-webkit-scrollbar {
display: none;
}

h2.wp-block-heading{
font-size: 2.5rem;
line-height: 1.1;
}
p{
font-size: 1 rem !important;
}
28 changes: 16 additions & 12 deletions src/templates/blog-post-archive.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,24 @@ const PageTemplate = ({
>
<article
itemScope
className=""
className="flex space-x-5"
itemType="http://schema.org/Article"
>
<header>
<h2 className="text-red-600 text-2xl">
<Link to={post.uri} itemProp="url">
<span itemProp="headline">{parse(title)}</span>
</Link>
</h2>
<small className="flex justify-right">{post.date}</small>
</header>
<section itemProp="description">
{parse(post.excerpt)}
</section>
<div className="flex flex-col">
<header>
<h2 className="text-red-600 text-4xl">
<Link to={post.uri} itemProp="url">
<span itemProp="headline">{parse(title)}</span>
</Link>
</h2>
<small className="flex justify-right">
{post.date}
</small>
</header>
<section itemProp="description" className="text-lg">
{parse(post.excerpt)}
</section>
</div>
</article>
</li>
)
Expand Down
4 changes: 2 additions & 2 deletions src/templates/blog-post.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const BlogPostTemplate = ({ data: { previous, next, post } }) => {
<div className="min-h-screen pt-10">
<article
itemScope
className="blog-post bg-white px-20 py-10"
className="blog-post bg-white px-5 py-0 md:px-20 md:py-10"
itemType="http://schema.org/Article"
>
<header>
Expand Down Expand Up @@ -47,7 +47,7 @@ const BlogPostTemplate = ({ data: { previous, next, post } }) => {
{!!post.content && (
<section
itemProp="articleBody"
className="flex flex-wrap space-y-10 text-justify"
className="flex flex-wrap space-y-10 text-justify text-md md:text-lg"
>
{parse(post.content)}
</section>
Expand Down
Loading