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

New Templates Added #19

Merged
merged 9 commits into from
Oct 6, 2022
Merged

Conversation

CDPhu
Copy link
Contributor

@CDPhu CDPhu commented Oct 1, 2022

fixes #7
I have compiled a list of 5 new templates.
@vedant-jain03, Please tell me if I need to change anything within them

@netlify
Copy link

netlify bot commented Oct 1, 2022

Deploy Preview for adoring-allen-cc4d44 failed.

Name Link
🔨 Latest commit 06b291e
🔍 Latest deploy log https://app.netlify.com/sites/adoring-allen-cc4d44/deploys/633ee12442425e000867b920

Copy link
Collaborator

@yashikajotwani12 yashikajotwani12 left a comment

Choose a reason for hiding this comment

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

@LostButton This is not the way of adding templates, kindly refer to the current templates implementation. It is way more then just adding images, let me know if you have any doubt!!!

@CDPhu CDPhu requested a review from yashikajotwani12 October 3, 2022 01:03
Copy link
Collaborator

@yashikajotwani12 yashikajotwani12 left a comment

Choose a reason for hiding this comment

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

Hey @LostButton, You need to add your templates here.
https://github.com/vedant-jain03/certificate-generator/blob/master/src/components/Homepage.jsx#L156
I did tried adding and I saw this where the headings were merging, so after adding make sure everything is working.
Screenshot from 2022-10-03 10-17-32
Add and let me know if you need any help, Good work 👍

@CDPhu CDPhu requested a review from yashikajotwani12 October 3, 2022 13:07
@CDPhu
Copy link
Contributor Author

CDPhu commented Oct 4, 2022

@yashikajotwani12 The tenplate should be fixed now

@CDPhu
Copy link
Contributor Author

CDPhu commented Oct 5, 2022

It should be formatted properly now, if not please alert me so i can fix any issues.

@yashikajotwani12
Copy link
Collaborator

Hey @LostButton, you have not added your templates like it is added here

<img src={template4} alt="" />
, please add the code in Homepage.jsx.

@CDPhu
Copy link
Contributor Author

CDPhu commented Oct 5, 2022

Hey @LostButton, you have not added your templates like it is added here

<img src={template4} alt="" />
, please add the code in Homepage.jsx.

But jsx is already updated. It was updated during my second commit?

@CDPhu
Copy link
Contributor Author

CDPhu commented Oct 5, 2022

OHHHHH I SEE NOW

@yashikajotwani12
Copy link
Collaborator

ScreenRecorder_2022-10-05_20640a3d-f7f7-4a9a-890a-31b7a255f239.mp4

The template when clicked just blanks out the screen, please do check this.

@CDPhu
Copy link
Contributor Author

CDPhu commented Oct 5, 2022

Can you please check whether its only template seven this is happening to?

@CDPhu
Copy link
Contributor Author

CDPhu commented Oct 5, 2022

Of all things, it was a single space. Issue should be patched now

@CDPhu
Copy link
Contributor Author

CDPhu commented Oct 6, 2022

@yashikajotwani12 The issue of the blank page should be patched now

@yashikajotwani12
Copy link
Collaborator

Also the size of the templates is bigger, you can add a scrolling part so that the size remains the same.
Screenshot from 2022-10-06 08-26-07
After your changes:
Screenshot from 2022-10-06 08-28-28

Copy link
Owner

@vedant-jain03 vedant-jain03 left a comment

Choose a reason for hiding this comment

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

You are almost there, here are some changes you need to take care of and then we are finally merging this. Great Work @LostButton 💯

Also you can make scrolling effect by raising new issues. That don't need to add in this PR. WDYT @yashikajotwani12 ?

src/components/Homepage.jsx Outdated Show resolved Hide resolved
src/components/Homepage.jsx Outdated Show resolved Hide resolved
src/components/Homepage.jsx Outdated Show resolved Hide resolved
src/components/Homepage.jsx Outdated Show resolved Hide resolved
@vedant-jain03
Copy link
Owner

Also the size of the templates is bigger, you can add a scrolling part so that the size remains the same. Screenshot from 2022-10-06 08-26-07 After your changes: Screenshot from 2022-10-06 08-28-28

Could you please add a new issue for this after we merge this PR, the context of the PR was just to add templates.
WDYT @yashikajotwani12 ?

@CDPhu CDPhu requested review from vedant-jain03 and removed request for yashikajotwani12 October 6, 2022 12:10
@CDPhu
Copy link
Contributor Author

CDPhu commented Oct 6, 2022

@vedant-jain03 Is this ok?

<h2 style={{ fontSize: '12px', color: '#781114', textDecoration: 'underline', textTransform: 'uppercase' }}>Course Director</h2>
<h1 style={{ fontSize: '20px', color: '#0300b0', textTransform: 'uppercase' }}>{this.props.author === '' ? 'Author Name' : this.props.author}</h1>
</div>
{this.props.logo === '' ? "" : <img src={this.props.logo} style={{ position: 'absolute', width: '6rem', borderRadius: '50%', top: '20%', left: '35%' }} alt="logo" />}

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML

[DOM text](1) is reinterpreted as HTML without escaping meta-characters.
<h2 style={{ fontSize: '12px', color: 'white', textDecoration: 'underline' }}>Course Director</h2>
<h1 style={{ fontSize: '20px', color: '#ffff58', fontWeight: '100'}}>{this.props.author === '' ? 'Author Name' : this.props.author}</h1>
</div>
{this.props.logo === '' ? '' : <img src={this.props.logo} style={{ position: 'absolute', width: '4rem', borderRadius: '50%', top: '10%', left: '45%' }} alt="logo" />}

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML

[DOM text](1) is reinterpreted as HTML without escaping meta-characters.
<h2 style={{ fontSize: '12px', color: 'red', textDecoration: 'underline' }}>Course Director</h2>
<h1 style={{ fontSize: '20px', color: 'black',}}>{this.props.author === '' ? 'Author Name' : this.props.author}</h1>
</div>
{this.props.logo === '' ? '' : <img src={this.props.logo} style={{ position: 'absolute', width: '4rem', borderRadius: '50%', top: '10%', left: '45%' }} alt="logo" />}

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML

[DOM text](1) is reinterpreted as HTML without escaping meta-characters.
<h2 style={{ fontSize: '12px', color: '#c929ff', textDecoration: 'underline' }}>Course Director</h2>
<h1 style={{ fontSize: '20px', color: 'rgb(19, 22, 207)',}}>{this.props.author === '' ? 'Author Name' : this.props.author}</h1>
</div>
{this.props.logo === '' ? '' : <img src={this.props.logo} style={{ position: 'absolute', width: '4rem', borderRadius: '50%', top: '10%', left: '45%' }} alt="logo" />}

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML

[DOM text](1) is reinterpreted as HTML without escaping meta-characters.
<h2 style={{ fontSize: '12px', color: '#0edee6', textDecoration: 'underline' }}>Course Director</h2>
<h1 style={{ fontSize: '20px', color: 'rgb(6, 124, 214)',}}>{this.props.author === '' ? 'Author Name' : this.props.author}</h1>
</div>
{this.props.logo === '' ? '' : <img src={this.props.logo} style={{ position: 'absolute', width: '4rem', borderRadius: '50%', top: '10%', left: '45%' }} alt="logo" />}

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML

[DOM text](1) is reinterpreted as HTML without escaping meta-characters.
@CDPhu CDPhu removed the request for review from vedant-jain03 October 6, 2022 13:34
@CDPhu CDPhu requested a review from yashikajotwani12 October 6, 2022 13:34
@yashikajotwani12
Copy link
Collaborator

Hey @LostButton, As suggested by @vedant-jain03 we would open a new issue for the scrolling, but the one thing that I checked is this, do you see the same?

ScreenRecorder_2022-10-06_14bcb6ea-b7c5-4bfb-909f-acd90acd31be.mp4

Else Everything is fine.

@CDPhu
Copy link
Contributor Author

CDPhu commented Oct 6, 2022

@yashikajotwani12 The issue should be fixed. a small redirection error but it should be fixed

@yashikajotwani12
Copy link
Collaborator

yashikajotwani12 commented Oct 6, 2022

Yeah! It is fixed @LostButton, It LGTM.
Good Work 👍

@CDPhu CDPhu requested a review from vedant-jain03 October 6, 2022 14:26
Copy link
Owner

@vedant-jain03 vedant-jain03 left a comment

Choose a reason for hiding this comment

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

@LostButton Great work, 💯
Thanks for your valuable contribution!

@vedant-jain03 vedant-jain03 merged commit 11f9bf8 into vedant-jain03:master Oct 6, 2022
@vedant-jain03 vedant-jain03 added the hacktoberfest-accepted For valid merged PR label Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted For valid merged PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: add more themes
3 participants