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

[improve/feat][site] Layout and content updates to Homepage, Features, Community, Events, Books and Blog, Added Use Cases Page. Resources are split into Articles and Presentations Pages. #789

Merged
merged 18 commits into from
Mar 19, 2024

Conversation

Trakina
Copy link
Contributor

@Trakina Trakina commented Feb 13, 2024

This PR updates the layouts and content to the Homepage, Features, Community, Events, Books and Blog, adds Use Cases Page and splits Resources into Articles and Presentations Pages.

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Copy link
Contributor

@Trakina Please add the following content to your PR description and select a checkbox:

- [ ] `doc` <!-- Your PR contains doc changes -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
- [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->

data/usecases.ts Outdated
Comment on lines 9 to 11
smalltext: string;
docslink: string;
caselink: boolean;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
smalltext: string;
docslink: string;
caselink: boolean;
smallText: string;
docsLink: string;
caseLink: boolean;

data/usecases.ts Outdated
docslink: string;
caselink: boolean;
};
const usecases: UseCase[] = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const usecases: UseCase[] = [
const useCases: UseCase[] = [

data/usecases.ts Outdated
import React, { ReactNode } from 'react';

export type UseCase = {
icon: string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of this comment above:

// possible icons, so far: 'user', 'arrow', 'speech' and 'check'

we can use union type here

icon: 'user' | 'arrow' | 'speech' | 'check';

<a className={s.ForumLink} target="_blank" href={props.forum_link}><strong>{props.forum}</strong></a>
</div>
{props.date && <div className={s.Date}>{props.date}</div>}
{props.tags && <div className={s.Tags}>{tagsArray.map((tag)=>( <small>{tag}</small> ))}</div>}
Copy link
Member

@visortelle visortelle Feb 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React key property is missed here.


const Card: React.FC<data.Resource> = (props) => {
let tagsArray = new Array();
if(props.tags) tagsArray = props.tags.split(", ");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It probably makes sense to change the Resource['tags'] type from string to string[].

@@ -14,6 +13,15 @@ const CaseStudiesPage: React.FC = () => {
const [searchQuery, setSearchQuery] = useState('');
const [categoryFilter, setCategoryFilter] = React.useState<CategoryFilterOption>('any');

const updateCategoryLinks = (newoption) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newoption => newOption
allfilterlinks => allFilterLinks

setCategoryFilter(newoption);
let allfilterlinks = document.querySelectorAll('.'+s.CategoryFilterLink);
allfilterlinks.forEach((el) => {
if(el.dataset.option == newoption) el.classList.add(s.active);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe reformat it to the more commonly used if/else statement formatting.

if (smth) {
 ...
} else {
  ...
}

<div className={s.FiltersMobile}>
<div>
{categoryFilterOptions.map((option) => (
<button type="button" data-option={option} onClick={() => updateCategoryLinks(option)} className={s.CategoryFilterLink+(option === 'any' ? ' '+s.active : '')}>{option === 'any' ? 'All Industries' : data.categoryLabels[option]}</button>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data-option and the document.querySelectorAll above aren't the React way to do it, but ok if it works as expected.

return (
<div>
{props.data.map((row, index) => (
<div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed key prop

id: "subscribe",
text: "Subscribe",
href: "mailto:[email protected]",
/*{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the commented code here?

},
/*{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the commented code here?

),
actions: [
{
id: "contributing-to-the-project",
href: useBaseUrl("/contribute"),
text: "Contribution guide",
type: "primary",
type: "transparentblack",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

transparentblack => transparentBlack"

),
/*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the commented code here?

@@ -6,12 +6,13 @@ type ActionButtonProps = {
id: string;
text: string;
href: string;
type: "primary" | "normal" | "link";
type: "primary" | "normal" | "link" | "transparentwhite" | "transparentblack";
Copy link
Member

@visortelle visortelle Feb 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

transparentwhite => transparentWhite
transparentblack => transparentBlack

@@ -21,17 +22,19 @@ export type ContentCardProps = {
};

const ContentCard: React.FC<ContentCardProps> = (props) => {
let theclass = s.ContentCard;
if(props.format == 'column') theclass = s.ContentCardColumn;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if(smth) do

=>

if (smth) {
  do
}

@visortelle
Copy link
Member

visortelle commented Feb 15, 2024

I synced the deployment with the latest changes: https://pulsar-site-2024-updates.vercel.app/

@visortelle
Copy link
Member

  • These links have no href
Screenshot 2024-02-15 at 8 25 56 PM
  • Some PMC members have missing avatars

jianghaiting => Jason918
technoboy => Technoboy-
linlin => ??? probably let's temporary use some placeholder like gray circle

Screenshot 2024-02-15 at 8 38 18 PM
  • No space between profiles on small screens
Screenshot 2024-02-15 at 8 42 26 PM Screenshot 2024-02-15 at 8 44 39 PM
  • Blog prev/next post buttons look different:

Design
Screenshot 2024-02-15 at 8 48 36 PM

Implementation

Screenshot 2024-02-15 at 8 49 25 PM
  • Please recheck the features page on smaller screen sizes

IMG_57B27219F8F6-1

IMG_88A80F7B1918-1

<Button title={isShowMoreCmtrs ? 'Show less' : 'Show more'} variant="transparentWhite" onClick={() => setIsShowMoreCmtrs(!isShowMoreCmtrs)}/>
);

const forbiddenUsers = ['jianghaiting', 'technoboy', 'linlin']
Copy link
Member

@visortelle visortelle Feb 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This piece of code looks a bit odd to me.
Could we just add an optional githubId field here:

"apacheId": "andrews"

Probably make it optional and take githubId by default with a fallback to apacheId.

@visortelle
Copy link
Member

@Trakina thank you for the update.

  • Missing space between items on tablet screen size.
Screenshot 2024-02-23 at 11 20 48 AM
  • The Feature page still doesn't look good on mobile and tablet screen sizes.

File

File (1)

File (2)

Screenshot 2024-02-23 at 11 28 24 AM

element.apacheId = currectUsers[forbiddenUsers.indexOf(element.apacheId)];
}
return element
type apacheId = string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
type apacheId = string
type ApacheId = string

The common TypeScript convention is to use capitalized CamelCase for type names.

@visortelle
Copy link
Member

visortelle commented Feb 24, 2024

@Trakina I think we're steadily getting closer to the "good enough" state. 🙂

I noted the most important issues that should be fixed before merging the PR.

All the other little fixes can take much time. We should decide what level of polishing we want to achieve in this PR. cc @asafm

Preview link: https://pulsar-site-2024-updates.vercel.app

  • Initial slide position is weird on iPad
    IMG_C5CE4033F5F2-1
  • "Show more" element overlaps the illustration on iPad
    IMG_48B62E1EAFC9-1
  • Initial slide position is weird on iPad. The slide feels too wide. Probably we can show more slides per screen for its screen size.
  • Also it has double dash --
    IMG_23F37E01B316-1
  • Bottom corners aren't rounded for some slides
    IMG_233588D5F0B3-1
  • The "Go to Slack" button should have the same border as the "Subscribe" below
Screenshot 2024-02-24 at 4 34 41 PM

@asafm
Copy link
Contributor

asafm commented Feb 24, 2024

We aim for high quality

@visortelle
Copy link
Member

visortelle commented Feb 24, 2024

@asafm ok ;)

Then I have a few more comments for the "Community Page":

  • Discussion section items title should use bold font
  • The order of discussion channels is different in Figma.
  • The font size should be smaller: 18px vs 24px

Design
Screenshot 2024-02-24 at 5 42 47 PM

Implementation

Screenshot 2024-02-24 at 5 44 09 PM
  • The section color is different
  • The font size is different 22px vs 32px
    Design
Screenshot 2024-02-24 at 5 47 33 PM

Implementation
Screenshot 2024-02-24 at 5 47 07 PM

  • Font size should be smaller here. 32px vs 40px
Screenshot 2024-02-24 at 5 52 16 PM
  • Vertical padding should be bigger according to the design
Screenshot 2024-02-24 at 5 53 49 PM
  • Font size should be smaller here according the design
Screenshot 2024-02-24 at 5 54 54 PM
  • Font size should be smaller here..18px vs 24px
Screenshot 2024-02-24 at 5 57 02 PM
  • Vertical padding should be smaller here.
  • Font size should be bigger.
Screenshot 2024-02-24 at 5 57 42 PM
  • Vertical padding should be smaller
  • Items should be vertically centered
  • Font size should be different
Screenshot 2024-02-24 at 5 59 26 PM

@Trakina you can double-click any Figma element to get the desired font size and compare it with font size at the computed styles tab in your browser devtools.

Could you please ensure that font sizes and paddings are correct across the other pages and make the corresponding fixes?

@asafm
Copy link
Contributor

asafm commented Feb 25, 2024

@visortelle Wow, thanks for the high attention paid to the details review!! 💯

@visortelle
Copy link
Member

The order was discussed between us on slack, if I recall correctly. Hence the difference. Figma was never updated, but the order was implemented.

I wonder why we use Slack at all for anything except 1 to 1 direct messages.

@visortelle
Copy link
Member

visortelle commented Mar 8, 2024

@Trakina thank you for the updates!

Figma design: https://www.figma.com/file/0jERoA2DTlfQoj1uH09FxQ/Pulsar-website
Live preview: https://pulsar-site-2024-updates.vercel.app/


  • Both should have the same font-weight - 400
Screenshot 2024-03-08 at 11 54 24 AM Screenshot 2024-03-08 at 11 54 59 AM
  • Card title should have font-size 22px (1.375rem)
Screenshot 2024-03-08 at 11 57 11 AM
  • Same font-weight
  • Number size should be bigger. 64px vs 96px
  • Sentences below the numbers also should have different font-size and font-weight
  • The + in 600+ and 10000+ is an icon with a different size, not the piece of text.
  • Figma design says that the GitHub number should be a link to https://github/apache/pusar
Screenshot 2024-03-08 at 1 13 42 PM Screenshot 2024-03-08 at 11 58 25 AM
  • Font weight should be different
Screenshot 2024-03-08 at 12 22 02 PM
  • Font size should be different
Screenshot 2024-03-08 at 12 23 26 PM
  • The "Explore docs" button should be white
  • The text is still not centered vertically. It's because the <p> tag has a bottom margin by default. You can just override it for this specific place.
Screenshot 2024-03-08 at 12 24 12 PM
  • Font size should be different
Screenshot 2024-03-08 at 12 27 28 PM
  • Font size and font-weight should be different
Screenshot 2024-03-08 at 12 28 24 PM
  • Arrow icons should be smaller
Screenshot 2024-03-08 at 12 30 59 PM Screenshot 2024-03-08 at 12 31 13 PM
  • Max content width should be smaller
Screenshot 2024-03-08 at 12 33 06 PM Screenshot 2024-03-08 at 12 33 16 PM
  • The space between the title and the first item should be smaller
Screenshot 2024-03-08 at 12 34 04 PM Screenshot 2024-03-08 at 12 34 18 PM
  • Title should have different font weight
Screenshot 2024-03-08 at 12 39 38 PM Screenshot 2024-03-08 at 12 40 25 PM
  • Image size should be bigger. 48px vs 56px
Screenshot 2024-03-08 at 12 41 28 PM
  • The vertical space between the text and the button should be a bit smaller
Screenshot 2024-03-08 at 12 42 44 PM Screenshot 2024-03-08 at 12 43 24 PM
  • Icons width should be bigger 48px vs 66px
Screenshot 2024-03-08 at 12 45 26 PM
  • I suppose it should be a long dash, not dash-dash --
Screenshot 2024-03-08 at 12 44 38 PM
  • Buttons should be under the whole content, not the part of the first column.
Screenshot 2024-03-08 at 12 46 49 PM Screenshot 2024-03-08 at 12 47 32 PM
  • Max content width should be less
Screenshot 2024-03-08 at 12 48 15 PM Screenshot 2024-03-08 at 12 48 28 PM
  • Please recheck font sizes and font weights for this section
Screenshot 2024-03-08 at 1 12 16 PM Screenshot 2024-03-08 at 12 50 13 PM
  • Font size and font weight should be different here 16px vs 18px, 700 vs 600
Screenshot 2024-03-08 at 12 51 14 PM
  • The "Go to GitHub" link shouldn't have underlined.
  • The horizontal space between links should be bigger
Screenshot 2024-03-08 at 12 53 55 PM Screenshot 2024-03-08 at 12 54 51 PM
  • The "Blog" font-weight should be 600, not 700
  • The height of this block should be 96px, not 144px
Screenshot 2024-03-08 at 12 56 27 PM
  • The order should be different. Title, author, date. The author should be bold.
Screenshot 2024-03-08 at 12 58 30 PM Screenshot 2024-03-08 at 12 58 42 PM
  • Font size and font weight should be different
Screenshot 2024-03-08 at 1 01 13 PM Screenshot 2024-03-08 at 1 01 20 PM
  • The "read" link shouldn't be bold
  • The "read" link arrow icon should be different
Screenshot 2024-03-08 at 1 02 01 PM Screenshot 2024-03-08 at 1 02 19 PM
  • The order should be different. Title, author, date. The author should be bold.
Screenshot 2024-03-08 at 1 02 51 PM

I didn't re-check on the mobile and tablet. I think it's enough to fix.

@visortelle
Copy link
Member

visortelle commented Mar 8, 2024

@Trakina it would probably make sense to mark the comment checkboxes as done when it ready. If you can't edit my comment, copy-paste my comment and mark what is done.

Copy paste it as a new comment
- [ ] Both should have the same font-weight - `400`

<img width="843" alt="Screenshot 2024-03-08 at 11 54 24 AM" src="https://github.com/apache/pulsar-site/assets/9302460/a38caed7-9870-4585-8c8c-f5c8019c402a">

<img width="619" alt="Screenshot 2024-03-08 at 11 54 59 AM" src="https://github.com/apache/pulsar-site/assets/9302460/80d1695a-cc17-4204-b6e1-666bf2bf9311">

- [ ] Card title should have font-size `22px` (`1.375rem`)
<img width="566" alt="Screenshot 2024-03-08 at 11 57 11 AM" src="https://github.com/apache/pulsar-site/assets/9302460/99037f2c-f747-4cc8-8812-f2e1b2ed2077">

- [ ] Same font-weight
- [ ] Number size should be bigger. `64px` vs `96px`
- [ ] Sentences below the numbers also should have different font-size and font-weight
- [ ] The `+` in `600+` and `10000+` is an icon with a different size, not the piece of text.
- [ ] Figma design says that the GitHub number should be a link to https://github/apache/pusar

<img width="810" alt="Screenshot 2024-03-08 at 1 13 42 PM" src="https://github.com/apache/pulsar-site/assets/9302460/2667ea5f-999e-47bd-a9f5-0903167e4d56">

<img width="1129" alt="Screenshot 2024-03-08 at 11 58 25 AM" src="https://github.com/apache/pulsar-site/assets/9302460/91c191f8-9a54-440f-b84a-aff3ba0e476f">

- [ ] Font weight should be different

<img width="445" alt="Screenshot 2024-03-08 at 12 22 02 PM" src="https://github.com/apache/pulsar-site/assets/9302460/b60caa80-2143-4c05-9ae3-3c0ca5d25766">

- [ ] Font size should be different

<img width="1277" alt="Screenshot 2024-03-08 at 12 23 26 PM" src="https://github.com/apache/pulsar-site/assets/9302460/de826ec6-f3b6-4d8b-b569-9c068db82c00">

- [ ] The "Explore docs" button should be white
- [ ] The text is still not centered vertically. It's because the `<p>` tag has a bottom margin by default. You can just override it for this specific place.

<img width="1332" alt="Screenshot 2024-03-08 at 12 24 12 PM" src="https://github.com/apache/pulsar-site/assets/9302460/cb8ecbdd-967e-4e79-bd4b-b6bc944fc6db">

- Font size should  be different

<img width="437" alt="Screenshot 2024-03-08 at 12 27 28 PM" src="https://github.com/apache/pulsar-site/assets/9302460/4083ac2a-b787-462f-b47e-ac00e938751a">

- [ ] Font size and font-weight should be different

<img width="387" alt="Screenshot 2024-03-08 at 12 28 24 PM" src="https://github.com/apache/pulsar-site/assets/9302460/0783110b-4156-4654-b239-8abeacba7d31">

- [ ] Arrow icons should be smaller

<img width="188" alt="Screenshot 2024-03-08 at 12 30 59 PM" src="https://github.com/apache/pulsar-site/assets/9302460/bec9e527-cfc8-43ca-b667-bf09ee79d687">

<img width="223" alt="Screenshot 2024-03-08 at 12 31 13 PM" src="https://github.com/apache/pulsar-site/assets/9302460/c9c30c02-578f-4359-80b1-c28b3ef687dc">

- [ ] Max content width should be smaller

<img width="947" alt="Screenshot 2024-03-08 at 12 33 06 PM" src="https://github.com/apache/pulsar-site/assets/9302460/5dd6fd26-5b0e-4c23-853a-4a6339878855">

<img width="809" alt="Screenshot 2024-03-08 at 12 33 16 PM" src="https://github.com/apache/pulsar-site/assets/9302460/a16bfdce-31a8-490d-bc21-ea5abe42aa44">

- [ ] The space between the title and the first item should be smaller

<img width="449" alt="Screenshot 2024-03-08 at 12 34 04 PM" src="https://github.com/apache/pulsar-site/assets/9302460/7ca39a9b-e812-4b8d-8da5-9f18d09ac127">

<img width="471" alt="Screenshot 2024-03-08 at 12 34 18 PM" src="https://github.com/apache/pulsar-site/assets/9302460/eea068ef-70e4-4c9f-bb00-e68c4d10f129">

- [ ] Title should have different font weight

<img width="631" alt="Screenshot 2024-03-08 at 12 39 38 PM" src="https://github.com/apache/pulsar-site/assets/9302460/0a8d4a6b-9fc0-4cc4-9ca6-d2149e7c6205">

<img width="518" alt="Screenshot 2024-03-08 at 12 40 25 PM" src="https://github.com/apache/pulsar-site/assets/9302460/3c06b2a3-86e7-4743-9c44-5177fdd6a20b">

- [ ] Image size should be bigger. `48px` vs `56px`

<img width="163" alt="Screenshot 2024-03-08 at 12 41 28 PM" src="https://github.com/apache/pulsar-site/assets/9302460/77cc36ca-0c24-4de4-9694-6dfd19d69708">

- [ ] The vertical space between the text and the button should be a bit smaller

<img width="547" alt="Screenshot 2024-03-08 at 12 42 44 PM" src="https://github.com/apache/pulsar-site/assets/9302460/9a1f87c1-a8bb-4e38-a307-17abbb64b7c3">

<img width="534" alt="Screenshot 2024-03-08 at 12 43 24 PM" src="https://github.com/apache/pulsar-site/assets/9302460/05f98b30-bbc3-4f37-a410-e6c162699e18">

- [ ] Icons width should be bigger `48px` vs `66px`

<img width="128" alt="Screenshot 2024-03-08 at 12 45 26 PM" src="https://github.com/apache/pulsar-site/assets/9302460/fad31d85-8645-4243-a983-dfd5bf849728">

- [ ] I suppose it should be a long dash, not dash-dash `--`
<img width="420" alt="Screenshot 2024-03-08 at 12 44 38 PM" src="https://github.com/apache/pulsar-site/assets/9302460/e86ce35c-da8e-46c9-ad51-0f05bc6fb321">

- [ ] Buttons should be under the whole content, not the part of the first column.

<img width="657" alt="Screenshot 2024-03-08 at 12 46 49 PM" src="https://github.com/apache/pulsar-site/assets/9302460/106082a1-ecd7-4056-a783-19428efcf4bc">

<img width="674" alt="Screenshot 2024-03-08 at 12 47 32 PM" src="https://github.com/apache/pulsar-site/assets/9302460/9553c7b4-6cc5-4357-aa28-e1f6a9032799">

- [ ] Max content width should be less

<img width="1271" alt="Screenshot 2024-03-08 at 12 48 15 PM" src="https://github.com/apache/pulsar-site/assets/9302460/812e366e-6153-44ca-8dbf-e2b3b45b1ea1">

<img width="809" alt="Screenshot 2024-03-08 at 12 48 28 PM" src="https://github.com/apache/pulsar-site/assets/9302460/f53c4d95-fc52-422e-9852-6fc6f26bc294">

- [ ] Please recheck font sizes and font weights for this section

<img width="688" alt="Screenshot 2024-03-08 at 1 12 16 PM" src="https://github.com/apache/pulsar-site/assets/9302460/baa2c68b-95dc-4cd2-a1f2-489e1a6adc6b">

<img width="816" alt="Screenshot 2024-03-08 at 12 50 13 PM" src="https://github.com/apache/pulsar-site/assets/9302460/7e9f26b9-507c-4ccc-862b-ce056fc47da3">

- [ ] Font size and font weight should be different here `16px` vs `18px`, `700` vs `600`

<img width="440" alt="Screenshot 2024-03-08 at 12 51 14 PM" src="https://github.com/apache/pulsar-site/assets/9302460/3fea59aa-43b4-4a85-9622-ae11b46b54ff">

- [ ] The "Go to GitHub" link shouldn't have underlined.
- [ ] The horizontal space between links should be bigger

<img width="345" alt="Screenshot 2024-03-08 at 12 53 55 PM" src="https://github.com/apache/pulsar-site/assets/9302460/5281b972-fc34-458e-9a65-95d428eec0b3">

<img width="313" alt="Screenshot 2024-03-08 at 12 54 51 PM" src="https://github.com/apache/pulsar-site/assets/9302460/5ae03e7e-0f06-444a-894e-6b3e0e991084">

- [ ] The "Blog" font-weight should be `600`, not `700`
- [ ] The height of this block should be `96px`, not `144px`

<img width="1379" alt="Screenshot 2024-03-08 at 12 56 27 PM" src="https://github.com/apache/pulsar-site/assets/9302460/e5bb80cb-fee5-416f-b1cf-b653ced160a8">

- [ ] The order should be different. Title, author, date. The author should be bold.

<img width="335" alt="Screenshot 2024-03-08 at 12 58 30 PM" src="https://github.com/apache/pulsar-site/assets/9302460/05da2b5a-46b4-4c88-9df1-58969dd4329c">

<img width="354" alt="Screenshot 2024-03-08 at 12 58 42 PM" src="https://github.com/apache/pulsar-site/assets/9302460/b243bde0-aa46-4e08-a73f-56255b101d2f">

- [ ] Font size and font weight should be different

<img width="787" alt="Screenshot 2024-03-08 at 1 01 13 PM" src="https://github.com/apache/pulsar-site/assets/9302460/3894b435-dc7c-4a8b-a36a-b1b44bf2592d">

<img width="677" alt="Screenshot 2024-03-08 at 1 01 20 PM" src="https://github.com/apache/pulsar-site/assets/9302460/8dff285d-3fed-4c52-a6d2-6c853703906c">

- [ ] The "read" link shouldn't be bold
- [ ] The "read" link arrow icon should be different 

<img width="806" alt="Screenshot 2024-03-08 at 1 02 01 PM" src="https://github.com/apache/pulsar-site/assets/9302460/43ee3283-f497-4e5a-becf-d280c857fe02">

<img width="514" alt="Screenshot 2024-03-08 at 1 02 19 PM" src="https://github.com/apache/pulsar-site/assets/9302460/c716189c-04cf-42ea-a2d9-7a1afb6c6da3">

- [ ] The order should be different. Title, author, date. The author should be bold.

<img width="582" alt="Screenshot 2024-03-08 at 1 02 51 PM" src="https://github.com/apache/pulsar-site/assets/9302460/353f5ab2-a265-4978-b4c0-9c00fa722fa9">

---

- [ ] Please resolve the merge conflicts.

  Pay attention to the new `LandingPage` class. Docs and other page font sizes are different now. Please apply it for all the pages you worked on. https://github.com/apache/pulsar-site/blob/b2a3d6d28a9911dcfb6914df9e5c5dcdcd7c27b3/src/components/pages/HomePage/HomePage.tsx#L17

- [ ] Take the /case-studies page from the `main` branch.
      
    I updated the page according to the design and updated all company logos to make them look crisp.

    https://pulsar.apache.org/case-studies/
    https://pulsar-site-2024-updates.vercel.app/case-studies
      
    I forgot to add this section for mobile. I'll copy-paste it from your commits later.

    <img width="604" alt="Screenshot 2024-03-08 at 12 10 50 PM" src="https://github.com/apache/pulsar-site/assets/9302460/282a6566-9a1f-4d44-a87e-5d310a5e9bf9">

---

I didn't re-check on the mobile and tablet. I think it's enough to fix.

Although the right way would be if I'd made a separate comment for each issue that could be marked as resolved, but it's' too late.

@visortelle
Copy link
Member

visortelle commented Mar 14, 2024

We should probably update the mailing list links on the community page according to this PR:
#847

@Trakina
Copy link
Contributor Author

Trakina commented Mar 18, 2024

  • Both should have the same font-weight - 400
Screenshot 2024-03-08 at 11 54 24 AM Screenshot 2024-03-08 at 11 54 59 AM
  • Card title should have font-size 22px (1.375rem)
Screenshot 2024-03-08 at 11 57 11 AM
  • Same font-weight
  • Number size should be bigger. 64px vs 96px
  • Sentences below the numbers also should have different font-size and font-weight
  • The + in 600+ and 10000+ is an icon with a different size, not the piece of text.
  • Figma design says that the GitHub number should be a link to https://github/apache/pusar
Screenshot 2024-03-08 at 1 13 42 PM Screenshot 2024-03-08 at 11 58 25 AM
  • Font weight should be different
Screenshot 2024-03-08 at 12 22 02 PM
  • Font size should be different
Screenshot 2024-03-08 at 12 23 26 PM
  • The "Explore docs" button should be white
  • The text is still not centered vertically. It's because the <p> tag has a bottom margin by default. You can just override it for this specific place.
Screenshot 2024-03-08 at 12 24 12 PM
  • Font size should be different
Screenshot 2024-03-08 at 12 27 28 PM
  • Font size and font-weight should be different
Screenshot 2024-03-08 at 12 28 24 PM
  • Arrow icons should be smaller
Screenshot 2024-03-08 at 12 30 59 PM Screenshot 2024-03-08 at 12 31 13 PM
  • Max content width should be smaller
Screenshot 2024-03-08 at 12 33 06 PM Screenshot 2024-03-08 at 12 33 16 PM
  • The space between the title and the first item should be smaller
Screenshot 2024-03-08 at 12 34 04 PM Screenshot 2024-03-08 at 12 34 18 PM
  • Title should have different font weight
Screenshot 2024-03-08 at 12 39 38 PM Screenshot 2024-03-08 at 12 40 25 PM
  • Image size should be bigger. 48px vs 56px
Screenshot 2024-03-08 at 12 41 28 PM
  • The vertical space between the text and the button should be a bit smaller
Screenshot 2024-03-08 at 12 42 44 PM Screenshot 2024-03-08 at 12 43 24 PM
  • Icons width should be bigger 48px vs 66px
Screenshot 2024-03-08 at 12 45 26 PM
  • I suppose it should be a long dash, not dash-dash --
Screenshot 2024-03-08 at 12 44 38 PM
  • Buttons should be under the whole content, not the part of the first column.
Screenshot 2024-03-08 at 12 46 49 PM Screenshot 2024-03-08 at 12 47 32 PM
  • Max content width should be less
Screenshot 2024-03-08 at 12 48 15 PM Screenshot 2024-03-08 at 12 48 28 PM
  • Please recheck font sizes and font weights for this section
Screenshot 2024-03-08 at 1 12 16 PM Screenshot 2024-03-08 at 12 50 13 PM
  • Font size and font weight should be different here 16px vs 18px, 700 vs 600
Screenshot 2024-03-08 at 12 51 14 PM
  • The "Go to GitHub" link shouldn't have underlined.
  • The horizontal space between links should be bigger
Screenshot 2024-03-08 at 12 53 55 PM Screenshot 2024-03-08 at 12 54 51 PM
  • The "Blog" font-weight should be 600, not 700
  • The height of this block should be 96px, not 144px
Screenshot 2024-03-08 at 12 56 27 PM
  • The order should be different. Title, author, date. The author should be bold.
Screenshot 2024-03-08 at 12 58 30 PM Screenshot 2024-03-08 at 12 58 42 PM
  • Font size and font weight should be different
Screenshot 2024-03-08 at 1 01 13 PM Screenshot 2024-03-08 at 1 01 20 PM
  • The "read" link shouldn't be bold
  • The "read" link arrow icon should be different
Screenshot 2024-03-08 at 1 02 01 PM Screenshot 2024-03-08 at 1 02 19 PM
  • The order should be different. Title, author, date. The author should be bold.
Screenshot 2024-03-08 at 1 02 51 PM

@visortelle I just copied the new images and updated the header styles. The rest of it wasn't on Figma, so I did not do it.

<img width="604" alt="Screenshot 2024-03-08 at 12 10 50 PM" src="https://github.com/apache/pulsar-site/assets/9302460/282a6566-9a1f-4d44-a87e-5d310a5e9bf9">

I didn't re-check on the mobile and tablet. I think it's enough to fix.

@visortelle
Copy link
Member

visortelle commented Mar 18, 2024

@Trakina Thank you. I updated the live preview: https://pulsar-site-2024-updates.vercel.app/

I’m going to take a look and commit a bunch of minor fixes for the desktop version in the next few days.
If I find something for mobile or tablet, I'll post it as a separate comment.

Could you add me as a collaborator to your repo fork?

@Trakina
Copy link
Contributor Author

Trakina commented Mar 18, 2024

@visortelle just realised I missed a detail in the blog list, pushed again.
Also, added you as contributor to my fork.

@lhotari
Copy link
Member

lhotari commented Mar 19, 2024

@Trakina @visortelle @asafm I'll push a merge conflict resolution so that we get this merged asap. Hopefully I'm making the correct choices.

Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Let's merge this asap and follow up with smaller PRs to address individual problems.

@visortelle visortelle merged commit 5b704fc into apache:main Mar 19, 2024
2 checks passed
@visortelle
Copy link
Member

@lhotari agree, we can apply other fixes in further PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants