restructure correctly, add new features, start working on articles
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// Version Info.swift
|
||||
// IgniteSamples
|
||||
// https://www.github.com/twostraws/Ignite
|
||||
// See LICENSE for license information.
|
||||
//
|
||||
|
||||
import Ignite
|
||||
|
||||
/// Displays the version of Ignite the site was built with and the publishing date.
|
||||
struct VersionInfo: HTML {
|
||||
private let dateFormat = Date.FormatStyle().month(.defaultDigits).day(.defaultDigits).year(.twoDigits)
|
||||
var body: some HTML {
|
||||
Text("\(Ignite.version) · Updated \(Date.now.formatted(dateFormat))")
|
||||
.horizontalAlignment(.center)
|
||||
.foregroundStyle(.gray)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user