-
-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
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,13 @@ | ||
import { IpMode } from "@/components/ip-mode"; | ||
|
||
export default function Network() { | ||
return ( | ||
<main className="flex min-h-screen flex-col items-center justify-between pt-10 max-w-screen-xl"> | ||
<div className="p-10"> | ||
<div className="flex flex-col max-w-screen-lg"> | ||
<IpMode /> | ||
</div> | ||
</div> | ||
</main> | ||
); | ||
} |
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,30 @@ | ||
import { SettingsIcon } from "@/components/icons"; | ||
|
||
export const IpMode = () => { | ||
return ( | ||
<div className="stats shadow bg-primary-content stats-vertical lg:stats-horizontal"> | ||
<div className="stat"> | ||
<div className="stat-figure text-secondary mt-3"> | ||
<SettingsIcon /> | ||
</div> | ||
<div className="stat-title">IP Mode</div> | ||
<div className="stat-value text-primary">IPV4</div> | ||
<div className="stat-desc">The current IP mode</div> | ||
<div className="flex flex-row items-center gap-2 stat-actions"> | ||
<span className="label-text text-slate-500 ">Enable IPv6</span> | ||
<input type="checkbox" className="toggle toggle-primary" checked={false} /> | ||
</div> | ||
</div> | ||
|
||
<div className="stat gap-2"> | ||
<div className="stat-title">URLs</div> | ||
<div className="flex flex-col gap-2"> | ||
<textarea className="textarea textarea-primary w-80" placeholder="Bio"></textarea> | ||
<div className="flex justify-end"> | ||
<button className="flex justify-end btn btn-sm btn-primary">Save</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} |
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