forked from CMU-17313Q/cmu-17313q-f24-nodebb-f24-NodeBB
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from CMU-17313Q/test-changes-on-duplicate-theme
Made changes to a duplicated theme
- Loading branch information
Showing
8 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
Submodule nodebb-theme-testing1
added at
d493d6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
get: | ||
summary: "Retrieve resources button data" | ||
description: "Endpoint to get resources button information" | ||
responses: | ||
'200': | ||
description: "Successful response" | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
example: "Resources button data retrieved successfully" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
'use strict'; | ||
|
||
const controllers = {}; | ||
|
||
controllers.getResourcesButtonPage = async (req, res) => { | ||
// Return a JSON response to match the API schema definition | ||
res.status(200).json({ | ||
message: 'Resources button data retrieved successfully', | ||
}); | ||
}; | ||
|
||
module.exports = controllers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>{{title}}</title> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>Resources</h1> | ||
<p>Welcome to the resources page! Here you can find various links and materials.</p> | ||
|
||
<h2>Useful Links</h2> | ||
<ul> | ||
<li><a href="https://example.com" target="_blank">Example Link 1</a></li> | ||
<li><a href="https://example.com" target="_blank">Example Link 2</a></li> | ||
<li><a href="https://example.com" target="_blank">Example Link 3</a></li> | ||
</ul> | ||
<!-- Add more sections as needed --> | ||
</div> | ||
</body> | ||
</html> |