Skip to content

Commit

Permalink
fix error and session started and build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRanchoatos committed Nov 23, 2023
1 parent 3b0aa4a commit 17b3685
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 7 deletions.
2 changes: 1 addition & 1 deletion components/section3/Index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function index() {
return (
<div className="bg-black items-center justify-center">
<p className=" text-white text-center text-2xl font-semibold mb-8 mt-5 tracking-widest">PROJECTS</p>
<div className="text-white grid gap-6 justify-items-center bg-no-repeat bg-left bg-cover bg-[url('./images/hm.png')]">
<div className="text-white grid gap-6 justify-items-center bg-no-repeat bg-left bg-cover">
<button className="btn bg-rose-800 border hover:border hover:bg-rose-500 hover:p-2 p-1
w-7/12 h-11 rounded-lg rounded-tl-3xl rounded-br-3xl transform hover:scale-105 shadow-lg duration-200 flex justify-center items-center">
<span className="centered-word text-2x1 p-1 rounded-lg tracking-widest text-center ml-40 mr-20">BANKLESS LABS</span>
Expand Down
7 changes: 5 additions & 2 deletions components/section4/Index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import React from 'react'
import React from 'react';
import ProfileCard from './ProfileCard';

function index() {
return (
<div>Section 4</div>
<div>
<ProfileCard />
</div>
)
}

Expand Down
29 changes: 29 additions & 0 deletions components/section4/ProfileCard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import React from 'react';

const ProfileCard = () => {
const imageStyle = {
width: '200px', // Adjust the width and height as needed
height: '200px',
position: 'relative',
};

const borderStyle = {
content: '',
position: 'absolute',
top: 0,
left: 0,
width: '100%',
height: '100%',
clipPath: 'polygon(100% 10%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)',
border: '100px solid #FFFF00', // Adjust the border style as needed
};

return (
<div style={imageStyle} className="pentagon-border-image">
<img src="https://avatars.githubusercontent.com/u/48338938?v=4" />
<div style={borderStyle}></div>
</div>
);
};

export default ProfileCard;
8 changes: 4 additions & 4 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import Section5 from '../components/section5'
function index() {
return (
<div>
{/* <Section1 />
<Section2 /> */}
<Section1 />
<Section2 />
<Section3 />
{/* <Section4 />
<Section5 /> */}
<Section4 />
<Section5 />
</div>
)
}
Expand Down

0 comments on commit 17b3685

Please sign in to comment.