Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 31 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OpenCode $ Home</title>

<link rel="stylesheet" href="./styles/globals.css">
<link rel="stylesheet" href="./styles/navigation.css">
<link rel="stylesheet" href="./styles/index.css">

<link rel="shortcut icon" href="./public/images/code-solid.svg" type="image/x-icon">

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Pixelify+Sans&family=Roboto:wght@500&display=swap" rel="stylesheet">

</head>

<body>
<nav>
<img src="./public/images/code-solid.svg" class="logo-icon">
Expand All @@ -25,9 +32,32 @@ <h1> OpenCode.devs</h1>
</nav>

<section class="content">
<div class="first-box">
<div class="right-side">
<div class="font dual-colort " >
Welcome contributors, evaluate your impact with open source <span id="element"></span>
</div>

</div>

<div class="left-side">
<img src="/public/images/coding.png" alt="">
</div>
</div>


</section>


Copy link
Member

Choose a reason for hiding this comment

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

remove empty lines



<script src="https://unpkg.com/[email protected]/dist/typed.umd.js"></script>
<script>
var typed = new Typed('#element', {
strings: ['community', 'innovation', 'projects', 'contribution'],
typeSpeed: 70,
});
</script>

</body>

</html>
Binary file added public/images/coding.png
Copy link
Member

Choose a reason for hiding this comment

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

Is this image free to use ?? ( please provide the source of image )

Copy link
Author

Choose a reason for hiding this comment

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

yes it is free to use

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
95 changes: 95 additions & 0 deletions styles/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
* {
margin: 0px, 0px;
padding: 0px, 0px;
}


.first-box {
user-select: none;
display: flex;
align-items: center;
justify-content: center;
}


.right-side {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 50vw;
height: 500px;
padding: 105px;
font-size: 30px;
text-transform: capitalize;
}

.font {
font-size: 44px;
font-family: 'Roboto', sans-serif;
color: #ddb4e4;
padding: 3000px, 43px;
}

#element {
color: #90c0ff;
}

.left-side {
width: 50vw;
display: flex;
height: 500px;
align-items: center;
justify-content: center;

}






.left-side img {
padding: 22px 10px;
width: 600px;
height: 600px;
}




@media only screen and (max-width: 600px) {


.first-box {
display: flex;
flex-direction: column-reverse;
align-items: center;
justify-content: center;
}


.right-side {
display: block;
width: 89vw;
height: 198px;
padding: 5px 4px;
}

.font {
font-size: 33px;
font-family: 'Roboto', sans-serif;
color: #ddb4e4;
/* padding: 3000px, 43px; */
}


.left-side img {
/* padding: 22px 10px; */
width: 400px;
height: 400px;
}



}