We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c8802e commit 076863bCopy full SHA for 076863b
composite-view/web/header.jsp
@@ -39,11 +39,30 @@
39
h1 { text-align: center;}
40
h2 { text-align: center;}
41
h3 { text-align: center;}
42
+ nav {
43
+ text-align: center;
44
+ margin-bottom: 20px;
45
+ }
46
+ .home-link {
47
+ padding: 10px 20px;
48
+ background-color: #007bff;
49
+ color: white;
50
+ text-decoration: none;
51
+ border-radius: 5px;
52
53
+ .home-link:hover {
54
+ background-color: #0056b3;
55
56
</style>
57
</head>
58
<body>
59
+ <nav>
60
+ <!-- Add a Home button that links back to the homepage -->
61
+ <a href="/" class="home-link">Home</a>
62
+ </nav>
63
+
64
<% String todayDateStr = (new Date().toString()); %>
65
<h1>Today's Personalized Frontpage</h1>
- <h2><%=todayDateStr%></h2>
66
+ <h2><%= todayDateStr %></h2>
67
</body>
68
</html>
0 commit comments