-
Notifications
You must be signed in to change notification settings - Fork 39
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
Conversation
❌ Deploy Preview for adoring-allen-cc4d44 failed.
|
There was a problem hiding this 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!!!
There was a problem hiding this 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.
Add and let me know if you need any help, Good work 👍
@yashikajotwani12 The tenplate should be fixed now |
It should be formatted properly now, if not please alert me so i can fix any issues. |
Hey @LostButton, you have not added your templates like it is added here
|
But jsx is already updated. It was updated during my second commit? |
OHHHHH I SEE NOW |
ScreenRecorder_2022-10-05_20640a3d-f7f7-4a9a-890a-31b7a255f239.mp4The template when clicked just blanks out the screen, please do check this. |
Can you please check whether its only template seven this is happening to? |
Of all things, it was a single space. Issue should be patched now |
@yashikajotwani12 The issue of the blank page should be patched now |
There was a problem hiding this 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 ?
Could you please add a new issue for this after we merge this PR, the context of the PR was just to add templates. |
@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
<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
<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
<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
<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
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.mp4Else Everything is fine. |
@yashikajotwani12 The issue should be fixed. a small redirection error but it should be fixed |
Yeah! It is fixed @LostButton, It LGTM. |
There was a problem hiding this 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!
fixes #7
I have compiled a list of 5 new templates.
@vedant-jain03, Please tell me if I need to change anything within them