-
Notifications
You must be signed in to change notification settings - Fork 125
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
Implementation of Preview Page #269
Open
favouridoko1
wants to merge
60
commits into
hngprojects:dev
Choose a base branch
from
favouridoko1:feat/HNG-14-create-preview-page
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
6ab4b39
latest update on preview page and generate template page
favouridoko1 9fa8042
feat(HNG-14):changes made to some components
favouridoko1 5f00b42
feat(HNG-14):changes made to some components
favouridoko1 401fce4
latest update on preview page and generate template page
favouridoko1 d222540
feat(HNG-14):changes made to some components
favouridoko1 78ea6a5
feat: develop the latest article card component
Adufe-Obanijesu d8a86fb
fix: fix the image overflow and make the article card into a link
Adufe-Obanijesu e0398d2
fix: fix conflicts in pnpm-lock.yaml
Adufe-Obanijesu 5b4c1cf
fix: fix the grid layout for desktop view
Adufe-Obanijesu 88f45db
fix: fix the letter spacing of description
Adufe-Obanijesu df7fdb7
fix: fix lint errors
Adufe-Obanijesu 0b837b1
fix: added id to the article interface
Adufe-Obanijesu 4f1549d
fix: added dot before the creation date
Adufe-Obanijesu f980ec7
fix: fix lint error
Adufe-Obanijesu 92480c3
fix: use global styles
Adufe-Obanijesu 999f83e
fix: use global styles
Adufe-Obanijesu d49a095
feat: implement cookie consent banner with custom button styles
KehindeDaniels 576a698
feat: implement floating footer cookie consent component
KehindeDaniels b2fb12b
fix: resolve merge conflicts with upstream/main
KehindeDaniels 2f98253
integrate existing button component into FooterCookieConsent component
KehindeDaniels a555a59
chore: remove unused components to clean up the codebase
KehindeDaniels c87c76b
installed switch components
67c54a2
feat(116):user-dashboard-password-settings added route for it
Lftobs d892854
feat(116):user-dashboard-password-settings (added component dir for d…
Lftobs 047d5e4
feat(116):user-dashboard-password-settings (completed password update…
Lftobs f0a9b33
feat(116):user-dashboard-password-settings (completed password update…
Lftobs 581a5db
feat(116):user-dashboard-password-settings (completed password update…
Lftobs 34592ea
feat(116):user-dashboard-password-settings (completed password update…
Lftobs 944aa05
feat(116):user-dashboard-password-settings (completed password update…
Lftobs 7d94d98
chore: Update @typescript-eslint/parser and @typescript-eslint/eslint…
psalm987 fcd3980
fix: PNPM lint issues
psalm987 2cead30
merge conflict resolution
favouridoko1 0d0530f
resolved merge conflict
favouridoko1 693c8bd
resolved merge conflict
favouridoko1 41f86cf
resolved merge conflict
favouridoko1 2a32706
feat(HNG-14):changes made to some components
favouridoko1 a89b384
feat: develop the latest article card component
Adufe-Obanijesu ad70731
fix: fix the image overflow and make the article card into a link
Adufe-Obanijesu 09ee9e3
fix: fix conflicts in pnpm-lock.yaml
Adufe-Obanijesu 95baa2e
fix: fix the grid layout for desktop view
Adufe-Obanijesu 4609e84
fix: fix the letter spacing of description
Adufe-Obanijesu fabe466
fix: fix lint errors
Adufe-Obanijesu 4b6e521
fix: added id to the article interface
Adufe-Obanijesu a669529
fix: added dot before the creation date
Adufe-Obanijesu 3e9c0f0
fix: fix lint error
Adufe-Obanijesu 299b4a3
fix: use global styles
Adufe-Obanijesu 8db0c29
fix: lint errors from BlogCards
Adufe-Obanijesu d6eedad
fix: use global styles
Adufe-Obanijesu 4b345f8
feat: implement cookie consent banner with custom button styles
KehindeDaniels ddd978c
feat: implement floating footer cookie consent component
KehindeDaniels 27ce9ef
fix: resolve merge conflicts with upstream/main
KehindeDaniels 8450077
chore: remove unused components to clean up the codebase
KehindeDaniels 99685bd
installed switch components
6a66d88
feat(116):user-dashboard-password-settings (added component dir for d…
Lftobs 347e0d8
feat(116):user-dashboard-password-settings (completed password update…
Lftobs 1b535b3
feat(116):user-dashboard-password-settings (completed password update…
Lftobs a65228d
feat(116):user-dashboard-password-settings (completed password update…
Lftobs 4dd9eed
feat(116):user-dashboard-password-settings (completed password update…
Lftobs f6f4051
fix: PNPM lint issues
psalm987 bb1668c
Merge branch 'feat/HNG-14-create-preview-page' of https://github.com/…
favouridoko1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
|
||
import { getImages } from "~/lib/utils/utils"; | ||
const Navbar = () => { | ||
return ( | ||
<> | ||
<div className="flex flex-col h-24 borderbtm"> | ||
|
||
<div className="flex justify-between mx-4"> | ||
<ul className="flex justify-between items-center gap-8"> | ||
<div className="flex items-center gap-3"> | ||
<li> | ||
<img src={getImages[0].icon.imgLocation} alt="hamborger_icon" /> | ||
</li> | ||
|
||
<li> | ||
<img src={getImages[0].logo.imgLocation} alt="logo" /> | ||
</li> | ||
<li className="font-semibold text-2xl"> | ||
<p>Boilerplate.</p> | ||
</li> | ||
</div> | ||
<div className="flex gap-2 font-bold text-xs"> | ||
<li>Overview</li> | ||
<li className="text-orange">Email</li> | ||
<li>product</li> | ||
</div> | ||
</ul> | ||
<ul className="flex items-center justify-between gap-4"> | ||
<li className="borderstyles relative"> | ||
<input | ||
type="text" | ||
className="px-7 h-10 focus:outline-0 font-light" | ||
placeholder="Search Option..." | ||
/> | ||
<img | ||
src={getImages[0].search_icon.imgLocation} | ||
alt="" | ||
className="absolute top-3 left-2 outline-none" | ||
/> | ||
</li> | ||
<li> | ||
<img src={getImages[0].bell.imgLocation} alt="" /> | ||
</li> | ||
<li> | ||
<img src={getImages[0].questionmark.imgLocation} alt="" /> | ||
</li> | ||
<li> | ||
<img src={getImages[0].avatar.imgLocation} alt="" /> | ||
</li> | ||
<li> | ||
<img src={getImages[0].dropdown_icon.imgLocation} alt="" /> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
export default Navbar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
<!-- <!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Document</title> | ||
</head> | ||
<body style="font-family: 'Poppins', Arial, sans-serif"> | ||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="staticSiteContainer"> | ||
<tr> | ||
<td align="center" style="padding: 20px"> | ||
<table | ||
class="content" | ||
width="600" | ||
border="0" | ||
cellspacing="0" | ||
cellpadding="0" | ||
style="border-collapse: collapse; border: 1px solid #cccccc" | ||
> | ||
<!-- Header --> | ||
<tr> | ||
<td | ||
class="header" | ||
style=" | ||
background-color: #000000; | ||
padding: 40px; | ||
text-align: center; | ||
color: white; | ||
font-size: 24px; | ||
" | ||
> | ||
<span style="border-bottom: 2px solid #ffffff">IB</span>OUND <span style="padding: 4px; background-color: #f56c6c;">22</span> | ||
</td> | ||
</tr> | ||
|
||
<!-- Body --> | ||
<tr> | ||
<td | ||
class="body" | ||
style=" | ||
padding: 40px; | ||
text-align: left; | ||
font-size: 16px; | ||
line-height: 1.6; | ||
" | ||
> | ||
Hello, All! <br /> | ||
Lorem odio soluta quae dolores sapiente voluptatibus recusandae | ||
aliquam fugit ipsam. | ||
<br /><br /> | ||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Veniam | ||
corporis sint eum nemo animi velit exercitationem impedit. | ||
Incidunt, officia facilis atque? Ipsam voluptas fugiat | ||
distinctio blanditiis veritatis. | ||
</td> | ||
</tr> | ||
|
||
<!-- Call to action Button --> | ||
<tr> | ||
<td style="padding: 0px 40px 0px 40px; text-align: center"> | ||
<!-- CTA Button --> | ||
<table cellspacing="0" cellpadding="0" style="margin: auto"> | ||
<tr> | ||
<td | ||
align="center" | ||
style=" | ||
background-color: #345c72; | ||
padding: 10px 20px; | ||
border-radius: 5px; | ||
" | ||
> | ||
<a | ||
|
||
style=" | ||
color: #ffffff; | ||
text-decoration: none; | ||
font-weight: bold; | ||
cursor:pointer; | ||
" | ||
>Register here</a | ||
> | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td | ||
class="body" | ||
style=" | ||
padding: 40px; | ||
text-align: left; | ||
font-size: 16px; | ||
line-height: 1.6; | ||
" | ||
> | ||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Veniam | ||
corporis sint eum nemo animi velit exercitationem impedit. | ||
</td> | ||
</tr> | ||
<!-- Footer --> | ||
<tr> | ||
<td | ||
class="footer" | ||
style=" | ||
background-color: #333333; | ||
padding: 40px; | ||
text-align: center; | ||
color: white; | ||
font-size: 14px; | ||
" | ||
> | ||
Copyright © 2024 | Your brand name | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
export const getImages = [ | ||
{ | ||
icon: { | ||
id: 1, | ||
type: "online auction site", | ||
imgLocation: "../../../public/icon.png", | ||
}, | ||
logo: { | ||
id: 2, | ||
type: "brand logo", | ||
imgLocation: "../../../public/Logo.png", | ||
}, | ||
bell: { | ||
id: 3, | ||
type: "notification bell", | ||
imgLocation: "../../../public/notification.png", | ||
}, | ||
questionmark: { | ||
id: 4, | ||
type: "question mark icon", | ||
imgLocation: "../../../public/icon_que.png", | ||
}, | ||
avatar: { | ||
id: 5, | ||
type: "avatar", | ||
imgLocation: "../../../public/avatar.png", | ||
}, | ||
dropdown_icon: { | ||
id: 6, | ||
type: "notification bell", | ||
imgLocation: "../../../public/secondary_icon.png", | ||
}, | ||
search_icon: { | ||
id: 7, | ||
type: "search icon", | ||
imgLocation: "../../../public/search_icon.png", | ||
}, | ||
note_icon: { | ||
id: 7, | ||
type: "note icon", | ||
imgLocation: "../../../public/note_icon.png", | ||
}, | ||
open_close: { | ||
id: 7, | ||
type: "note icon", | ||
imgLocation: "../../../public/open_close.png", | ||
}, | ||
arrow_right: { | ||
id: 7, | ||
type: "note icon", | ||
imgLocation: "../../../public/arrow_right.png", | ||
}, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
What is going on here???