質問編集履歴
1
"index.php"のコードから出力されたhtmlのソースコードに差し替え
title
CHANGED
File without changes
|
body
CHANGED
@@ -14,14 +14,52 @@
|
|
14
14
|
使用言語 : HTML/CSS (Bootstrap5) , PHP*
|
15
15
|
*現在PHPで実装している部分はヘッダー、フッダーの共通部分のパーツ化のみなので、本件には関連していないと認識しております。
|
16
16
|
|
17
|
-
■
|
17
|
+
■出力されたhtmlのソースコード
|
18
18
|
```
|
19
|
-
<?php
|
20
|
-
require("../app/functions.php");
|
21
19
|
|
20
|
+
<!doctype html>
|
21
|
+
<html lang="ja">
|
22
|
+
<head>
|
23
|
+
<meta charset="utf-8">
|
22
|
-
|
24
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
23
|
-
?>
|
24
25
|
|
26
|
+
<!-- bootstrap -->
|
27
|
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
|
28
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.0/font/bootstrap-icons.css">
|
29
|
+
|
30
|
+
<!-- font -->
|
31
|
+
<link href="https://fonts.googleapis.com/css?family=Teko" rel="stylesheet">
|
32
|
+
|
33
|
+
<title>Portfolio Site</title>
|
34
|
+
<link rel="stylesheet" href="css/styles.css">
|
35
|
+
</head>
|
36
|
+
<body>
|
37
|
+
<header>
|
38
|
+
<nav class="navbar navbar-expand-lg navbar-light bg-secondary text-white-50 fw-bold">
|
39
|
+
<div class="container-fluid">
|
40
|
+
<a class="navbar-brand" href="#">Portfolio Site</a>
|
41
|
+
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
42
|
+
<span class="navbar-toggler-icon"></span>
|
43
|
+
</button>
|
44
|
+
<div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
|
45
|
+
<ul class="navbar-nav navbar-right">
|
46
|
+
<li class="nav-item">
|
47
|
+
<a class="nav-link" href="#">Home</a>
|
48
|
+
</li>
|
49
|
+
<li class="nav-item">
|
50
|
+
<a class="nav-link" href="#">Profile</a>
|
51
|
+
</li>
|
52
|
+
<li class="nav-item">
|
53
|
+
<a class="nav-link" href="#">Portfolio</a>
|
54
|
+
</li>
|
55
|
+
<li class="nav-item">
|
56
|
+
<a class="nav-link" href="#">Skill</a>
|
57
|
+
</li>
|
58
|
+
</ul>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
</nav>
|
62
|
+
</header>
|
25
63
|
<section class="toc">
|
26
64
|
<div class="iconpos border-bottom border-dark border-2">
|
27
65
|
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">
|
@@ -33,11 +71,8 @@
|
|
33
71
|
|
34
72
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
|
35
73
|
|
74
|
+
</body>
|
36
|
-
<
|
75
|
+
</html>
|
37
|
-
|
38
|
-
include("../app/_parts/_footer.php");
|
39
|
-
|
40
|
-
?>
|
41
76
|
```
|
42
77
|
*svgタグについてはBootstrap5の下記ページにて引用しております。
|
43
78
|
https://icons.getbootstrap.jp/icons/person-fill/
|