refactor to place UI in the ui folder
This commit is contained in:
55
ui/AnyRemark-design/index.html
Normal file
55
ui/AnyRemark-design/index.html
Normal file
@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>AnyRemark</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<a href="#">Home</a>
|
||||
<a href="#">About</a>
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
<article>
|
||||
<h1>Stingrays with Friends - FPV Formation</h1>
|
||||
<p>My favorite thing to do in this hobby is fly FPV with friends and chase planes. Morning FPV flights with Ben and Eric. If you are interested in this plane (The...</p>
|
||||
<div class="video-container">
|
||||
<img src="https://via.placeholder.com/800x450" alt="Video Thumbnail">
|
||||
<div class="play-button"></div>
|
||||
</div>
|
||||
</article>
|
||||
<section class="comments">
|
||||
<h2>Comments</h2>
|
||||
<div class="comment">
|
||||
<img src="https://via.placeholder.com/50" alt="User Avatar" class="avatar">
|
||||
<div class="comment-content">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="comment">
|
||||
<img src="https://via.placeholder.com/50" alt="User Avatar" class="avatar">
|
||||
<div class="comment-content">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="comment">
|
||||
<img src="https://via.placeholder.com/50" alt="User Avatar" class="avatar">
|
||||
<div class="comment-content">
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi.</p>
|
||||
</div>
|
||||
</div>
|
||||
<form class="comment-form">
|
||||
<textarea placeholder="Add a comment..."></textarea>
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
</section>
|
||||
</main>
|
||||
<footer>
|
||||
<p>Video icons created by Freepik - Flaticon</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
89
ui/AnyRemark-design/logo.svg
Normal file
89
ui/AnyRemark-design/logo.svg
Normal file
@ -0,0 +1,89 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="155.12558mm"
|
||||
height="155.12558mm"
|
||||
viewBox="0 0 155.12558 155.12558"
|
||||
version="1.1"
|
||||
id="svg5"
|
||||
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
|
||||
sodipodi:docname="logo.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview7"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.73"
|
||||
inkscape:cx="399.31507"
|
||||
inkscape:cy="367.80822"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="992"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs2" />
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-29.313583,-38.038193)">
|
||||
<circle
|
||||
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.25;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
|
||||
id="path5660"
|
||||
cx="106.87637"
|
||||
cy="115.60098"
|
||||
r="77.56279" />
|
||||
<g
|
||||
id="g4000"
|
||||
style="fill:#0f79ff;fill-opacity:1;stroke:none">
|
||||
<rect
|
||||
style="fill:#0f79ff;fill-opacity:1;stroke:none;stroke-width:0.25;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
|
||||
id="rect1969"
|
||||
width="125.05263"
|
||||
height="74.159119"
|
||||
x="44.350063"
|
||||
y="78.521416"
|
||||
ry="19"
|
||||
rx="20" />
|
||||
<path
|
||||
style="fill:#0f79ff;fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 131.20434,171.79794 135.91609,148.5 106.87638,152.68054 Z"
|
||||
id="path3481" />
|
||||
</g>
|
||||
<g
|
||||
id="g3996"
|
||||
transform="translate(-0.92826843,1.4314423)">
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.155172;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
|
||||
id="path3904"
|
||||
cx="71.401253"
|
||||
cy="114.16953"
|
||||
r="9.7859592" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.155172;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
|
||||
id="path3904-8"
|
||||
cx="107.80464"
|
||||
cy="114.16953"
|
||||
r="9.7859592" />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.155172;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
|
||||
id="path3904-85"
|
||||
cx="144.20804"
|
||||
cy="114.16953"
|
||||
r="9.7859592" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.0 KiB |
142
ui/AnyRemark-design/styles.css
Normal file
142
ui/AnyRemark-design/styles.css
Normal file
@ -0,0 +1,142 @@
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #f9f9f9;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
header {
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #ddd;
|
||||
padding: 10px 20px;
|
||||
}
|
||||
|
||||
nav a {
|
||||
margin-right: 20px;
|
||||
color: #007bff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
main {
|
||||
max-width: 800px;
|
||||
margin: 20px auto;
|
||||
padding: 20px;
|
||||
background-color: #fff;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
article h1 {
|
||||
color: #28a745;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.video-container {
|
||||
position: relative;
|
||||
padding-top: 56.25%; /* 16:9 Aspect Ratio */
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.video-container img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.play-button {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.play-button::before {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 20px solid white;
|
||||
border-top: 12px solid transparent;
|
||||
border-bottom: 12px solid transparent;
|
||||
}
|
||||
|
||||
.comments {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.comments h2 {
|
||||
font-size: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.comment {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.comment .avatar {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.comment-content {
|
||||
background-color: #f1f1f1;
|
||||
padding: 10px 15px;
|
||||
border-radius: 8px;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.comment-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.comment-form textarea {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 8px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.comment-form button {
|
||||
align-self: flex-end;
|
||||
padding: 10px 20px;
|
||||
background-color: #28a745;
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.comment-form button:hover {
|
||||
background-color: #218838;
|
||||
}
|
||||
|
||||
footer {
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
background-color: #fff;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
Reference in New Issue
Block a user