Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sayhi7562 committed Dec 4, 2024
1 parent 1363644 commit 29e6ccf
Show file tree
Hide file tree
Showing 7 changed files with 191 additions and 5 deletions.
35 changes: 35 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About - sayhi7562</title>
<link rel="stylesheet" href="styles/styles.css">
</head>
<body>
<header class="header">
<nav class="navbar">
<a href="index.html" class="nav-link">Home</a>
<span>|</span>
<a href="about.html" class="nav-link">About</a>
<span>|</span>
<a href="contact.html" class="nav-link">Contact</a>
</nav>
</header>

<section class="about">
<h1>About Me</h1>
<p>I am [Your Name], a passionate [Your Profession].</p>
<h2>Skills</h2>
<ul>
<li>Skill 1</li>
<li>Skill 2</li>
<li>Skill 3</li>
</ul>
</section>

<footer class="footer">
<p>&copy; 2024 Watcharawit Pratpiamsuk. All rights reserved.</p>
</footer>
</body>
</html>
34 changes: 34 additions & 0 deletions contact.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact - sayhi7562</title>
<link rel="stylesheet" href="styles/styles.css">
</head>
<body>
<header class="header">
<nav class="navbar">
<a href="index.html" class="nav-link">Home</a>
<span>|</span>
<a href="about.html" class="nav-link">About</a>
<span>|</span>
<a href="contact.html" class="nav-link">Contact</a>
</nav>
</header>

<section class="contact">
<h1>Contact Me</h1>
<form action="submit-form.php" method="post">
<input type="text" name="name" placeholder="Your Name" required>
<input type="email" name="email" placeholder="Your Email" required>
<textarea name="message" placeholder="Your Message" required></textarea>
<button type="submit">Send</button>
</form>
</section>

<footer class="footer">

</footer>
</body>
</html>
38 changes: 33 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>sayhi7562</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home - sayhi7562</title>
<link rel="stylesheet" href="styles/styles.css">
</head>
<body>
<h1>Hello, World!</h1>
<h2>test test test test<h2>
<header class="header">
<nav class="navbar">
<a href="index.html" class="nav-link">Home</a>
<span>|</span>
<a href="about.html" class="nav-link">About</a>
<span>|</span>
<a href="contact.html" class="nav-link">Contact</a>
</nav>
</header>

<section class="hero">
<h1>Hello!👋</h1>
<h1>I'm Watcharawit Pratpiamsuk</h1>
<div class="btn-container">
<a href="https://github.com/sayhi7562" class="btn">
<img src="styles/github.png" alt="Github" class="btn-icon"> Github
</a>
<a href="about.html" class="btn">
<img src="styles/resume.png" alt="Github" class="btn-icon">Resume
</a>
<a href="https://www.linkedin.com/in/sayhi7562/" class="btn">
<img src="styles/linkedin.png" alt="Github" class="btn-icon">LinkedIn
</a>
</div>
</section>

<footer class="footer">
<p>&copy; 2024 Watcharawit Pratpiamsuk. All rights reserved.</p>
</footer>
</body>
</html>
Binary file added styles/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added styles/linkedin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added styles/resume.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
89 changes: 89 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
font-family: Arial, sans-serif;
line-height: 1.6;
color: #ffffff;
background: #121212;
}

.header{
color: white;
text-align: center;
padding: 1rem;
font-size: 1.5rem;
word-spacing: -3px;
font-weight: bold;
}


.footer {
color: white;
text-align: center;
padding: 1rem;
font-size: 1rem;
word-spacing: 0px;
}

.navbar {
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}

.nav-link {
color: #ffffff;
text-decoration: none;
}

.nav-link:hover {
text-decoration: underline;
}

.hero {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 70vh;
background: #121212;
color: #ffffff;
font-size: 2rem;
line-height:1;
padding: 1rem;

}


.btn {
display: inline-block;
padding: 0.5rem 1rem;
background: #004691;
color: #fff;
text-decoration: none;
border-radius: 5px;
line-height:1;
border: 2px solid #ffffff;
}

.btn:hover {
background: #0056b3;
color: #e0e0e0;
}

.btn-container {
display: flex;
gap: 1rem;
margin-top: 1rem;
flex-wrap: wrap;
justify-content: center;
}

.btn-icon {
width: 30px;
height: 30px;
margin-right: 0.5rem;
}

0 comments on commit 29e6ccf

Please sign in to comment.